Skip to main content
Glama

doctorSIM

get_order_status

Read-only

Check order or checkout status. Guests: pass payment_link (preferred) or checkout_hash from create_order — no login; the hash is unguessable. Do not pass a sequential order_id without OAuth (IDs are enumerable). Do not ask the buyer for the hash or show it. OAuth / PRO: pass order_id (sandbox orders: sandbox_… id). If create_order timed out before returning order_id, pass its idempotency_key instead — never re-create. Fulfilled eSIM orders include iccid, lpa_string, install_url, a hosted qr_code_url PNG, remaining balance_amount (provider refresh only when last check is older than five minutes), and nested consumption (cron snapshot: activated, unlimited, data_remaining_gb, days_left). Fulfilled gift cards may include redemption_code or redemption_url.

Input Schema

NameRequiredDescriptionDefault
order_idNoSequential ticket ID. Always requires OAuth / API key. Do not use for guest checkout.
payment_linkNoCheckout URL from create_order. Preferred guest status key — no login. Do not show the embedded hash to the buyer.
checkout_hashNoMachine identifier from create_order (32–64 hex). No login. Do not show to the buyer. Prefer payment_link.
idempotency_keyNoOAuth / API key only. The idempotency_key sent to create_order when the create timed out before returning order_id. Finds that order without creating anything (24h, same account).

Output Schema

NameRequiredDescriptionDefault
iccidNo
statusNo
order_idNoIdentifier (integer or numeric string).
lpa_stringNo
consumptionNoCron snapshot for native My eSIMs. unlimited=true means data_remaining_gb is null. days_left is null until activated.
install_urlNo
qr_code_urlNo
balance_unitNo
payment_linkNo
show_to_userNoFields the assistant may show the buyer.
checkout_hashNoMachine identifier. Never show or read aloud.
balance_amountNo
redemption_urlNo
delivery_statusNo
redemption_codeNo
balance_checked_atNo
balance_expirationNo
checkout_hash_usageNomachine_only
assistant_instructionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With readOnly/non-destructive already declared by annotations, the description still adds substantial context: IDs are enumerable without OAuth, the hash is unguessable, idempotency recovery is scoped to 24h on the same account, and provider refresh is throttled when the last check is under five minutes old. Those are behavioral traits no annotation conveys.

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?

Front-loaded with purpose, then callers, then recovery path, then return payload; sentences are dense and mostly load-bearing. It runs long and the return-value enumeration overlaps with the existing output schema, which slightly dilutes focus.

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?

Given four optional params, full schema coverage, an output schema, and read-only annotations, the description covers everything an agent needs: which key to use, what happens on timeout, and what a fulfilled eSIM/gift card response contains.

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 the baseline is 3; the description goes beyond it by explaining precedence (payment_link over checkout_hash), the OAuth constraint on order_id, and the timeout-recovery workflow where idempotency_key substitutes for a missing order_id. It doesn't add format specifics but adds real decision logic.

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

Purpose4/5

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

Opens with a specific verb+resource ('Check order or checkout status') and immediately segments the operation by caller identity (guest vs OAuth/PRO). It clearly signals this is a status-read tool distinct from create/preview siblings, though it never acknowledges the sibling 'guest_order_lookup', which could be a competing path for the same guest use case.

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?

Explicitly states which identifier to pass per caller type, marks payment_link as '(preferred)', and gives concrete prohibitions: don't pass sequential order_id without OAuth, don't ask the buyer for the hash, never re-create after a timeout. This is near-complete when/when-not/alternative guidance.

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