Skip to main content
Glama

Roamduck: mobile top-ups, gift cards and travel eSIMs

Create an eSIM order (returns a payment link)

create_esim_order

Create an eSIM order and get pay_url. Nothing is charged by this call: a person must open pay_url and pay in cryptocurrency on NOWPayments. The server sets the price from the current quote. Before calling, confirm the plan with the person and that their phone supports eSIM and is not locked to an operator: an installed eSIM cannot be refunded. After the payment confirms, get_order returns the install data.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "plan_id": "<plan_id>"
    },
    "name": "create_esim_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_idYesid from list_esim_plans
pay_withNoOptional coin code from list_payment_coins, e.g. usdttrc20. The payment page then opens with that coin selected.

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?

Adds substantial context beyond the annotations: no charge occurs at call time, payment happens out-of-band in cryptocurrency on NOWPayments, the server derives price from the current quote, and an installed eSIM is non-refundable. That refund risk and the external payment dependency are exactly the behavior an agent needs and are not encoded in readOnlyHint/openWorldHint.

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 sentences, each with a distinct job: what it does and returns, what payment does, what to verify first, and what to call next. Purpose is front-loaded and there is no filler.

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?

With no output schema, the description still discloses the return value (pay_url) and the post-payment retrieval path, and it covers prerequisites for a non-idempotent, open-world mutation. Nothing an agent needs to call this safely is missing.

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 both plan_id and pay_with already carry descriptions including the sibling source for each value. The description adds only indirect meaning ('the server sets the price from the current quote') and never mentions pay_with, so the baseline of 3 applies.

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 and resource ('Create an eSIM order') plus the concrete artifact returned ('get pay_url'), which cleanly separates it from siblings like create_order and create_giftcard_order without needing their schemas.

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?

Gives explicit pre-call conditions (confirm the plan with the person, verify the phone supports eSIM and is not carrier-locked) and a clear follow-up path ('After the payment confirms, get_order returns the install data'). It does not name an alternative for non-eSIM purchases, but the gating guidance is concrete and actionable.

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