Skip to main content
Glama

Cancel plan

cancel_plan

Cancels the active plan: nothing else is charged, and what you paid for stays active until the end of its period. Send { "accept_data_removal": true }. The monthly card subscription stops. A purchase made less than 7 days ago and a paid period that has not started yet, such as a renewal, go back the same way they were paid (card or Pix) and end now. The rest of the paid period stays active until keeps_until; then what the plan added ends (account.cancel.losses in GET /api/plans says what). A purchase paid with USDC or with credit from another purchase stays active until its end; ask for its refund by e-mail, as the cancellation page says.

Input Schema

NameRequiredDescriptionDefault
accept_data_removalYesMust be `true`: you accept losing what the plan added.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

The description carries substantial disclosure beyond the annotations: nothing further is charged, the paid period remains active until keeps_until, and it points to `account.cancel.losses` in `GET /api/plans` to enumerate what is lost. It also distinguishes refund timelines by payment method, which the annotations do not cover. The one gap is that it never reconciles this irreversibility with `destructiveHint: false`, leaving the agent to reconcile a plan-ending, data-removing operation flagged as non-destructive.

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

Conciseness3/5

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

The core behavior is front-loaded in sentence one, which is good, but the remainder is a dense run-on mixing refund rules, timing, and payment-method exceptions without structure. The explicit JSON snippet in prose is partly redundant with the schema and costs space.

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?

With no output schema, the description correctly tells the agent where to inspect losses (`account.cancel.losses` via `GET /api/plans`) and what `keeps_until` signifies, which is enough to call the tool defensibly. Minor gap: it does not state whether the call is reversible or how to confirm success.

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 coverage is 100% and the schema already states the parameter must be `true` and what it means. The description repeats the literal body `{ "accept_data_removal": true }` and reinforces that acceptance means losing what the plan added, but adds no syntax or edge-case detail beyond the schema.

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

Purpose5/5

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

The opening sentence states a specific verb and resource ("Cancels the active plan") and immediately scopes the consequences. It is clearly distinguishable from siblings like list_plans, buy_plan, and reactivate_watches without needing to open the schema.

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

Usage Guidelines3/5

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

The description gives rich conditional context (refund applies if purchased <7 days ago, or if the paid period hasn't started; USDC/credit purchases must be refunded by e-mail), which implies when the tool is appropriate. However it never explicitly routes the agent away from alternatives (e.g. buy_plan, reactivate_watches) or states a "when not to use" condition, so usage is only implied.

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.