Skip to main content
Glama

Get a link to buy or change the plan

get_upgrade_link

Returns a link to a Stripe page where the PERSON buys a plan or changes theirs, already set for this account and the plan you pass. Nothing is charged by this call: the person opens the link, sees the price and confirms there. Give them the link as is, and after they say they paid, call get_account to see the new plan. Plans: starter_2026 (Starter), agency (Pro), studio (Business); prices with get_pricing. Never open the link or pay yourself.

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": "get_upgrade_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYesstarter_2026 = Starter, agency = Pro, studio = Business.
intervalNoBilled monthly or yearly.month

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds real behavior: nothing is charged, the actual purchase happens on an external Stripe page the person confirms, and the agent must never open the link or pay itself. That guardrail and the no-charge guarantee are exactly the context annotations cannot convey.

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?

Front-loaded with the outcome (a link to a Stripe page) and the critical no-charge fact, then the follow-up and guardrail. Sentences are multi-clause and slightly run-on, but each one adds actionable information rather than 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?

No output schema exists, and the description states what is returned (a link) and how to act on it, plus the follow-up verification path. For a two-parameter, non-destructive link-generator this covers everything an agent needs to call it correctly.

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% with enum descriptions for both plan and interval, so the description's plan-name mapping (starter_2026/agency/studio) mostly restates the schema and never addresses interval. Baseline 3 is appropriate since the schema already carries the parameter semantics.

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 – it returns a Stripe link preconfigured for the account and the requested plan – and implicitly separates itself from get_pricing and get_account by noting those are follow-up/adjacent calls. An agent can tell exactly what it gets back without opening the 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?

Explicitly says when to use it (person wants to buy or change a plan), what to do with the result (give the link as-is), and the exact follow-up once they report payment (call get_account). It also routes price questions to get_pricing, giving a named alternative with a condition.

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