Skip to main content
Glama

Cancel a subscription

cancel_subscription
Destructive

Cancel a customer's subscription permanently and end their access. Requires explicit confirmation (confirm: true) to proceed.

Instructions

Cancel a customer's subscription permanently. This ends their access and cannot be undone from here. The only way back is for them to purchase again, so pause_subscription is the right tool whenever the customer might return. Refuses to run without confirm: true. Set that only when the person you are working for has actually asked for this cancellation, not to clear the refusal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoWhich configured ThriveCart account to use, by name (for example 'navid-media'). Defaults to the first configured account. Call list_accounts to see them. Figures from one cart never include another.
confirmNoMust be true for this to run. This moves money or ends a customer's access and cannot be undone, so it is refused without an explicit confirmation.
order_idYesThe order or subscription id, from get_customer or get_transactions.
Install Server

TDQS

A4.7/5.0
Behavior5/5

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

Even though annotations already signal destructiveHint=true and idempotentHint=false, the description adds meaningful behavioral context: cancellation ends access, cannot be undone from here, and the tool refuses to run without confirm:true. It also warns against setting confirm merely to bypass a refusal, which is important ethical and operational guidance.

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

Conciseness5/5

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

The description is compact and front-loaded with the core purpose and irreversibility, then moves to the key alternative and confirmation constraint. Every sentence earns its place with no filler or redundant elaboration.

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

Completeness5/5

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

For a destructive mutation tool with no output schema, the description covers everything an agent needs to decide and invoke correctly: what it does, how it differs from the sibling, the irreversibility, and the confirmation gate. Required parameters are documented in the schema, so nothing essential is missing.

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 fully documents account, confirm, and order_id. The description reinforces the confirm requirement but does not add new parameter-level meaning beyond what the schema provides, so the baseline score of 3 is appropriate.

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 description states a specific action: permanently cancel a customer's subscription. It clearly distinguishes this from pause_subscription by emphasizing irreversibility and permanent loss of access. An agent can immediately understand what the tool does and how it differs from nearby siblings.

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

Usage Guidelines5/5

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

It explicitly names pause_subscription as the right alternative when the customer might return, giving a concrete decision rule. It also clarifies the confirm:true requirement and instructs when that flag should be set, which is actionable guidance for correct invocation.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/navidmoazzez/thrivecart-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server