Skip to main content
Glama

Cancel subscription

cancel_subscription
Destructive

Cancels the customer's IMPOSSIBREW subscription. Before cancelling, the AI Brewer may offer to keep it with a discount, a pause or a skip; only the option the customer accepts is applied. The AI Brewer shows the exact change and makes it only after the customer replies yes. The message goes to the AI Brewer, the same assistant as on impossibrew.co.uk, which checks identity (email plus delivery postcode, or an order number starting EC plus either). message is the customer's own words. The first call has no conversationId; each result returns the conversationId that continues the same conversation across these order tools. The reply is the AI Brewer's complete answer.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
messageYes
conversationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and non-idempotent, and the description adds substantial context beyond them: a retention offer step, an explicit confirmation gate ('makes it only after the customer replies yes'), an identity verification requirement (email plus postcode, or an EC order number), and what the reply contains. That is exactly the behavioral detail an agent needs before invoking a destructive tool.

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, then the retention/confirmation flow, then identity, then conversation mechanics and return value. Every sentence carries information, though the identity and conversationId sentences are dense and slightly interleaved rather than grouped.

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, multi-turn, stateful tool with no output schema, the description covers the confirmation protocol, identity gate, conversation continuity, and what the returned reply represents. Nothing essential to calling it correctly is missing.

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?

Schema coverage is 0%, so the description carries the full burden and does most of it: message is defined as the customer's own words, and conversationId is explained as absent on the first call and returned by each result to continue the conversation. It does not explicitly say the identity details must be supplied within message, which is the one actionable gap.

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 (cancels the customer's IMPOSSIBREW subscription) and implicitly separates itself from pause_subscription and skip_next_delivery by naming discount/pause/skip as retention offers made before cancellation. An agent can tell what this tool does and what it is not without opening 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 Guidelines4/5

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

Gives clear triggering context (customer wants to cancel) and describes the required pre-cancellation flow, including that only an option the customer explicitly accepts is applied. It stops short of naming the sibling tools (pause_subscription, skip_next_delivery) as the destinations for those alternatives, so the routing is implied rather than explicit.

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