Skip to main content
Glama

Upgrade a page to a paid plan

upgrade_plan

Returns a Stripe link for the person to open and pay. Nothing is charged unless they complete it there, and the plan changes once they do — then retry what needed it. A new Keepp customer starts with a 7-day free trial and is charged nothing until it ends; say so. Call this when a tool says a feature needs Pro, and tell the person which plan and why.

Input Schema

NameRequiredDescriptionDefault
planYesThe plan to move to. The price is shown on the Stripe page.
businessYesThe page handle, as it appears in keepp.link/<handle>. For example "janedoe".

Output Schema

NameRequiredDescriptionDefault
urlYesFor the person to open. null when already on that plan.
viaNo
planYes

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?

Annotations already declare readOnly=false, destructive=false and openWorld=true, so the bar is lower; the description still adds real value by clarifying that nothing is charged until the Stripe page is completed, that the plan changes only then, and that the caller should retry the blocked action afterward. It does not disclose that repeated calls likely mint new links (idempotentHint=false) or what happens if the page is already on a plan.

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?

Four sentences, front-loaded with the return value and the money-safety fact, each carrying distinct information (charge timing, plan change, trial, trigger). The 'say so' and 'tell the person' imperatives are slightly prescriptive but still earn their place.

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?

An output schema exists so return shape needn't be explained, and the description covers the payment flow, trial terms, trigger condition, and post-payment retry. Remaining gaps — behavior when already subscribed and re-invocation semantics — are minor but real for a mutating, open-world billing tool.

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 description coverage is 100% and both params are documented there, including the enum ('pro'/'influencer') and the handle format, so no gap needs compensating. The description adds no new meaning about the parameters beyond the mandate to explain the plan choice to the user.

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 description states the concrete output and outcome — it returns a Stripe link and the plan changes after payment — which is distinguishable from siblings like list_plans or get_page. The core 'upgrade this page to a paid plan' framing leans on the name and title rather than the description itself, so it is clear but not fully self-contained.

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 gives a concrete trigger: 'Call this when a tool says a feature needs Pro,' plus the instruction to tell the person which plan and why. There is no explicit when-not-to-use or named alternative, but the trigger condition is unusually specific for this toolset.

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