Skip to main content
Glama

create_checkout

Create a secure Stripe payment link for an Alt eSIM plan. Returns a payment URL the BUYER opens to pay (the agent never handles card details) AND a checkout_session_id. After the buyer pays, call get_qr_code with that checkout_session_id to fetch the eSIM QR and show it to the buyer. The QR is also emailed. Charged in USD. You MUST collect the buyer's real email.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoDelivery email language (default 'en').
emailYesBuyer's email — the eSIM QR code is also sent here.
sku_or_idYesThe plan sku or id to buy.
customer_codeNoOptional Alt customer code (format Alt-XXXXXXXX, shown on the buyer's altesim.com account page). If provided, the order is linked to that account and appears in its order history regardless of the delivery email used.

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does well: states the agent never handles card details (security), the buyer opens the payment URL, the QR is emailed, and charges are in USD. It does not disclose potential side effects like charge failures or rate limits, but covers the key behaviors an agent needs to know.

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?

Every sentence in the description earns its place. It starts with the core action, explains return values, gives the follow-up step, and notes the mandatory email. No redundant or filler content. The structure is logical and flows well.

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

Completeness4/5

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

The description is complete for a tool with no output schema: it explains return values, the post-payment flow, the email requirement, and the currency. It doesn't mention error handling or how to obtain the sku, but those are covered by sibling tools and the schema. Given the tool's complexity, this is adequate.

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 coverage is 100%, so the schema already documents all parameters. The description adds some usage context (e.g., stressing the email must be real, mentioning currency), but it does not introduce new semantic meaning beyond the schema. The baseline of 3 is appropriate since the schema does the heavy lifting.

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 clearly states the tool's purpose: 'Create a secure Stripe payment link for an Alt eSIM plan.' It specifies the resource (eSIM plan), the action (create payment link), and the return values (payment URL and checkout_session_id). It also distinguishes itself from siblings by describing the follow-up with get_qr_code, which is a unique workflow.

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 provides clear when-to-use context: it's for creating a payment link when a buyer wants to purchase a plan. It gives a sequenced instruction ('After the buyer pays, call get_qr_code') and a mandatory requirement ('You MUST collect the buyer's real email'). It does not explicitly list alternatives or when-not-to-use, but the flow is clear enough for an agent.

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.2/5.0
Disambiguation5/5

Each tool has a clear, distinct role: listing destinations, searching plans, getting one plan, creating a checkout, and fetching QR/status. The create_checkout and get_qr_code tools are related but the descriptions clearly separate payment creation from fulfillment status.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: create_checkout, get_esim_plan, get_qr_code, list_destinations, search_esim_plans. This makes the API predictable and easy for an agent to navigate.

Tool Count5/5

Five tools is well-scoped for this server's purpose: discover destinations, search and inspect plans, create a payment checkout, and retrieve delivery/status information. Each tool earns its place with no redundancy.

Completeness5/5

The tool set covers the full eSIM purchase lifecycle: plan discovery, plan detail lookup, payment checkout creation, and QR code delivery with clear status handling. The get_qr_code status states cover waiting, processing, ready, expired, refunded, and failed, so agents can handle all outcome paths.

Resources