Skip to main content
Glama

Roamfly eSIM

Get the link to buy a plan

get_buy_link
Read-onlyIdempotent

The roamfly.co checkout link for a plan_id (from find_plans or get_destination), optionally for several eSIMs (one per traveller). The buyer opens it, signs in and pays there; the eSIM then arrives in their Roamfly account and by email.

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": "get_buy_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_idYesplan_id from find_plans or get_destination.
quantityNoeSIMs to buy, one per phone (default 1).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly, idempotent, non-destructive, not open-world), and the description adds genuinely new behavioral context: payment happens outside the tool on roamfly.co, and fulfillment is asynchronous via the buyer's account and email. It omits how long the link stays valid and whether re-calling regenerates or returns the same link, which is why it falls short of a 5.

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?

Two tight sentences that front-load the returned artifact and then explain the purchase and delivery flow. Every clause carries useful meaning, with no filler or repetition of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, but the description makes the return value unambiguous (a checkout link) and explains the downstream fulfillment path, so an agent knows what comes back. It could be slightly more complete by noting link expiration or behavior on repeat calls, but for a two-parameter, side-effect-free tool this is close to sufficient.

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 quantity are already documented, including that plan_id comes from find_plans/get_destination and that quantity means one eSIM per phone with a default of 1. The description only restates this with a slight reframing ('one per traveller'), adding no new constraint or format detail; the baseline 3 is appropriate.

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 states the concrete artifact returned (a roamfly.co checkout link) tied to a specific plan_id, and it references find_plans/get_destination as the sources of that id, which separates it from the sibling discovery tools. An agent can tell this is a link-generation step, not a purchase or catalog tool, without opening the schema.

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?

The description makes the use case explicit: obtain a checkout link that the buyer opens, signs into, and pays through. It routes the agent to feed plan_id from find_plans or get_destination, but it does not spell out when not to use it (e.g., for already-purchased plans or status checks) or any prerequisites such as authentication.

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