This tool calculates the factorial of a number
AI agents call factorial as a supporting operation in Zerodha Trading Bot workflows.
Factorial is a pure mathematical function that takes a number and returns its factorial. It performs no I/O, no data reads or writes, no external calls, and has no side effects. Despite being on a trading bot server, this tool itself poses no risk.
From the tool's definition 'calculates the factorial of a number' — pure mathematical computation with no side effects, no data access, no execution of external operations
Attacks that exploit this kind of access
This tool calculates the factorial of a number. It is categorised as a Other tool in the Zerodha Trading Bot MCP Server, which means it performs auxiliary operations.
Register the Zerodha Trading Bot MCP server in PolicyLayer and add a rule for factorial: 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 Zerodha Trading Bot. Nothing to install.
factorial is a Other tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the factorial 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 factorial. 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.
factorial is provided by the Zerodha Trading Bot MCP server (yogendhra9/zerodhamcp). 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 →