Skip to main content
Glama

Manage subscription

manage_subscription
Destructive

cancel (at period end), refund (last payment, revokes access) or open the billing portal. cancel and refund need a confirmToken.

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": {
      "action": "<action>"
    },
    "name": "manage_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesAction
confirmTokenNoFrom the CONFIRMATION_REQUIRED reply.
organizationIdNoApproved workspace id only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds genuinely non-obvious behavior: cancellation is deferred to period end while refund takes effect immediately and revokes access, and two of the actions require a confirmToken. The remaining gap is that it doesn't say what a successful call returns or whether a refund can be undone.

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?

Two short sentences, zero filler, with the action list and the confirmToken prerequisite front-loaded. Every clause carries information an agent needs before invoking.

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

Completeness3/5

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

For a destructive multi-action mutation with annotations present and no output schema, the description covers the risky paths well but omits the 'resume' action entirely and gives no indication of the success response or the CONFIRMATION_REQUIRED flow. Adequate but with clear gaps given the tool's complexity.

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%, so the baseline is 3; the schema already documents confirmToken's origin and the approved-workspace constraint on organizationId. The description does add conditional semantics by stating that only cancel and refund require confirmToken, which is not encoded in the schema, but it does not explain why organizationId is needed or what happens if it is omitted.

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

Purpose4/5

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

The description names three concrete actions (cancel at period end, refund, open billing portal) with their effects, so an agent can tell this is a subscription-mutation tool rather than a status reader. However, the enum includes 'resume' and the description never mentions it, and no sibling (e.g. billing_status) is named for differentiation.

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?

Usage is implied through effect statements — cancel is deferred to period end while refund revokes access immediately — which helps choose between them. There is no explicit guidance on when to use this tool versus billing_status or get_usage, and the 'resume' and 'portal' paths are left entirely uncontextualized.

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.