计算投资收益率
AI agents call calculate_returns to retrieve information from Financial Report Generator MCP Server without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
The tool performs a calculation to derive return metrics from financial data. This is fundamentally a read operation—it processes and analyzes data to produce computed results, similar to other statistical tools on the server (calculate_sharpe_ratio, calculate_volatility). No data is created, modified, deleted, or transacted.
From the tool's definition Tool name 'calculate_returns' and description '计算投资收益率' (calculate investment returns/ROI) indicate a computational query that derives financial metrics from existing data without modifying, executing code, transferring funds, or destructively altering…
Attacks that exploit this kind of access
计算投资收益率. It is categorised as a Read tool in the Financial Report Generator MCP Server MCP Server, which means it retrieves data without modifying state.
Register the Financial Report Generator MCP Server MCP server in PolicyLayer and add a rule for calculate_returns: 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 Financial Report Generator MCP Server. Nothing to install.
calculate_returns is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the calculate_returns 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 calculate_returns. 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.
calculate_returns is provided by the Financial Report Generator MCP Server MCP server (kennanyang/financial-report). 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 →