Skip to main content
Glama

Start plan upgrade

start_upgrade

Moves a Free site to a paid plan: a Stripe checkout URL for the OWNER; the plan changes once Stripe confirms. pro: own domain, more pages, designs. interval: year (default) or month. Refused: an Enterprise site, or one already on Pro, paying or in its trial (use manage_billing). First upgrade: the free trial when one is offered (its days: get_started), one per account and site (a parallel second is charged now); trial.words: its end; noTrial: why not; terms: renewal, tax and cancelling, for the owner to read first. price: cents charged before tax (agency: 11th Pro site on); a changed price is refused 409 pricingChanged, nothing charged.

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

Input Schema

NameRequiredDescriptionDefault
planYesThe plan to move to
siteIdYesSite id (from list_sites)
intervalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only mark this as non-readonly, non-idempotent and open-world; the description adds what the annotations cannot: completion is asynchronous and depends on Stripe, nothing is charged on a refusal, a changed price fails with 409 pricingChanged, and a duplicate parallel call is charged immediately. It also discloses owner-only auth and the response fields the owner should read.

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?

Every fragment carries information and the core purpose is front-loaded, but the telegraphic notation ('trial.words: its end; noTrial: why not') reads as unstructured shorthand and blurs the line between input parameters and response fields. Compact and waste-free, yet harder to parse than necessary.

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?

With no output schema, the description still covers return surface (checkout URL, trial.words, noTrial, terms, price), preconditions, refusal cases and one specific error code. For a 3-parameter mutation tool that depends on an external payment flow, that is complete enough to call correctly.

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 67% and plan/siteId are already documented in the schema, but the description adds the missing default for interval ('year (default) or month') and clarifies ordering semantics for price. It does not add much beyond the schema on plan (single-value enum) or siteId, so it slightly exceeds the baseline rather than fully compensating.

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 ('Moves a Free site to a paid plan') plus the immediate effect (Stripe checkout URL for the OWNER, plan changes on Stripe confirmation), and names the sibling it is not (manage_billing) for the refusal cases. An agent can distinguish this from start_checkout and manage_billing without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicit when-not conditions are given: refused for an Enterprise site, a site already on Pro, paying, or in trial, with the alternative named (manage_billing). It also routes to get_started for the trial length and specifies one-per-account/site with the consequence of a parallel second call.

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