Skip to main content
Glama

Get plan details

get_plan
Read-onlyIdempotent

Use for questions about one plan returned by another tool. Details of one Bloomy eSIM plan by plan_id: data, validity, when validity starts, network (4G/5G) and carriers per country, top-up support, price_jpy, price_usd, price_as_of and the checkout link.

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

Input Schema

NameRequiredDescriptionDefault
daysNoTrip length in days. For daily plans it sets the number of days and the total price; ignored for fixed-GB plans.
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.
plan_idYesRequired. The plan_id from recommend_plan or search_plans, e.g. 14085.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / days / description
      Previous value: -"Trip length (sets the day count and total for daily plans)."New value: +"Trip length in days. For daily plans it sets the number of days and the total price; ignored for fixed-GB plans."
    • 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."
    • addedInput schema / properties / plan_id / description
      Added value: +"Required. The plan_id from recommend_plan or search_plans, e.g. 14085."
  2. Changed1 schema field changed
    • 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)."
  3. First observed

TDQS

A3.6/5.0
Behavior3/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 the safety profile is fully covered. The description's added value is listing the returned payload (data, validity, network, top-up support, both prices, price_as_of, checkout link), which is useful since there is no output schema. However it says nothing about failure modes for an unknown plan_id, currency guarantees, or pagination—no contradiction, but modest depth beyond annotations.

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?

Two sentences, usage cue front-loaded, then a dense field list—no filler. The second sentence is a long comma-separated enumeration, which is information-dense but slightly harder to scan than a structured list would be.

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?

With no output schema and a simple three-parameter read tool, the field enumeration in the description carries the return-value burden well. Missing only edge-case behavior (invalid plan_id, what happens when days is passed for a fixed-GB plan) to be fully complete.

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 explains plan_id provenance, the lang enum and its price-invariance guarantee, and how days only matters for daily plans. The description reinforces plan_id's origin but adds no meaning beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Details of one Bloomy eSIM plan by plan_id') and enumerates the returned attributes, so the agent knows exactly what comes back. It stops short of naming the sibling tools that produce the plan_id (recommend_plan, search_plans); that routing only appears in the schema's plan_id description.

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?

'Use for questions about one plan returned by another tool' gives a clear trigger and implicitly the precondition (you must already hold a plan_id from a prior call). It does not state exclusions or explicitly contrast with search_plans/recommend_plan, so it stops short of a 5.

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