Skip to main content
Glama

create_checkout

Create an order for a person to pay. Returns token, checkout_url (the gateway's page: hand it to the person) and order_url (the order page in lang, with the QR code once paid: show it to the buyer only, the token is a secret). Confirm the plan and the price first: every call creates a new unpaid order, so do not retry while a checkout is open. email (optional) also gets the eSIM by mail. period_num (1–365) only for daily_unlimited plans. topup_iccid with a plan_id from list_topups tops up an existing eSIM. A 403 means the caller's jurisdiction is embargoed. To pay from a wallet use purchase_esim.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoen
emailNo
plan_idYes
period_numNo
topup_iccidNo
payment_methodNocrypto

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / plan_id / maximum
      Added value: +2147483647
    • addedInput schema / properties / plan_id / minimum
      Added value: +1
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already signal non-read-only and non-idempotent behavior, and the description reinforces and expands on this: every call creates a new unpaid order, the token is a secret, a 403 means the caller's jurisdiction is embargoed, and an optional email also receives the eSIM by mail. This adds valuable behavioral context beyond the structured hints.

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 carries essential information: purpose, return values, safety warnings, parameter constraints, error meaning, and alternatives. The critical non-idempotency warning is front-loaded, and there is no fluff or repetition.

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?

The description covers the full workflow: what to confirm before calling, what the response contains and who receives what, error semantics, top-up usage, and the relevant alternative tool. With an output schema present, the description need not enumerate return fields, making this complete for an agent to invoke 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 description coverage is 0%, so the description must explain parameters, and it does for most: period_num (1–365 and daily_unlimited only), topup_iccid (with plan_id from list_topups), email (also mails the eSIM), and lang (the order page language). It does not explicitly describe payment_method, though its enum values are self-explanatory.

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 opens with a specific verb+resource: 'Create an order for a person to pay.' It clarifies the tool's purpose by describing its outputs (token, checkout_url, order_url) and differentiates it from the sibling purchase_esim, which handles wallet payments.

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?

The description gives explicit usage warnings: confirm the plan and price first, every call creates a new unpaid order, and do not retry while a checkout is open. It also names the alternative for wallet payments ('To pay from a wallet use purchase_esim') and explains the top-up use case via list_topups.

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