Skip to main content
Glama

Change plan

upgrade_plan
Destructive

Moves the connected user to Pro or Plus and charges the shared account wallet. Credit and cash pay the price. A saved card is charged only for the amount the wallet does not cover. plan_tier is pro or business; business is the Plus plan. Every client charges nothing until confirm is true. A Pro or Plus preview includes this wording, and confirming records it for a consumer account: Start now. I understand I lose my right to cancel once the service is fully provided, and I pay for what I use if I cancel earlier. idempotency_key repeats the same result instead of charging again.

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_tier": "<plan_tier>"
    },
    "name": "upgrade_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoOmitted returns a preview on every client. True charges.
plan_tierYesbusiness is the Plus plan.
idempotency_keyNoRepeats the same result instead of charging again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / plan_tier / description
      Added value: +"business is the Plus plan."
  2. Changed1 schema field changed
    • changedInput schema / properties / confirm / description
      Previous value: -"On Claude or ChatGPT, omitted returns a preview. True charges."New value: +"Omitted returns a preview on every client. True charges."
  3. Changed2 schema fields changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "On Claude or ChatGPT, omitted returns a preview. True charges.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Repeats the same result instead of charging again.",
      +  "type": "string"
      +}
  4. Added
  5. Removed
  6. First observed

TDQS

A4/5.0
Behavior5/5

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

Well beyond the annotations, the description explains the funding order, that a saved card covers only the wallet shortfall, that nothing charges before confirm, that the consent wording is recorded for consumer accounts, and what idempotency_key does. This is the kind of consequence detail an agent needs before performing a destructive, money-moving action. The only nuance is that idempotentHint=false reflects repeat calls without a key, which the description arguably complements rather than contradicts.

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

Conciseness3/5

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

The purpose and charging rules are front-loaded, which is good, but sentences duplicate the schema (plan_tier mapping, confirm preview) and the verbatim consent wording consumes a large share of the text. The legal quote is arguably necessary, yet the surrounding duplication makes the block longer than it needs to be.

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?

For a destructive, open-world billing mutation with no output schema, the description covers charging order, preview safety, consent recording, and retry semantics. It does not address failure modes such as insufficient wallet plus card funds or how an existing subscription is prorated or replaced. Those gaps are real but secondary for correct invocation.

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 confirm's preview behavior, the business/Plus mapping, and idempotency_key are already documented in the schema. The description restates the plan_tier mapping and the confirm behavior almost verbatim. Baseline 3 applies because the schema, not the prose, carries the parameter meaning.

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 opening sentence names a specific verb and resource: moving the connected user to Pro or Plus and charging the shared account wallet. It is unambiguous what the tool does and what it costs. It does not distinguish itself from nearby siblings such as create_business_account or request_membership_change, so it stops short of a 5.

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 key branch is spelled out: callers get a preview until confirm is true, and only then is anything charged. That tells an agent exactly how to stage a dry run before committing. It never names an alternative tool or an explicit when-not-to-use condition, so it is clear context rather than full routing guidance.

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.