Skip to main content
Glama

Upgrade link

get_upgrade_link

A link for the user to open. clay: the Pro plan, EUR 9 a month with every feature and 3 sites, every extra site EUR 3 a month (pass sites for how many they want in all). site: one more site on a Clay account; the link opens a sheet that shows the new monthly total and adds it only when they press Add. pack: EUR 10 a month, +25 GB storage and +500 GB traffic. Give the link to the user and say the price it returns; nothing is charged until they pay or confirm on that page.

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
planYes
sitesNoclay: how many sites in all (the extra ones above 3 are added to the bill); site: how many to add, default 1
intervalNodefault month; a year is ten months for twelve (not for pack)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With readOnlyHint=false and openWorldHint=true already declared, the description adds the crucial behavioral fact that nothing is charged until the user pays or confirms on the page, which correctly frames the mutation as creating a link rather than billing. It also discloses pricing consequences (extra sites above 3 are added to the bill; yearly is ten months for twelve, not for pack) that exceed the annotations. It does not say whether links expire or whether repeated calls produce duplicate links, despite idempotentHint=false.

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 is front-loaded in the opening clause, and essentially every clause carries pricing or parameter information the agent needs in order to quote a price. However, it is a single dense semicolon-chained paragraph mixing plan definitions, billing rules, and call-to-action guidance, which reduces scannability for an agent parsing intent.

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 3-parameter link generator with no output schema, the description covers what is produced, per-plan pricing, billing behavior, and how to relay the result to the user. Gaps remain on the link's lifetime/reuse and on whether ownership or an active subscription is a prerequisite, and 'the price it returns' is the only hint about the response shape.

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?

At 67% schema coverage the description meaningfully extends the schema: it explains that for clay, 'sites' means the total number in all and that extras above 3 are billed, while for site it means how many to add. It also clarifies interval semantics ('a year is ten months for twelve (not for pack)') and supplies the pack pricing that the schema does not describe. Only minor ambiguity remains about how sites interacts with the site plan's default.

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 first sentence, 'A link for the user to open,' plus the per-plan breakdown ('clay: the Pro plan...', 'site: one more site...', 'pack: EUR 10 a month...') makes it inferable that this tool produces a checkout/upgrade URL for a chosen plan. No sibling in the catalog deals with upgrades, so it is effectively distinguishable, but the description never states a clean verb+resource (e.g. 'returns an upgrade/payment link for the given plan'), forcing the agent to reconstruct the action from the pricing prose.

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?

Explicit operational guidance is given: 'Give the link to the user and say the price it returns; nothing is charged until they pay or confirm on that page,' which tells the agent both what to do with the result and the confirmation step. Plan selection guidance is present via the requirement to 'pass `sites` for how many they want in all.' It stops short of stating when not to use it (e.g. user already on Pro) or naming any alternative path.

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