Skip to main content
Glama

Visa Rules For A Route

get_route_visa_rules
Read-onlyIdempotent

Visa rules for every country of a route in one call, for up to 10 passports at once, plus the tightest leg of the route.

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

Input Schema

NameRequiredDescriptionDefault
localeNoLanguage the user writes in (en, ru, de, fr, es, pt, tr). Set it on every call: the answer and the interactive card are shown in this language and units; without it the card falls back to the app's interface language.
weightNoVehicle weight class for the vehicle rules.
countriesYesCountries in travel order, comma separated ISO alpha-2 codes or slugs, up to 12, e.g. RU,GE,TR.
passportsNoPassports to answer for, comma separated, up to 10, e.g. RU,BY.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld, non-destructive), so the description's burden is lower. It still contributes real behavioral context beyond the annotations: batch scale (10 passports) and a derived summary output described as 'the tightest leg of the route', which tells the agent the response is aggregated rather than a flat per-country list.

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?

A single front-loaded sentence that packs scope, batch ceiling, and the derived return value with no filler. It is close to ideal length for this tool; the only minor waste is restating the passport limit already present in the 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?

Rich structured support surrounds this description: full schema coverage, four annotations, and an output schema, so return values need not be explained. The description adds the one thing structured data cannot convey — that the call spans an ordered multi-country route and returns a limiting-leg summary — making it complete enough to invoke correctly.

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%, with locale, weight, countries, and passports all documented including enums and examples, so the schema does the heavy lifting. The description's 'up to 10 passports' merely restates the schema's own passport limit and adds no syntax or ordering detail for the comma-separated countries field.

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?

The description uses a concrete resource ('visa rules') scoped to 'every country of a route' and discloses batch capacity ('up to 10 passports at once'), which separates it functionally from the single-check sibling check_visa_rules. It stops short of naming that sibling, so the differentiation is inferential rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by 'every country of a route in one call' and the 10-passport batch, suggesting this is the multi-country alternative to check_visa_rules. There is no explicit when-to-use/when-not statement and no named alternative, leaving the agent to infer selection criteria from the sibling list.

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.