Skip to main content
Glama

Cancel subscription

agenta_subscriptions_cancel
Destructive

Cancel a subscription (at period end by default). Cancels one subscription. By default it stays active until the end of the paid period; set immediately to end it now. Ask the merchant before calling this.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe subscription id
nowNoCancel immediately instead of at the end of the current period
businessNoAct for this business you manage (its id). Omit to act as yourself.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the safety profile is covered structurally. The description adds substantive context beyond that: cancellation is deferred to period end by default, the subscription stays active until the paid period ends, and merchant consent is expected. It does not say whether the cancellation is reversible or what happens to outstanding credits, which keeps it out of 5 territory.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The default behavior is front-loaded and the sentences are short and mostly non-redundant. 'Cancel a subscription' and 'Cancels one subscription' are slight restatements, but nothing is padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, single-parameter mutation with no output schema, the description covers default timing, the immediate override, and the consent expectation. It omits post-cancellation effects (reinstatement, refunds), so an agent has enough to call it correctly but not a complete picture of consequences.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents id, now and business in full. The description reinforces the semantics of 'now' ('set immediately to end it now') but adds nothing about the `business` acting-on-behalf parameter. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Cancel a subscription') and clarifies the scope ('Cancels one subscription'), which an agent can distinguish from list/change_plan siblings. It does not explicitly name or route away from the other subscription tools, but the purpose itself is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a concrete precondition ('Ask the merchant before calling this') and explains the default vs. immediate choice, which is real usage guidance. It stops short of naming alternatives such as changing a plan instead of cancelling, so it does not reach a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources