Skip to main content
Glama

Create Stripe checkout

ucode_payments_stripe_create_checkout

Do not use in ChatGPT. In-card Stripe is blocked. For humans, call ucode_render_credits and open https://ucode.uk/app/credits. For agents/bots, call ucode_agent_billing and pay USDC on Base via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cancelUrlNo
packageIdYesExact packageId from ucode_credit_packages for the pack the user chose
returnUrlNoSuccess URL; default deep link if omitted
stripeProductIdNoLegacy override — omit; Panel maps Stripe from packageId.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
codeNo
dataNo
errorNo
phoneNo
uiViewNo
creditsNo
endDateNo
smsCodeNo
summaryYes
rentalIdNo
billingUrlNo
httpStatusNo
countryNameNo
phoneNumberNo
serviceNameNo
neededCreditsNo
providerRentalIdNo
remainingSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, destructiveHint=false, and the description is consistent with those. Beyond the annotations it discloses a critical runtime constraint — in-card Stripe is blocked in ChatGPT — and the alternative payment rails, which is genuinely useful behavioral context. It does not describe success behavior, but an output schema exists to cover that.

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?

Three short sentences, front-loaded with the most important constraint (do-not-use in ChatGPT) followed by the human and agent paths. Nothing is padded, though the whole text is guidance rather than tool description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a payment tool with an output schema, the description needn't explain return values, and it fully covers routing to alternatives. However, it never explains what creating a checkout does, what packageId resolves to at runtime, or what the caller gets back in practice, leaving a gap for an agent that decides this tool is actually appropriate.

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?

The description says nothing about any of the four parameters. With schema description coverage at 75%, the schema documents packageId, returnUrl, and stripeProductId (including the 'legacy override — omit' note), so the baseline of 3 is appropriate. The description adds no parameter meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states what the tool actually does — it never says it creates a Stripe checkout session. Instead it is entirely a routing notice ('Do not use in ChatGPT') plus pointers to sibling tools. The only sense of purpose comes from the title/name, so the description itself is essentially a redirect rather than a purpose statement.

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?

It explicitly states when NOT to use it (in ChatGPT, where in-card Stripe is blocked) and names the correct alternatives per audience: ucode_render_credits with a URL for humans, and ucode_agent_billing (USDC on Base via x402) for agents/bots. This is explicit when/when-not/alternatives guidance naming the exact sibling tools.

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.

Resources