Skip to main content
Glama

Search plans

search_plans
Read-onlyIdempotent

Use when the traveler wants to browse or compare Bloomy eSIM plans for one destination themselves. Lists plans cheapest first, single-country plans before regional ones, each with data (GB), validity (days), plan_type, networks (4G/5G), top-up support, price_jpy, price_usd, price_as_of and plan_id. Filter by trip length, minimum GB and plan type. For a recommendation with reasons, recommend_plan is the better fit.

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>"
    },
    "name": "search_plans"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
limitNoMaximum number of plans to return, 1 to 20. Default 8.
min_gbNoMinimum data in GB, e.g. 3. For fixed-GB plans this is the total; for daily plans it is the high-speed allowance per day.
min_daysNoTrip length in days (integer). Fixed-GB plans valid for fewer days are skipped; daily plans are priced for this many days.
plan_typeNo"data" = a fixed amount of GB for the whole validity period; "unlimited" = daily plans priced per day (a daily high-speed allowance, then slower speed). Omit to include both.
destinationYesRequired. Country name (English, Japanese, Chinese, Korean, Spanish or French) or ISO 3166-1 alpha-2 code, e.g. "Japan", "日本" or "JP". A country with no dedicated plan returns an error, never plans for a different country.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / destination / description
      Previous value: -"Required. Country name (any supported language) or ISO alpha-2 code. A country with no dedicated plan returns an error, never plans for a different country."New value: +"Required. Country name (English, Japanese, Chinese, Korean, Spanish or French) or ISO 3166-1 alpha-2 code, e.g. \"Japan\", \"日本\" or \"JP\". A country with no dedicated plan returns an error, never plans for a different country."
    • 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 / limit / description
      Previous value: -"Default 8."New value: +"Maximum number of plans to return, 1 to 20. Default 8."
    • changedInput schema / properties / min_days / description
      Previous value: -"Trip length. Fixed-GB plans shorter than this are skipped; daily plans get the trip total."New value: +"Trip length in days (integer). Fixed-GB plans valid for fewer days are skipped; daily plans are priced for this many days."
    • changedInput schema / properties / min_gb / description
      Previous value: -"Minimum GB (daily allowance for daily plans)."New value: +"Minimum data in GB, e.g. 3. For fixed-GB plans this is the total; for daily plans it is the high-speed allowance per day."
    • changedInput schema / properties / plan_type / description
      Previous value: -"\"data\" = fixed GB for the whole period, \"unlimited\" = priced per day. Omit to include both types."New value: +"\"data\" = a fixed amount of GB for the whole validity period; \"unlimited\" = daily plans priced per day (a daily high-speed allowance, then slower speed). Omit to include both."
  2. Changed3 schema fields changed
    • changedInput schema / properties / destination / description
      Previous value: -"Country name (any supported language) or ISO alpha-2 code."New value: +"Required. Country name (any supported language) or ISO alpha-2 code. A country with no dedicated plan returns an error, never plans for a different country."
    • 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 / plan_type / description
      Previous value: -"\"data\" = fixed GB for the whole period, \"unlimited\" = priced per day."New value: +"\"data\" = fixed GB for the whole period, \"unlimited\" = priced per day. Omit to include both types."
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered; the description then adds non-obvious behavior the annotations cannot: the ordering rules (cheapest first, single-country before regional) and the exact per-plan field set returned. It stops short of describing response shape/limit defaults, which are left to the 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?

The trigger condition is front-loaded, followed by ordering/return contract, then the alternative — a logical sequence with no filler sentences. The middle sentence's long enumerated field list is dense but earns its place since there is no output schema.

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?

With 6 parameters at full schema coverage, no output schema and read-only annotations, an agent has everything it needs: trigger, alternative, ordering, and the returned field set. Error behavior for a country without a plan is covered in the schema, so nothing material 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 description coverage is 100%, so the schema already documents destination, lang, limit, min_gb, min_days and plan_type in detail. The description only restates them as filter dimensions (trip length, minimum GB, plan type) without adding format or interaction detail beyond the schema, which is the baseline-3 case.

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 opening sentence names a specific verb set (browse, compare) and resource (Bloomy eSIM plans) bounded to one destination and performed by the traveler themselves. It explicitly contrasts with recommend_plan, so an agent can route between the two 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?

It states the triggering condition (traveler browses/compares on their own) and names the alternative (recommend_plan) with the condition that selects it (a recommendation with reasons). Both directions of the use/use-instead decision are explicit.

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