Skip to main content
Glama

Recommend a plan

recommend_plan
Read-onlyIdempotent

Use when a traveler asks which eSIM to get for a trip. Input: destination (or every country of a multi-country trip in destinations), trip length in days, and how they use data if known. Estimates the GB the trip needs (need_gb, same formula as estimate_data), then returns up to 3 Bloomy eSIM plans with a reason each: best_fit (lowest price in our catalog that covers the estimate with about 20% headroom, or exactly the estimate when the headroom would cost much more), budget (cheaper: either sized right at the estimate, or below it with covers_estimate false, meaning it may not be enough) and roomier (next size up, or a daily unlimited plan for heavy use). A multi-country trip is matched to one regional plan that covers every country. Each option has data, validity, networks (4G/5G per carrier), top-up support, price_jpy, price_usd and price_as_of, plus purchase_url (the checkout confirmation page; the traveler pays there).

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": {
      "days": "<days>"
    },
    "name": "recommend_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYesRequired. Trip length in days, integer 1 to 180 (the whole trip for a multi-country trip). Example: 7.
langNoLanguage of country names, reasons and of the checkout page the link opens: en, ja, zh-cn, zh-tw, ko, es or fr. Default en. The language never changes which plan or what price is returned: every plan carries price_jpy and price_usd (both always present) and price_as_of.
wifiNoHow often the traveler will be on hotel or cafe Wi-Fi instead of mobile data: rarely, sometimes (default) or often. More Wi-Fi lowers the estimate.
usageNoRough data usage when activities are not known: light = maps and messaging, normal = maps, messaging, web and social (default), heavy = normal plus video streaming. Ignored when activities or min_gb is given.
min_gbNoData the traveler already knows they want, in GB for the whole trip (e.g. 10). Skips the estimate; overrides usage and activities.
activitiesNoWhat the traveler will use mobile data for, when they say so, e.g. ["maps", "social", "video_call"]. hotspot_light / hotspot_heavy mean sharing the connection with another device. Overrides usage. Same categories as bloomyesim.com/data-calculator.
destinationNoOne country or region for a single-country trip. Country name in English, Japanese, Chinese, Korean, Spanish or French, common names included (e.g. "Turkey", "Türkiye", "トルコ", "튀르키예", "Hawaii") or an ISO 3166-1 alpha-2 code ("TR"). Use destinations instead for several countries.
destinationsNoEvery country of a multi-country trip (2 to 5 entries; names in any supported language or ISO alpha-2 codes), e.g. ["France", "Italy", "Spain"]. One eSIM that covers all of them is searched. Use instead of destination.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / activities / description
      Previous value: -"Specific uses named by the traveler (e.g. hotspot_light for tethering, video_call, video). Overrides usage. Same categories as bloomyesim.com/data-calculator."New value: +"What the traveler will use mobile data for, when they say so, e.g. [\"maps\", \"social\", \"video_call\"]. hotspot_light / hotspot_heavy mean sharing the connection with another device. Overrides usage. Same categories as bloomyesim.com/data-calculator."
    • changedInput schema / properties / days / description
      Previous value: -"Trip length in days (total for a multi-country trip)."New value: +"Required. Trip length in days, integer 1 to 180 (the whole trip for a multi-country trip). Example: 7."
    • changedInput schema / properties / destination / description
      Previous value: -"Country name in any of en/ja/zh/ko/es/fr (e.g. \"Turkey\", \"トルコ\", \"Türkiye\") or ISO 3166-1 alpha-2 code (\"TR\"). For one country."New value: +"One country or region for a single-country trip. Country name in English, Japanese, Chinese, Korean, Spanish or French, common names included (e.g. \"Turkey\", \"Türkiye\", \"トルコ\", \"튀르키예\", \"Hawaii\") or an ISO 3166-1 alpha-2 code (\"TR\"). Use destinations instead for several countries."
    • changedInput schema / properties / destinations / description
      Previous value: -"For a trip through several countries: every country visited (names or ISO codes). One eSIM covering all of them is searched. Alternative to destination."New value: +"Every country of a multi-country trip (2 to 5 entries; names in any supported language or ISO alpha-2 codes), e.g. [\"France\", \"Italy\", \"Spain\"]. One eSIM that covers all of them is searched. Use instead of destination."
    • changedInput schema / properties / lang / description
      Previous value: -"Language for names and for the purchase page. Default en when omitted. The language never changes which plan or what price is returned: every plan carries price_jpy and price_usd (both always present)."New value: +"Language of country names, reasons and of the checkout page the link opens: en, ja, zh-cn, zh-tw, ko, es or fr. Default en. The language never changes which plan or what price is returned: every plan carries price_jpy and price_usd (both always present) and price_as_of."
    • changedInput schema / properties / min_gb / description
      Previous value: -"Alternative to usage/activities when the GB wanted is already known."New value: +"Data the traveler already knows they want, in GB for the whole trip (e.g. 10). Skips the estimate; overrides usage and activities."
    • changedInput schema / properties / usage / description
      Previous value: -"light = maps and messaging, normal = maps, messaging, web and social (default), heavy = plus video streaming. Superseded by activities when given."New value: +"Rough data usage when activities are not known: light = maps and messaging, normal = maps, messaging, web and social (default), heavy = normal plus video streaming. Ignored when activities or min_gb is given."
    • changedInput schema / properties / wifi / description
      Previous value: -"How often hotel/cafe Wi-Fi is used. Default sometimes."New value: +"How often the traveler will be on hotel or cafe Wi-Fi instead of mobile data: rarely, sometimes (default) or often. More Wi-Fi lowers the estimate."
  2. Changed4 schema fields changed
    • changedInput schema / properties / destinations / description
      Previous value: -"For a trip through several countries: every country visited (names or ISO codes). One eSIM covering all of them is searched. Use instead of destination."New value: +"For a trip through several countries: every country visited (names or ISO codes). One eSIM covering all of them is searched. Alternative to destination."
    • changedInput schema / properties / lang / description
      Previous value: -"Language for names and for the purchase page. Default en."New value: +"Language for names and for the purchase page. Default en when omitted. The language never changes which plan or what price is returned: every plan carries price_jpy and price_usd (both always present)."
    • changedInput schema / properties / min_gb / description
      Previous value: -"Use this instead of usage/activities when the traveler already knows the GB they want."New value: +"Alternative to usage/activities when the GB wanted is already known."
    • changedInput schema / properties / usage / description
      Previous value: -"light = maps and messaging, normal = maps, messaging, web and social (default), heavy = plus video streaming. Use activities instead when the traveler names specific uses."New value: +"light = maps and messaging, normal = maps, messaging, web and social (default), heavy = plus video streaming. Superseded by activities when given."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent, read-only, closed-world lookup, so the safety bar is low. The description goes well beyond that by disclosing the selection algorithm (about 20% headroom for best_fit, budget may fall below the estimate with covers_estimate false, roomier is next size up or a daily unlimited plan), the multi-country-to-regional-plan matching rule, and that purchase_url leads to a checkout page where the traveler pays.

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?

Opens with the when-to-use trigger before the mechanics, which is the right front-loading. It is a single dense paragraph of roughly 150 words with no filler sentences, though the payoff-field enumeration at the end makes it a heavier read than necessary.

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?

No output schema exists, so the description must carry the return shape, and it does: data, validity, networks per carrier, top-up support, price_jpy/price_usd/price_as_of and purchase_url. For an 8-parameter tool with a resolved-region matching rule, that is largely complete; only the precedence order between destination and destinations when both are supplied is left unstated.

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 enums and defaults; baseline is 3. The description adds the relationship between destination and destinations (multi-country resolves to one regional plan) and the precedence of usage/activities, but does not restate override rules the schema already spells out, so it sits at the baseline rather than above it.

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 ('recommend' an eSIM plan for a trip) and immediately scopes it: estimates GB, then returns up to 3 named plan options with reasons. An agent can distinguish this from estimate_data (which it explicitly references as sharing the formula) and from search_plans/list_destinations without opening a 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 opening 'Use when a traveler asks which eSIM to get for a trip' gives a clear triggering context, and it lists the inputs the caller should supply (destination(s), days, usage if known). It does not explicitly exclude alternatives — e.g. 'use estimate_data if you only need the GB number' — leaving the boundary with estimate_data and search_plans to inference.

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