Skip to main content
Glama

preview_plan_change

Read-only

Preview what would happen if change_plan were called with this plan: the immediate-charge amount (cents), the next-invoice amount, the effective date, and the kind (applied for in-cycle upgrade, scheduled for at-period-end downgrade / cancel). Owner-only. Requires the manage:billing scope.

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": {
      "plan": "<plan>"
    },
    "name": "preview_plan_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYesTarget plan to preview a switch to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: although readOnlyHint=true and destructiveHint=false already signal a safe read, the description adds the authorization model (owner-only, `manage:billing` scope) and, importantly, what the preview returns — immediate charge in cents, next invoice amount, effective date, and the `applied` vs `scheduled` kind semantics. That return-shape disclosure is genuinely useful given there is no output schema.

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?

One dense sentence covering purpose and return values, followed by two terse constraint clauses. The alternative (`change_plan`) is front-loaded and every clause carries information; no filler.

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 one-parameter read-only preview, the definition supplies purpose, authorization requirements, and the shape of the result in lieu of an output schema. Nothing an agent needs in order to call it correctly or interpret the response 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 coverage is 100% and the single parameter is a fully enumerated `plan` field that the schema already documents as the target plan. The description only restates it as 'this plan' and adds no syntax, defaults, or edge-case meaning. Baseline 3 applies when the schema carries the parameter burden.

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 (preview a plan change) and immediately ties it to the sibling `change_plan`, making the dry-run relationship unmistakable. An agent can distinguish this from `change_plan` and from other previews like `preview_line_draft` without opening any 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?

The core when-to-use case is explicit: preview the effects of a `change_plan` call with a given plan, which strongly implies calling it before the mutation. Prerequisites (owner-only, `manage:billing` scope) are stated. It lacks an explicit 'do not use for / use X instead' clause, so it falls short of a 5.

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