Skip to main content
Glama

get_plan_details

Read-only

Get the full details of a single eSIM plan by its SKU. Use this when the user wants to inspect or confirm one specific plan before checkout (e.g. "tell me more about the 5GB Italy plan", "what does Premium Unlimited mean for this plan?"), or when you need to re-display the details of a plan you found earlier in the conversation. Returns destination, data allowance, validity, price, plan benefits and speed characteristics in the same rich format as search_esims, but focused on one plan. CURRENCY HANDLING (IMPORTANT): pass the SAME currency used in this conversation's earlier search_esims call so the price shown here matches what the user will see at checkout. Defaults to USD. Does NOT generate a checkout URL — for that, follow up with create_checkout_url using the same SKU and currency. DESTINATION GUIDE: the result includes a destination_url (e.g. https://esimfinder.io/esim/japan) — include this link in your reply so the user can open the full destination guide. LANGUAGE (IMPORTANT): pass the language parameter set to the language YOU are replying in ("de" when you answer in German). destination_url then points at the German page when language is "de" and one exists, otherwise at the English page (esimfinder.io pages exist in English and German only, no other language prefix exists); use it exactly as returned.

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": {
      "sku": "<sku>"
    },
    "name": "get_plan_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuYesPlan SKU returned by search_esims (e.g. "2025h2_5GB_30D_IT_V2", "esimp_5GB_30D_AT_ULE_V2").
currencyNoISO 4217 currency code (e.g. USD, EUR, GBP). Defaults to USD. MUST match the currency used in this conversation's search_esims call so price consistency is preserved.
languageNoThe language YOU are replying in, as a short code ("de" for German, "en" for English, "es", "fr"). REQUIRED whenever you are answering in anything other than English: the server uses it to pick the destination page. esimfinder.io pages exist in English and German only, so "de" returns the German page when one exists and every other language returns the English page. Derive it from the language of your own reply, never from the destination country.

Output Schema

NameRequiredDescriptionDefault
skuYes
dataYesData allowance label, e.g. "5 GB" or "Unlimited Essential".
priceYes
currencyYes
plan_typeYesFixed data | Unlimited Essential (ULE) | Premium Unlimited (PUL) | Unlimited.
destinationYes
validity_daysYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / language / description
      Previous value: -"The language YOU are replying in, as a short code (\"de\" for German, \"en\" for English, \"es\", \"fr\"). REQUIRED whenever you are answering in anything other than English: the server uses it to return destination_url for the page in that language. Derive it from the language of your own reply, never from the destination country."New value: +"The language YOU are replying in, as a short code (\"de\" for German, \"en\" for English, \"es\", \"fr\"). REQUIRED whenever you are answering in anything other than English: the server uses it to pick the destination page. esimfinder.io pages exist in English and German only, so \"de\" returns the German page when one exists and every other language returns the English page. Derive it from the language of your own reply, never from the destination country."
  2. Changed1 schema field changed
    • addedInput schema / properties / language
      Added value: +{
      +  "description": "The language YOU are replying in, as a short code (\"de\" for German, \"en\" for English, \"es\", \"fr\"). REQUIRED whenever you are answering in anything other than English: the server uses it to return destination_url for the page in that language. Derive it from the language of your own reply, never from the destination country.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is set. The description goes well beyond that by disclosing the currency-consistency rule that keeps the displayed price aligned with checkout, the destination_url returned and the instruction to surface it, and the language-to-page mapping with the concrete constraint that esimfinder.io only publishes English and German pages. Those are non-obvious behaviors an agent would otherwise get wrong.

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 the checkout boundary are front-loaded in the first two sentences, and every section maps to a decision the agent must make. It runs long for a three-parameter read tool, and the ALL-CAPS labelled blocks (CURRENCY HANDLING, LANGUAGE, DESTINATION GUIDE) partly duplicate schema text that already says the same thing, which costs some tightness.

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?

For a single-record read with an output schema, the description need not explain return values, and it nonetheless names the fields (destination, data allowance, validity, price, benefits, speed) and the destination_url the agent must surface. Currency, language, checkout handoff and the language-fallback edge case are all resolved, leaving no gap an agent must guess at.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3 and the schema already documents all three parameters. The description adds the reason behind the currency parameter ('so the price shown here matches what the user will see at checkout') and restates the derive-language-from-your-own-reply rule, which clarifies intent even where it overlaps the schema text. The value added is real but incremental, hence 4 rather than 5.

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 a specific verb and resource ('Get the full details of a single eSIM plan by its SKU') and explicitly contrasts the scope with the sibling search_esims ('same rich format as search_esims, but focused on one plan'). An agent can distinguish it from create_checkout_url and search_esims without opening any 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?

It gives concrete when-to-use triggers with realistic user phrasings ('tell me more about the 5GB Italy plan', re-displaying an earlier result) and an explicit when-not boundary: it does not mint a checkout URL, so follow up with create_checkout_url using the same SKU. What is missing is guidance on what to do when the SKU is unknown or stale, though the practical alternatives are covered.

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