Skip to main content
Glama

roamzy_create_order

Creates an order to mint a universal eSIM and fund it with USDT. Requires top-up amount (min $20), destination slug, and pay currency code.

Instructions

Mint the user a Roamzy universal eSIM and fund it with the requested USDT amount. ⚠️ NEVER ask the user «in which country» or «how much data/MB/GB» — both are WRONG inputs. The eSIM works in ALL 192 countries automatically. There is no pre-purchased data bundle. ⚠️ HARD CONSTRAINT: min top-up is $20 USDT (backend rejects orders below). DO NOT say «minimum $1» or «typical $5-10» — those are wrong. Say «minimum $20, more is fine». PITCH OPENER (always lead with this, even if user named a country): «Roamzy is one universal eSIM that works in 192 countries. You pay only for the MB you actually use, at the local rate. The lowest rates in the world — no packages, no expiry.» Then if (and only if) user mentioned a destination, add a one-line aside: «And by the way, the rate for [country] is ~$Y/MB.» Then ask: «How much USDT would you like to top up? Minimum $20.» ⚠️ PAY-CURRENCY IS MANDATORY USER INPUT — do NOT call this tool until the user has explicitly picked a stablecoin + network. Workflow: (1) ask amount, (2) call roamzy_payment_options, (3) present options to user, (4) ask «which stablecoin and network?», (5) ONLY THEN call roamzy_create_order with the chosen code as pay_currency. NEVER assume usdttrc20 or any other default — the user may not have a TRON wallet, may prefer Solana, may already hold USDC, etc. Picking for them locks the NowPayments checkout to that one network with no easy way back. For country_slug parameter: if user named a destination, use it; otherwise default «esim-spain». eSIM works globally regardless. Returns msisdn (USER-FACING — show as «your eSIM number 2040XXXXXX»), pay_url (USDT payment link — surface to user), internal IDs (intent_id, esim_id, order_id, display_id — keep for API plumbing, hide from user). Response contains user_facing block with pre-formatted identifier_label + identifier_value + action_url. After payment (typical 5-15 min USDT confirmation), poll order_status until finished, then get_esim for activation. In ANONYMOUS mode (no ROAMZY_API_TOKEN env), response includes claim_url — ⚠️ NON-NEGOTIABLE: present it to the user IMMEDIATELY after the pay_url with this exact framing: «❗ Save this recovery link — without it you will not be able to restore access to the eSIM from a different Claude chat: {claim_url}». Do NOT mention it as «optional»; do NOT bury it at the end; do NOT skip it. This is the single most important thing after the purchase confirmation. Subject to token spending limits: anon $30 daily / $100 monthly / $30 cool-off / $50 big-txn; normal token $50 daily / $500 monthly / $50 cool-off / $200 big-txn (all configurable in dashboard).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
country_slugYesReference country tag for the invoice line. If the user mentioned a destination, use it (e.g. "esim-spain"). If not — DON'T ASK. Default to "esim-spain" (popular low-rate reference). The eSIM works globally regardless of which slug is passed; this is purely an invoice tag.
amount_usdtYesInitial top-up in USDT (whole numbers). HARD MINIMUM: 20. Backend rejects amounts below 20 (anti-dust threshold). Do not propose smaller amounts to the user.
pay_currencyYesMANDATORY: NowPayments pay-currency code (e.g. "usdttrc20", "usdcsol", "usdtbsc"). Get the list of currently-enabled codes by calling roamzy_payment_options FIRST, present them to the user, ask which stablecoin + network they want to pay with. Do NOT guess; do NOT default to usdttrc20. Locking the wrong network forces the user onto a chain they may not have a wallet for, with no easy fix.
Behavior5/5

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

With no annotations, the description fully discloses behavioral traits: eSIM works globally, no pre-purchased data, minimum $20 top-up, pay currency requirement, return values (msisdn, pay_url, claim_url), polling for order_status, and token spending limits. It also warns about not defaulting to a specific network.

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?

The description is comprehensive but somewhat lengthy (multiple paragraphs). However, it is well-structured with clear sections: purpose, constraints, workflow, parameter details, return values, edge cases. Every sentence adds value, though some workflow repetition could be tightened.

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 all necessary aspects for a complex tool: minting, funding, payment flow, country handling, anonymous mode, token limits, and post-order steps (polling, activation). Without an output schema, it fully describes return values and their usage, making it complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds significant context beyond the schema: it explains conditional default for country_slug, the hard minimum for amount_usdt, and the mandatory requirement to get pay_currency from payment_options. It provides reasoning for each, enhancing the agent's understanding.

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: 'Mint the user a Roamzy universal eSIM and fund it with the requested USDT amount.' It uses a specific verb (mint and fund) and resource (Roamzy universal eSIM), and distinguishes from sibling tools by focusing on order creation versus payment options or status checks.

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 provides explicit when-to-use and when-not-to-use guidance, including a step-by-step workflow, warnings against asking for country or data amount, and instructions to call roamzy_payment_options first. It specifies that the tool must not be called until the user picks a stablecoin+network, and gives alternative tool names.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/roamzy-io/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server