Cancel an invest or withdraw request that has not been processed yet.
AI agents use cancel_invest_or_withdraw to commit financial operations through Composer Trade — usually the final step of a payment, billing, or trading workflow. A call moves real money.
This tool directly manipulates financial transactions by canceling pending invest/withdraw requests. While cancellation is reversible (unlike completed transactions), it still constitutes a financial operation that moves money or changes financial obligations. The tool operates within a trading/investing platform context where such actions have direct monetary consequences.
From the tool's definition Tool name 'cancel_invest_or_withdraw' and description indicate it modifies pending financial transactions (invest or withdraw requests). The server description explicitly states it enables trading and portfolio management on Composer.
Attacks that exploit this kind of access
Cancel an invest or withdraw request that has not been processed yet. It is categorised as a Financial tool in the Composer Trade MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
Register the Composer Trade MCP server in PolicyLayer and add a rule for cancel_invest_or_withdraw: 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 Composer Trade. Nothing to install.
cancel_invest_or_withdraw is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the cancel_invest_or_withdraw 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 cancel_invest_or_withdraw. 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.
cancel_invest_or_withdraw is provided by the Composer Trade MCP server (tanwithme/composer-trade-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 →