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 significantly exceeds the minimal annotation hints: it explains that no charge occurs until a human completes checkout, that the link is meant for human interaction, and that errors are returned for missing listings, unpurchasable add-ons, or unconfigured payments. These are real behavioral details not present in the annotations.

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 sentences, each earning its place: purpose, critical payment caveat, and failure conditions. The most important information is front-loaded with 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 an output schema, the description covers the essential context: what it does, what it returns, how it should be used, and when it errors. Nothing critical is missing for an agent to select and invoke it reliably.

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%, so the schema itself fully explains `slug` and `product`. The description adds only a modest semantic constraint that the add-on must be paid and tied to a single listing, which matches but does not meaningfully exceed the schema.

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 verb and resource — 'Create a Stripe checkout URL' — and scopes it as 'for one paid add-on on one listing'. It also clearly distinguishes this from showing a purchase as completed, giving an agent unambiguous intent.

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 gives clear context: this tool is for generating a checkout link that a human must open to actually pay. It lists failure conditions that help an agent decide when the tool will not work, but it does not explicitly name alternative tools or when to use them.

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 targets a clearly distinct action: searching, retrieving details, finding alternatives, listing offers, creating a checkout, and submitting a tool. Though search_tools and list_alternatives both return catalog entries, their triggers and inputs are sufficiently different that an agent can reliably choose correctly.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: create_, get_, list_, list_, search_, submit_. The only variation is singular vs plural nouns, but the verb pattern is uniform and predictable enough that the toolset reads as one coherent convention.

Tool Count5/5

Six tools is a well-scoped size for a directory-plus-purchase workflow. Each tool covers a distinct step in the user journey, from discovery to submission to paid add-on checkout, without redundant bloat or a frustratingly thin surface.

Completeness4/5

The core workflows—search, detail retrieval, alternatives, listing creation, offer inspection, and checkout generation—are present and connect together without dead ends. However, there is no way to update, delete, or paginate through tool listings, and search_tools caps at 20 results, which is a minor gap for a full lifecycle.

Resources