Skip to main content
Glama

Create a checkout link

create_checkout_link

Creates a Stripe Checkout link that buys one Debriefing plan for this workspace. It charges nothing. The admin opens the link in a browser, checks the price, and pays there. Give the link to the person; never complete the payment for them. The link expires after 24 hours. A new customer gets a 3-day free trial: Stripe takes a card, charges nothing for 3 days, then charges the plan price unless the person cancels. A repeat customer pays at once. The first payment has a 14-day money-back guarantee, once per customer. Admin only. Send an idempotency_key. A retry with the same idempotency_key returns the first answer and does not act again.

Input Schema

NameRequiredDescriptionDefault
planYesThe plan to buy. get_plan_and_limits shows the current plan.
intervalNoBill each month (the default) or each year.
idempotency_keyYesA unique string you make for this request, such as a UUID. Send the same key when you retry, and Debriefing returns the first answer instead of acting twice.

Output Schema

NameRequiredDescriptionDefault
okYes
planNo
priceNo
messageYes
intervalNo
replayedNoTrue when this answer repeats an earlier call with the same idempotency_key.
free_trialNo
checkout_urlNo
money_back_guaranteeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / free_trial
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / money_back_guarantee
      Added value: +{
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond the annotations: no charge at creation, 24-hour expiry, 3-day trial charged only after day 3 for new customers, immediate charge for repeat customers, and a 14-day money-back guarantee once per customer. It also explains the idempotency_key retry contract. Minor tension with idempotentHint=false, but the description makes clear that only a repeated identical key suppresses the second effect, and each distinct call still mints a new link, so this is disclosure rather than contradiction.

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?

The core behavior ('charges nothing', hand the link to the person) is front-loaded in the first sentences, and every later sentence carries distinct information. It is longer than typical but not padded; a couple of pricing sentences could be tightened.

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?

Covers authorization (admin only), lifecycle (expiry), billing consequences, retry safety, and the human hand-off rule, and an output schema exists so return values need no explanation. Nothing an agent needs to call this correctly is missing.

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 enums are already documented, so the schema carries the load. The description adds business meaning around plan selection (trial vs immediate charge) but says nothing extra about 'interval' or the key beyond what the schema states.

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 ('Creates a Stripe Checkout link') plus the exact scope ('buys one Debriefing plan for this workspace'), which separates it from create_share_link and get_free_brief_link in the sibling list. An agent can identify the action 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 Guidelines4/5

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

Gives strong operational context: admin-only, the caller must hand the link over rather than pay it, and the link expires in 24 hours. It does not explicitly name an alternative tool or a 'when not to use this' case beyond the payment prohibition, so it falls just short of a 5.

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.