Skip to main content
Glama

cancel_subscription

Destructive

Schedule the project owner's subscription for cancellation at the end of the current billing period. Returns {kind: 'scheduled', newPlan: 'free', effectiveAt}. Add-ons keep renewing while the plan is active; after it ends they stop renewing and each already-paid add-on cycle stays active until its own end date (use unsubscribe_addon to stop one sooner). Owner-only. Requires the manage:billing scope.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cancel_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds genuinely non-obvious behavior: cancellation is scheduled rather than immediate, the exact return payload, and that add-ons keep renewing until the plan ends and then stop with existing cycles running to their own end dates. The authorization scope requirement is also disclosed. What it does not cover is reversibility — whether a scheduled cancellation can be undone before the period ends.

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?

Front-loaded with the action and timing in the first sentence, then return shape, then the add-on caveat that drives users to the right sibling. The add-on sentence is dense but each clause carries distinct behavior; no filler.

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 zero-param destructive mutation with no output schema, the description covers timing, return payload, add-on side effects, prerequisites, and the nearest alternative. The only meaningful omission is whether the scheduled cancellation is reversible, which matters for a destructiveHint=true tool.

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

Parameters4/5

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

The tool takes zero parameters, so the schema carries all there is; the description correctly adds no parameter noise and instead surfaces the ambient requirements (owner role, `manage:billing` scope) that behave like implicit inputs. Baseline for a zero-param tool is met.

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?

States a specific verb and resource ('Schedule the project owner's subscription for cancellation') plus the exact timing scope ('at the end of the current billing period'). It also distinguishes itself from unsubscribe_addon, so an agent can tell the two apart without opening either schema.

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?

Gives clear preconditions (owner-only, requires the `manage:billing` scope) and explicitly routes add-on-level cancellation to unsubscribe_addon. It does not address when to prefer change_plan or downgrade_addon over full cancellation, leaving one sibling relationship to inference.

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