Skip to main content
Glama

roamzy_order_status

Read-onlyIdempotent

Poll the status of a pending eSIM order: get the payment URL while waiting, then the activation link once finished.

Instructions

Poll the status of a pending order. Status progresses: waiting → confirming → finished → (eSIM activated). While it is still waiting the response carries pay_url — re-surface that to the user instead of starting a new order; it is the same link they were given at checkout. Once status=finished, call get_esim for the activation link. Response includes msisdn — when telling the user about progress, refer to the eSIM by its msisdn, not by intent_id / esim_id / order_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idYesInternal intent_id from create_order. Never shown to the user.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYeswaiting → confirming → finished. Fetch the eSIM once finished.
esim_idNo
pay_urlNoThe link that pays this order, for as long as it is waiting. Give it to the user again rather than creating a second order.
order_idNo
intent_idNo
created_atNo
updated_atNo
amount_usdtNo
user_facingNo
country_slugNo
provider_invoice_idNo
provider_payment_idNo
Behavior5/5

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

Annotations already indicate read-only, idempotent, non-destructive. The description adds valuable behavioral context beyond that: the status progression sequence, the presence of pay_url during waiting, the instruction to call get_esim after finished, and the msisdn guidance. No contradiction with annotations.

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 front-loaded with the core purpose, followed by a compact but information-rich workflow. It is three sentences and every sentence adds value, though it could be slightly more structured. Still highly concise for the amount of guidance packed in.

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 an output schema present, return values are covered elsewhere. The description completes the picture by explaining the status lifecycle, the pay_url special case, the handoff to get_esim, and how to refer to the eSIM. It leaves no critical gaps for a polling tool.

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% and the order_id parameter is already described as 'Internal intent_id from create_order. Never shown to the user.' The description does not add much about the parameter itself, though it reminds not to use intent_id when referencing the order to the user. Baseline 3 applies since schema handles the semantics.

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 opens with a specific verb+resource: 'Poll the status of a pending order.' It clearly distinguishes the tool's purpose from siblings by focusing on the order status workflow and even references get_esim as a downstream action. This is not a vague restatement of the tool name.

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?

Provides explicit when-to-use and alternatives: while waiting, re-surface pay_url instead of starting a new order; once status=finished, call get_esim. It also tells the agent how to use the response (refer to msisdn). This fully guides selection and next steps.

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