Skip to main content
Glama

gisdb_cancel_subscription

DestructiveIdempotent

Cancel the selected subscription's renewal at the end of its paid period, only when the user asks. Returns confirmed renewal and access status. Pausing updates does not cancel renewal.

Input Schema

NameRequiredDescriptionDefault
order_idYesExact order_id returned by checkout or an earlier order response for this connected account.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the bar is lower, yet the description still adds real context: cancellation is deferred to period end rather than immediate, and it discloses what comes back ('confirmed renewal and access status'). It does not say whether the cancellation can be undone before period end, which is the main remaining behavioral gap for a destructive operation.

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?

Three short sentences with zero waste; the core action and its timing are front-loaded, and the pausing clarification is placed after the main statement where it belongs.

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 annotations covering the safety profile, an output schema covering return values, and a single fully-documented parameter, the description is nearly complete. The only missing piece an agent might need is recoverability/reactivation behavior for a destructive, deferred cancellation.

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% and the single order_id parameter is thoroughly documented in the schema, so the baseline of 3 applies. The description only alludes to 'the selected subscription' and adds no format or sourcing 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?

States a specific verb + resource ('cancel the selected subscription's renewal') and pins down the timing semantics ('at the end of its paid period'), which is exactly the distinction an agent needs. It also rules out a nearby confusion ('pausing updates does not cancel renewal'), so it is separable from the account/billing siblings.

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 an explicit eligibility gate ('only when the user asks'), which is stronger than most mutation tools offer, and contrasts cancellation with pausing. It does not name a sibling alternative (e.g. open_billing_portal) for billing-management cases, so it stops short of full when-not routing.

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.