Run anomaly detection on recent Razorpay data. Checks for: failed payments >₹5,000, unmatched settlements, and refund volume spikes. Sends WhatsApp alerts to the finance team for high-severity anomalies. Args: days: Number of days to look back for payment data (default: 1). Returns: List of detec...
AI agents invoke run_anomaly_detection to trigger actions in Razorpay Recon. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.
While the primary function (anomaly detection on payment data) is analytical and read-focused, the tool's documented behavior includes triggering WhatsApp notifications to external parties (finance team). This outbound communication triggered by the tool's execution moves it beyond Read into Execute category.
From the tool's definition The tool 'run_anomaly_detection' executes a data analysis operation with external side effects: it 'Sends WhatsApp alerts to the finance team for high-severity anomalies.' This is a triggered external action dependent on the tool's execution and the data…
Attacks that exploit this kind of access
Run anomaly detection on recent Razorpay data. Checks for: failed payments >₹5,000, unmatched settlements, and refund volume spikes. Sends WhatsApp alerts to the finance team for high-severity anomalies. Args: days: Number of days to look back for payment data (default: 1). Returns: List of detected anomalies with type, severity, and details. It is categorised as a Execute tool in the Razorpay Recon MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the Razorpay Recon MCP server in PolicyLayer and add a rule for run_anomaly_detection: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Razorpay Recon. Nothing to install.
run_anomaly_detection is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the run_anomaly_detection rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for run_anomaly_detection. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
run_anomaly_detection is provided by the Razorpay Recon MCP server (qalalabs/razorpay-recon-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →