Skip to main content
Glama

eSIM-Global.VIP eSIM Catalog

Recommend a plan for a trip

recommend_plan
Read-onlyIdempotent

Turn a trip into up to three plan recommendations: countries (1-5, any language), number of days and how much data the traveller uses. Each fit carries the full plan facts, the total price for the whole trip and a one-sentence reason built only from catalogue facts. Use this first whenever the user describes a trip rather than asks for a list.

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

Input Schema

NameRequiredDescriptionDefault
daysYesTrip length in days.
usageNolight ≈ 0.5 GB/day (maps, messaging), normal ≈ 1.5 GB/day (social, some video), heavy ≈ 4 GB/day (video, hotspot). Default normal.
bucketNoOptional language-region bucket the customer shops in, e.g. "en-gb", "de-de". Wins over language; prices and links are quoted in it.
budgetNoOptional maximum total for the trip, in the result currency.
currencyNoOptional ISO 4217 code. Every price in the result is quoted in it.
languageNoISO language of the conversation, e.g. en, de, ja. Plan names and country names come back in it when available. Bare "en" is quoted in en-us / USD.
countriesYesCountries or regions of the trip, any language.
gb_per_dayNoOverrides usage with an explicit daily need in GB.

Output Schema

NameRequiredDescriptionDefault
tripNo
messageNo
currencyNo
all_plans_urlNo
pricing_bucketNo
recommendationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / recommendations / items / properties / plan / properties / last_updated
      Added value: +{
      +  "description": "Date the plan was last updated in the catalogue (YYYY-MM-DD).",
      +  "type": "string"
      +}
    • removedOutput schema / properties / recommendations / items / properties / plan / properties / last_verified
      Removed value: -{
      -  "description": "Date the plan facts were last synchronised from the supplier (YYYY-MM-DD), when known.",
      -  "type": "string"
      -}
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive behavior, so the description is not required to cover safety. It adds genuine behavioral context beyond that: a cap of three results, inclusion of total trip price, and the constraint that reasons are 'built only from catalogue facts' (an anti-hallucination guarantee an agent cannot infer elsewhere).

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, no filler, and both the capability and the routing rule are front-loaded. The second sentence is somewhat clause-heavy, but every element (result cap, contents, pricing, grounding) carries information an agent needs.

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 an output schema present and 100% parameter coverage, the description needn't document returns or parameter formats, and it correctly focuses on purpose and routing. The only minor gap is that it doesn't note how optional budget/currency/bucket narrow or reshape results, though the schema covers those fields individually.

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% and each parameter already carries a precise description, so the baseline of 3 applies. The description echoes countries, days and data usage but adds no syntax or interaction detail (e.g. how budget interacts with currency, or how gb_per_day overrides usage) beyond what the schema states.

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 names a specific verb and resource ('Turn a trip into up to three plan recommendations') and pins the scope with concrete bounds ('countries (1-5, any language)'). It also describes what each result contains (plan facts, total trip price, one-sentence grounded reason), which clearly separates it from list-style siblings like search_esim_plans.

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 this first whenever the user describes a trip rather than asks for a list' gives an explicit trigger condition and implicitly routes list-style requests elsewhere. It stops short of naming an alternative tool by name or stating exclusions for follow-ups (e.g. when to prefer get_plan_details after a recommendation), so it is strong but not fully exhaustive.

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