Skip to main content
Glama

Create a checkout link for a paid add-on

create_checkout

Create a Stripe checkout URL for one paid add-on on one listing, and return it for a HUMAN to open. Never present this as a completed purchase: nothing is charged until a person completes checkout in a browser. Returns an error when the listing doesn't exist, the add-on isn't purchasable yet (free early access), or payments aren't configured in this environment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe listing's slug (as in a toolUrl, e.g. '/tools/acme-writer' -> 'acme-writer').
productYesAdd-on key: premium_launch, review_one, review_monthly, network_all, network_three. See list_offers for names, effects, and prices.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
errorNo
checkoutUrlNoA URL a HUMAN must open. Nothing is charged until a person completes it.
instructionNo

TDQS

A4.5/5.0
Behavior5/5

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

The description goes beyond the annotations by explaining the real-world side effect boundary: no charge occurs until a person completes checkout in a browser. It also names specific failure cases and the important instruction not to present the returned URL as a completed purchase. This is exactly the kind of behavioral nuance an agent needs.

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

Conciseness5/5

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

The description is tightly written, with the core action front-loaded and the critical payment caveat placed immediately after. Every sentence earns its place, including the error conditions, without unnecessary detail.

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 checkout-link creation tool, the description covers what it returns, who should open it, the most important safety caveat, and the common failure conditions. Combined with the output schema and annotations, this gives an agent enough to invoke the tool correctly and interpret the result appropriately.

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 parameters have meaningful schema descriptions. The tool description adds some context by mapping 'one listing' and 'one paid add-on' to the slug and product, but it does not need to compensate for missing schema documentation. Baseline of 3 is appropriate.

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?

The description states a specific action ('Create a Stripe checkout URL') and the exact resource scope: one paid add-on on one listing. It clearly distinguishes this tool from the sibling tools by focusing on purchase/checkout rather than lookup or submission.

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?

The description makes the intended use clear: generate a checkout link for a human to open, and never treat this as a completed purchase. It also documents error conditions that tell the agent when the tool cannot be used. It does not explicitly name sibling alternatives, but the context is clear enough to avoid misselection.

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.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool has a clear, distinct purpose: search for discovery, get for details, list alternatives for comparison, list offers for add-ons, create checkout for purchasing, and submit for adding new tools. No overlapping functionality is apparent.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case, with clear verbs like create, get, list, search, and submit. The naming is uniform and intuitive.

Tool Count5/5

With six tools, the set is appropriately sized for a catalog server covering search, retrieval, submission, and purchase flows. It's neither sparse nor bloated.

Completeness5/5

The tool surface covers the key user journeys: discovering tools (search, get, list alternatives), purchasing add-ons (list offers, create checkout), and contributing (submit). No essential operation seems missing for the stated purpose.

Resources