AI agents use cancel_subscription to commit financial operations through Tru — usually the final step of a payment, billing, or trading workflow. A call moves real money.
| Parameter | Type | Required | Description |
|---|---|---|---|
at_period_end | boolean | — | If true, the subscription stays active until the end of the current billing period (default: false, cancels immediately) |
subscription_id | string | Yes | The subscription ID to cancel |
Parameters from the server's own tool schema.
Cancelling a subscription is a financial action that terminates a recurring payment commitment. It can have immediate revenue/service impact and may be irreversible (especially with 'cancels immediately' default), making it both Financial and potentially Destructive in nature. Financial takes precedence as the highest severity category.
From the tool's definition 'Cancel a recurring subscription' and 'cancels immediately' — directly terminates a financial obligation/recurring billing arrangement
Attacks that exploit this kind of access
Cancel a recurring subscription. By default cancels immediately. Set at_period_end to true to let it run until the current billing period ends. It is categorised as a Financial tool in the Tru MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
cancel_subscription accepts 2 parameters: at_period_end, subscription_id. Required: subscription_id. The full parameter table on this page comes from the server's own tool schema.
Register the Tru MCP server in PolicyLayer and add a rule for cancel_subscription: 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 Tru. Nothing to install.
cancel_subscription 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_subscription 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_subscription. 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_subscription is provided by the Tru MCP server (tru-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 →