Skip to main content
Glama

Create upgrade link

create_upgrade_link

Use when a free team is blocked on the 3-project, 100-submission, or one-workspace limit, or when a human should upgrade to yearly ($199/year) so you can keep adding projects, workspaces, and storing new submissions. Returns a Stripe Checkout URL to hand the human. If the team is already yearly, omit product to get a Stripe Customer Portal URL, or pass product=expansion for a $99/year pack that adds 5,000 submissions/month. Do not change plan in the database — Stripe webhooks do that. Plans are capacity, not a feature ladder. Free: one workspace, 100 clean submissions/month pooled on the team, 3 active (non-archived) projects, 30-day submission retention, and email.footer_mode / branding.mode stay furrow (other values return plan_limit). Yearly ($199/year): extra workspaces, 10,000 submissions/month, unlimited projects, 730-day retention, branding.mode furrow | off | agency. Expansion packs are $99/year each and add 5,000 submissions/month on a yearly account. MCP, webhooks, snippets, inheritance, Turnstile, and email templates stay available on free. Spam, honeypot, and rejected posts do not count. Use create_upgrade_link to hand a human a Stripe Checkout (or Customer Portal) URL. Pass product=expansion on a yearly team to add a pack. Operator tokens (all workspaces) must pass team_id from list_teams. Team-scoped tokens may omit team_id and cannot target another workspace.

Input Schema

NameRequiredDescriptionDefault
productNoyearly starts the $199/year plan; expansion adds a $99/year 5,000-submission pack to a yearly team.
team_idNoTeam id from list_teams. Required for operator tokens and OAuth logins; team-scoped frw_ tokens may omit it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds real context beyond the annotations: the tool produces a URL for a human rather than mutating plan state, webhooks own the DB write, and operator tokens must pass team_id while team-scoped tokens cannot target another workspace. It does not address repeat invocation (idempotentHint=false implies a new Checkout session each call) or link expiry, which are the remaining behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the trigger well, but roughly a third of the text is duplicated: the plan limits are stated once as trigger conditions and again as a 'Free:' / 'Yearly:' spec sheet, and 'Use create_upgrade_link to hand a human a Stripe Checkout (or Customer Portal) URL' restates the opening. Pricing tier detail crowds out the actionable call instructions.

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 two-optional-parameter tool with no output schema, everything needed is present: when to call, what URL comes back, token scoping, the webhook ownership of plan state, and the error surface ('other values return plan_limit'). No essential invocation detail is missing.

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 100%, so baseline is 3; the description earns above that by explaining the semantics the enum alone cannot convey — omitting product on a yearly team yields a Customer Portal URL, while product=expansion adds a $99/year 5,000-submission pack. The team_id guidance (operator token vs team-scoped token) also reinforces the schema note.

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+resource (create an upgrade/billing link) and immediately names the artifact it returns: a Stripe Checkout URL (or Customer Portal URL). No sibling tool touches billing, and the description makes the billing/plan boundaries unmistakable.

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?

Gives explicit triggering conditions ('when a free team is blocked on the 3-project, 100-submission, or one-workspace limit'), an explicit branch (already yearly → omit product for a Portal URL), and an explicit prohibition ('Do not change plan in the database — Stripe webhooks do that').

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.