Skip to main content
Glama

roamzy_get_esim

Read-onlyIdempotent

Fetch an eSIM by its ID to display status, balance, and the activation QR payload needed to set up the eSIM on a device.

Instructions

Get a specific eSIM by id, including msisdn, status, balance, and the activation block (qr_payload + lpa_url). ⚠️ QR RENDERING: This tool does NOT return a ready-to-display image. Instead, qr_payload contains the LPA URI string. YOU must generate the QR PNG yourself using your code-execution tools (Python qrcode library, JS qrcode npm package, etc.) and offer the resulting PNG as a downloadable file to the user. DO NOT use external QR-generation services — they show ugly UI dialogs in Claude Desktop and require external trust. Local generation gives the user a real downloadable PNG they can save and scan. ALWAYS caption the QR (once generated) with «Your eSIM number: ». The lpa_url field is ONLY for users installing on the SAME phone where they're reading the chat (camera can't scan own screen) — surface it as a text fallback for that case, prefixed «LPA URI (manual entry):». Do NOT show internal IDs (id, display_id, iccid) to the user. ⚠️ ANON-MODE RECOVERY REMINDER: If this is an anonymous Roamzy session (no ROAMZY_API_TOKEN env was set), after presenting the QR you MUST also re-surface the claim_url from the original roamzy_create_order response with this framing: «❗ Be sure to save this recovery link — without it you will not be able to get back to this eSIM from a different Claude chat». If the user has already closed-and-reopened the chat and lost the claim_url, instruct them to contact Roamzy support (call roamzy_support tool) with their MSISDN + NowPayments transaction hash for manual recovery — operator can mint a fresh claim_url. If the user follows up with «how do I contact support» or «refund» — call roamzy_support, not web search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
esim_idYesInternal eSIM ULID returned by list_esims or create_order. Never shown to the user.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
esimYes
activationNoPresent once the profile is provisioned.
api_versionNo
Behavior5/5

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

The annotations already indicate read-only and idempotent behavior, but the description adds critical behavioral detail: 'This tool does NOT return a ready-to-display image. Instead, qr_payload contains the LPA URI string.' It further discloses that lpa_url is only for same-phone installation and explains the recovery flow for anonymous sessions. This goes beyond the annotations and is consistent with them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very long, with multiple paragraphs and warnings. While it is well-structured and each section serves a purpose, it is not concise; it could be trimmed by moving some instructions to separate documentation. The front-loaded purpose is good, but overall length detracts.

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 every edge case an agent might encounter: QR rendering, LPA fallback, anonymous session recovery, lost claim_url, and support escalation. Even with an output schema present, this additional context is essential and complete.

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?

The input schema fully describes the single parameter esim_id as 'Internal eSIM ULID returned by list_esims or create_order. Never shown to the user.' The description adds no new semantic information about this parameter beyond the schema, but it reinforces that internal IDs should not be shown to the user. Given 100% schema coverage, the baseline of 3 is appropriate.

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?

The description opens with a clear statement: 'Get a specific eSIM by id, including msisdn, status, balance, and the activation block (qr_payload + lpa_url).' This specifies the verb, resource, and scope. However, it does not explicitly contrast with sibling tools like roamzy_list_esims, so it misses the full distinction criterion.

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 usage instructions: when to generate QR locally, when to use lpa_url as a fallback, when to re-surface claim_url, and when to call roamzy_support. It also explicitly says 'call roamzy_support, not web search' for support follow-ups, giving clear alternatives.

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