Skip to main content
Glama

create_order

Create an unpaid eSIM order and get a payment link. Payment is always done by the human: give the user the payment link, never try to pay yourself and never ask for card details. Ask the user for their email first: the eSIM QR code is sent there. Creates a real order, so call it only after the user picked the plan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesThe user's email for the receipt and the eSIM QR code
plan_idYesplan_id from list_plans
payment_methodNoOptional: sbp (Russian fast payments), card (Russian bank card), card_foreign (Visa/Mastercard issued abroad), crypto_usdt, crypto_ton. Omit to use the shop default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the payment workflow: the human always pays, the agent must never attempt payment or solicit card details, and the email is the delivery channel for the QR code. Combined with 'creates a real order,' this conveys the non-idempotent, consequential nature of the call.

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?

Four short sentences, each carrying a distinct instruction: what it does, who pays, what to collect first, and when it is safe to call. No filler; the outcome (payment link) is front-loaded.

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?

Despite having no output schema, the description names the return value (a payment link) and covers the prerequisites, safety constraints, and sequencing an agent needs to invoke a money-adjacent creation 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 parameters are already documented; the description's email explanation largely echoes the schema. It does add workflow meaning by framing email as something to request from the user before calling, rather than a passive field.

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 specific verb+resource ('Create an unpaid eSIM order') and names the concrete artifact returned ('get a payment link'). This clearly distinguishes it from siblings like list_plans and order_status, which do not create anything.

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?

Provides an explicit precondition — 'call it only after the user picked the plan' — which implies the list_plans sequencing without naming the sibling directly. It also instructs to collect the email first, but does not explicitly route to any alternative tool or state when not to use it.

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