Skip to main content
Glama

varioroam eSIM configurator

Plan a multi-country trip

plan_trip
Read-onlyIdempotent

A trip through several countries (max 5): one eSIM per country, each quoted with the same data pool and days unless given per country (gb omitted = sized for normal use from the days). days is PER COUNTRY, never the whole trip: for a 12-day trip through Japan and Thailand pass per_country days that add up to 12 (e.g. 7 + 5). Returns one line per country with price and buy_url, plus the total. Use when the customer names two or more countries and a size (2–5 destinations); for one country call quote_esim; use recommend_config when they describe usage instead.

Input Schema

NameRequiredDescriptionDefault
gbNoData pool per country in whole GB (1–100). Omit = sized for normal use from the days (1.5 GB/day).
daysNoValidity days in EACH country (1–90, default 7) — NOT the length of the whole trip. A 12-day trip through 3 countries is about 4 days per country: split the trip with per_country days that add up to the trip length.
bucketNoOptional language-region bucket the customer shops in, e.g. en-gb, de-de (sets currency and link locale). Defaults from language.
currencyNo
languageNoISO language of the conversation, e.g. en, de, ja. Localizes country names and sets the language/currency of links and prices.
per_countryNoOptional overrides per country (gb and/or days, same ranges as above). Use it to split the trip: the days of all countries together should add up to the trip length.
destinationsYesCountries of the trip (2–5), any language or ISO codes, in travel order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / days / description
      Previous value: -"Validity days per country (1–90). Default 7."New value: +"Validity days in EACH country (1–90, default 7) — NOT the length of the whole trip. A 12-day trip through 3 countries is about 4 days per country: split the trip with per_country days that add up to the trip length."
    • changedInput schema / properties / per_country / description
      Previous value: -"Optional overrides per country (gb and/or days, same ranges as above)."New value: +"Optional overrides per country (gb and/or days, same ranges as above). Use it to split the trip: the days of all countries together should add up to the trip length."
  2. Changed12 schema fields changed
    • addedInput schema / properties / days / maximum
      Added value: +90
    • addedInput schema / properties / days / minimum
      Added value: +1
    • changedInput schema / properties / destinations / description
      Previous value: -"Countries of the trip, any language or ISO codes, in travel order."New value: +"Countries of the trip (2–5), any language or ISO codes, in travel order."
    • addedInput schema / properties / destinations / minItems
      Added value: +2
    • changedInput schema / properties / per_country / description
      Previous value: -"Optional overrides per country (gb and/or days)."New value: +"Optional overrides per country (gb and/or days, same ranges as above)."
    • addedInput schema / properties / per_country / items / properties / days / description
      Added value: +"Validity days (1–90) for this country."
    • addedInput schema / properties / per_country / items / properties / days / maximum
      Added value: +90
    • addedInput schema / properties / per_country / items / properties / days / minimum
      Added value: +1
    • addedInput schema / properties / per_country / items / properties / gb / description
      Added value: +"Whole GB (1–100) for this country."
    • addedInput schema / properties / per_country / items / properties / gb / maximum
      Added value: +100
    • addedInput schema / properties / per_country / items / properties / gb / minimum
      Added value: +1
    • changedInput schema / properties / per_country / items / properties / gb / type
      Previous value: -"number"New value: +"integer"
  3. Changed4 schema fields changed
    • changedInput schema / properties / gb / description
      Previous value: -"Data pool per country in GB (1–100). Default 5."New value: +"Data pool per country in whole GB (1–100). Omit = sized for normal use from the days (1.5 GB/day)."
    • addedInput schema / properties / gb / maximum
      Added value: +100
    • addedInput schema / properties / gb / minimum
      Added value: +1
    • changedInput schema / properties / gb / type
      Previous value: -"number"New value: +"integer"
  4. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds real behavior beyond them: the 5-country cap, the default sizing rule (gb omitted = 1.5 GB/day from days), and the per-country output format with total. It doesn't discuss failures (e.g. an unsupported destination) or fallback when a country has no eSIM, which is why it isn't a 5.

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?

One dense paragraph, front-loaded with purpose, then the per-country day rule, then return shape, then routing to alternatives — a sensible order. Slightly redundant with the schema's own days description, and the parenthetical explanations stack up, but no sentence is filler.

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?

For a 7-param, 1-required tool with no output schema, the description covers the destinations, days, gb, per_country and return values adequately. The minor gaps are the locale params (bucket, currency, language) and no guidance on what happens when a destination in the list isn't sold — small omissions for a read-only quoting tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 86%, so the baseline is 3, but the description earns more by hammering the most error-prone semantic: days is PER COUNTRY, never trip length, with a concrete worked example (12-day Japan+Thailand trip = 7 + 5). That's the exact misreading an agent would make from the schema alone. bucket and currency get no description treatment, capping it at 4.

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 ('a trip through several countries (max 5)'), the per-country quoting model, and the exact return shape (one line per country with price and buy_url, plus total). It explicitly separates itself from quote_esim (single country) and recommend_config (usage descriptions), so an agent can pick it 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?

Gives an explicit trigger ('when the customer names two or more countries and a size, 2–5 destinations') plus named alternatives with their selecting conditions: quote_esim for one country, recommend_config when they describe usage. Both when-to-use and when-not-to-use are covered.

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