MarkLogic tools for Polar monitors