Skip to main content
Glama

Compare Travel eSIMs

compare-esims
Read-onlyIdempotent

Use this when the user needs phone data abroad: a travel eSIM, an international data plan for a trip, avoiding roaming charges, "will my phone work in Japan", the cheapest data for N days in a country, or unlimited travel data. Ranks a curated catalog of country eSIM packages (Airalo, Saily, Ubigi, Holafly, Nomad) by USD list price among packages valid for the whole trip with at least the data needed, listing each provider's cheapest package first and then the remaining packages by price, and shows price per GB and per day with a provider link. It does not check phone compatibility; the phone must be eSIM-capable and unlocked. Destinations: AU, BR, CA, CO, DE, ES, FR, GB, GR, IT, JP, KR, MX, NL, PT, TH, TR, US. Inputs: destination (country code), days, optional data_gb, unlimited and providers. No personal data is used. Keywords: travel eSIM, eSIM for Japan, cheapest eSIM, international data plan, roaming.

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": {
      "destination": "<destination>",
      "days": "<days>"
    },
    "name": "compare-esims"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYesTrip length in days; packages must be valid at least this long.
data_gbNoMinimum data needed in GB (default 1). Ignored when unlimited is true.
providersNoOnly these providers, e.g. ["Airalo", "Saily"].
unlimitedNotrue: only unlimited-data packages; false: exclude them; omitted: unlimited packages also qualify.
destinationYesDestination country, ISO 3166-1 alpha-2 (e.g. JP, US, GB). Supported: AU, BR, CA, CO, DE, ES, FR, GB, GR, IT, JP, KR, MX, NL, PT, TH, TR, US.

Output Schema

NameRequiredDescriptionDefault
daysYes
basisYes
closestNoWhen nothing qualifies: the largest package that lasts the trip.
messageNo
resultsYes
excludedYes
disclosureYes
destinationYes
catalogVerifiedOldestNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedOutput schema / properties / closest / properties / promoCode
      Added value: +{
      +  "description": "Provider-published code the buyer enters at checkout; not used for ranking.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / closest / properties / promoEndsOn
      Added value: +{
      +  "description": "Last day promoCode is valid (ISO date).",
      +  "type": "string"
      +}
    • addedOutput schema / properties / closest / properties / promoPriceUsd
      Added value: +{
      +  "description": "Price after promoCode.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / results / items / properties / promoCode
      Added value: +{
      +  "description": "Provider-published code the buyer enters at checkout; not used for ranking.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / results / items / properties / promoEndsOn
      Added value: +{
      +  "description": "Last day promoCode is valid (ISO date).",
      +  "type": "string"
      +}
    • addedOutput schema / properties / results / items / properties / promoPriceUsd
      Added value: +{
      +  "description": "Price after promoCode.",
      +  "type": "number"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / destination / description
      Previous value: -"Destination country, ISO 3166-1 alpha-2 (e.g. JP, US, GB, FR, IT, ES, TH, MX)."New value: +"Destination country, ISO 3166-1 alpha-2 (e.g. JP, US, GB). Supported: AU, BR, CA, CO, DE, ES, FR, GB, GR, IT, JP, KR, MX, NL, PT, TH, TR, US."
  3. Changed2 schema fields changed
    • addedOutput schema / properties / closest / properties / offerTargetUrl
      Added value: +{
      +  "description": "Where offerUrl redirects to.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / results / items / properties / offerTargetUrl
      Added value: +{
      +  "description": "Where offerUrl redirects to.",
      +  "type": "string"
      +}
  4. Added

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the readOnly/idempotent annotations: the ranking rule (cheapest provider package first, then remaining by price), filtering by trip validity and minimum data, derived metrics (price per GB/day), link output, and the explicit compatibility caveat. It also notes no personal data is used.

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?

Front-loads the trigger phrases and keeps the ranking rule compact, but it repeats the full destination list that the schema already enumerates and appends a keyword block ('travel eSIM, eSIM for Japan, cheapest eSIM...') that duplicates earlier content.

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?

Even though an output schema exists, the description still explains what is returned (per-package price, price per GB and per day, provider link), the ranking order, and the supported destination set. Nothing an agent needs to call it correctly is missing.

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 the schema already documents every parameter including the days validity semantics and the unlimited tri-state. The description only restates the parameter names ('destination, days, optional data_gb, unlimited and providers') without adding format, defaults, or interaction detail beyond the schema.

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 ('Ranks a curated catalog of country eSIM packages ... by USD list price') and names the concrete provider set and output fields. An agent can tell this apart from compare-broadband or compare-mobile-plans 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Leads with explicit when-to-use triggers ('needs phone data abroad', 'avoiding roaming charges', 'will my phone work in Japan') and gives a clear exclusion ('It does not check phone compatibility'). The condition and the non-condition are both stated.

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