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
Behavior4/5

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

Annotations alone leave the mutation's business impact ambiguous. The description clarifies that nothing is charged until a human completes checkout and discloses the main error cases: missing listing, add-on not purchasable yet, and unavailable payment configuration.

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?

Three concise sentences with the operation, the critical caveat, and the error conditions each in their own clear slot. No filler and no repetition of schema content.

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-parameter tool with full schema coverage and a separate output schema, this description covers the purpose, the charge timing caveat, the human dependency, and the likely failure modes. An agent has what it needs to invoke the tool correctly.

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 the baseline is 3. The description adds useful business meaning such as 'one paid add-on' and 'one listing', reinforcing what the slug and product parameters represent without restating their schema text.

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 precise action verb ('Create'), an exact object ('a Stripe checkout URL'), and a narrow scope ('for one paid add-on on one listing'). It also clarifies the output's target ('for a HUMAN to open'), making the tool's role distinct from sibling tools.

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 clear context: this tool produces an uncompleted checkout link and must not be presented as a finished purchase. It does not explicitly name alternatives or exclusions, but no listed sibling tool serves the same checkout-creation role.

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 clearly distinct responsibility: search/fetch listing details, discover alternatives, submit a new tool, list paid add-ons, and create a checkout. Though list_offers and create_checkout are related, they serve sequential, non-overlapping steps with no ambiguity.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: create_checkout, get_tool, list_alternatives, list_offers, search_tools, submit_tool. The verbs are descriptive and readable, and there are no mixed casing or naming style variations.

Tool Count5/5

Six tools is well-scoped for a directory/discovery server: search, detail, alternatives, submission, offers, and payment initiation. Each tool earns its place and the count feels neither thin nor overwhelming.

Completeness5/5

The server covers the core lifecycle: discovering tools (search_tools, get_tool, list_alternatives), adding new ones (submit_tool), and monetizing via add-ons (list_offers, create_checkout). No obvious dead-end or missing operation is apparent for the stated purpose.

Resources