Skip to main content
Glama

Start or change the plan

change_plan
Destructive

Start a plan, or switch the plan or billing interval. With no plan yet, returns a Stripe Checkout url the user opens in their browser to enter a card, with a 7-day free trial the first time; nothing is charged until it ends. Otherwise upgrades apply now and charge the prorated difference, downgrades wait for the end of the paid period, and it returns the billing summary. Every plan has every feature; plans differ in AI replies a month, with overage past them, and in stores.

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": {
      "planSlug": "<planSlug>"
    },
    "name": "change_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
intervalNoMonthly or yearly; monthly for a new plan, else unchanged when omitted.
planSlugYesThe plan: `starter`, `pro` or `scale`.
returnToNoOnly when starting a plan: the dashboard page Checkout returns to, such as `setup_zendesk` to continue setting up Zendesk.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / returnTo / enum
      Previous value: -[
      -  "home",
      -  "billing",
      -  "setup_gorgias",
      -  "setup_zendesk",
      -  "setup_front",
      -  "integration_front",
      -  "integration_zendesk",
      -  "integration_gmail",
      -  "integration_gorgias",
      -  "integration_shopify",
      -  "integration_woocommerce",
      -  "integration_arlo",
      -  "integration_salesforce",
      -  "integration_whatsapp",
      -  "integration_facebook",
      -  "integration_instagram",
      -  "integration_slack",
      -  "integration_posthog"
      -]New value: +[
      +  "home",
      +  "billing",
      +  "setup_gorgias",
      +  "setup_zendesk",
      +  "setup_front",
      +  "integration_front",
      +  "integration_zendesk",
      +  "integration_gmail",
      +  "integration_gorgias",
      +  "integration_shopify",
      +  "integration_woocommerce",
      +  "integration_arlo",
      +  "integration_salesforce",
      +  "integration_whatsapp",
      +  "integration_facebook",
      +  "integration_instagram",
      +  "integration_slack",
      +  "integration_posthog",
      +  "integration_linear"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / returnTo / enum
      Previous value: -[
      -  "home",
      -  "billing",
      -  "setup_gorgias",
      -  "setup_zendesk",
      -  "setup_front",
      -  "integration_front",
      -  "integration_zendesk",
      -  "integration_gmail",
      -  "integration_gorgias",
      -  "integration_shopify",
      -  "integration_woocommerce",
      -  "integration_arlo",
      -  "integration_salesforce",
      -  "integration_whatsapp",
      -  "integration_facebook",
      -  "integration_instagram",
      -  "integration_slack"
      -]New value: +[
      +  "home",
      +  "billing",
      +  "setup_gorgias",
      +  "setup_zendesk",
      +  "setup_front",
      +  "integration_front",
      +  "integration_zendesk",
      +  "integration_gmail",
      +  "integration_gorgias",
      +  "integration_shopify",
      +  "integration_woocommerce",
      +  "integration_arlo",
      +  "integration_salesforce",
      +  "integration_whatsapp",
      +  "integration_facebook",
      +  "integration_instagram",
      +  "integration_slack",
      +  "integration_posthog"
      +]
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare destructive=true and openWorldHint=true; the description goes well beyond them by explaining the actual money consequences: nothing is charged until the 7-day trial ends, upgrades charge the prorated difference immediately, and downgrades take effect at the end of the paid period. It also discloses that a browser-opened Stripe Checkout URL is returned in the new-plan case, which is exactly the behavioral context an agent needs before invoking a destructive billing action.

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?

The definition is front-loaded with the core action and branch structure, and each sentence adds distinct information (trial/checkout, upgrade vs downgrade timing, plan differentiation). The final sentence is compressed to the point of being slightly awkward ('with overage past them'), but it still earns its place by informing the plan choice.

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, three-parameter billing tool with no output schema, the description covers everything material: both return shapes (Checkout URL vs billing summary), charge timing in each case, and what differentiates the enum options. An agent can call this correctly and set expectations for the user without further information.

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 all three parameters are enum-constrained with their own descriptions, so the schema already carries the parameter semantics. The description adds plan-selection context (plans differ in AI replies/overage and stores) which helps choose `planSlug`, but says nothing extra about `interval` or `returnTo` beyond what the schema documents, so the baseline 3 applies.

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 ('Start a plan, or switch the plan or billing interval') and immediately clarifies the two branches of behavior. No sibling in the catalog handles billing, so there is nothing to confuse it with, and the definition makes that unambiguous on its own.

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?

It clearly delineates the two usage contexts: 'With no plan yet' yields a Checkout URL, otherwise it performs an upgrade or downgrade, and it also states when `returnTo` applies ('Only when starting a plan'). It does not mention any exclusions or prerequisites such as who is authorized to change billing, which keeps it short of a full 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.