Skip to main content
Glama

Get eSIM plan details

get_esim_plan
Read-onlyIdempotent

Fetch full details of a single Siima eSIM plan by its id (from search_esim_plans). To buy: call create_checkout_link with the plan id, give the returned URL to the user. They confirm their email with a 6-digit code and pay there; nothing is ordered until they do. After payment they are emailed a link to their eSIM; opening it on their phone gives a one-tap install, the QR code and manual codes. No account needed.

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_esim_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_idYesPlan id returned by search_esim_plans
currencyNoCurrency for prices: "usd", "eur", or "gbp". Defaults to "usd".usd

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / currency
      Added value: +{
      +  "default": "usd",
      +  "description": "Currency for prices: \"usd\", \"eur\", or \"gbp\". Defaults to \"usd\".",
      +  "enum": [
      +    "usd",
      +    "eur",
      +    "gbp"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds genuinely useful behavioral context beyond that: nothing is ordered until the user confirms and pays, and no account is required. What it does not disclose is what "full details" actually contains (coverage, validity, price fields), which matters since there is no output schema.

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?

Purpose and id provenance are front-loaded in the first clause, which is correct. The remaining sentences are dense but drift into the create_checkout_link purchase flow, which is arguably the sibling's job; they are informative rather than wasteful, but slightly dilute the single-tool focus.

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?

For a two-parameter read-only lookup with full schema coverage and rich annotations, this is close to sufficient: the agent knows the input, the provenance of the id, and that it is a safe lookup. The one meaningful gap is that no output schema exists and the description never hints at the shape of the returned plan details.

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 already documents plan_id as a UUID from search_esim_plans and currency as usd/eur/gbp with a usd default. The description only restates the plan_id provenance and never mentions the currency parameter or how it affects returned prices, so it adds essentially nothing over the schema. Baseline 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 ("Fetch full details of a single Siima eSIM plan by its id") and immediately names the sibling that produces the id (search_esim_plans). An agent can distinguish it from search_esim_plans and create_checkout_link without opening either schema.

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?

Gives explicit routing: use this after search_esim_plans to resolve a plan id, and for purchasing call create_checkout_link with that id. It even describes the downstream sequence (URL to user, 6-digit email confirmation, payment, emailed install link) so the agent knows this tool is a read-only lookup and never the purchase step.

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