Skip to main content
Glama

Routavio

How to get there

how_to_get
Read-onlyIdempotent

Use this first for any 'how do I get / how to travel / route from A to B' question, also when the user names a date (the route options do not depend on the day; call flight_prices afterwards only if they also want flight fares for that day). Door-to-door ways to travel between two cities in Europe and Türkiye by plane, train, bus or ferry, from Routavio's route data: one option per transport mode with legs, operators, total duration, transfers and the lowest fare Routavio observed with the day it was checked, plus a link to the full Routavio page. Durations and fares are left out when Routavio could not confirm them.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "how_to_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesCity name in any language, e.g. İstanbul
fromYesCity name in any language, e.g. Ankara
localeNoLanguage of the user's question as a two-letter code (en, tr, de, fr, es, it, nl, pl, pt, ru, ar). The answer and the links use it.

Output Schema

NameRequiredDescriptionDefault
toNo
dirNo
fromNo
legsNo
foundYes
modesNo
localeNo
sourceNo
optionsNoOne door-to-door option per transport mode Routavio has a checked route for, lowest observed fare first.
pageUrlNo
toLabelNo
fromLabelNo
operatorsNo
searchUrlNo
transfersNo
modeLabelsNo
durationMinNo
fareCheckedOnNoYYYY-MM-DD the fare was checked
catalogueLabelNoThe label a catalogueFareEUR is printed under, e.g. Omio catalogue
routeCalculatedOnNoYYYY-MM-DD
lowestObservedFareEURNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, and destructiveHint=false, so safety is covered. The description still adds real behavior: exactly 'one option per transport mode,' what each option carries (legs, operators, duration, transfers, lowest observed fare plus the date checked), and a data-quality caveat that durations and fares are omitted when unconfirmed. It stops short of describing result ordering or how modes are chosen.

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, front-loaded with the trigger condition and the disambiguation before the data description. The long parenthetical about flight fares and the dense clause chain make it heavier than necessary, but every sentence carries information an agent needs.

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?

An output schema exists, so return values need not be spelled out, and annotations cover the safety profile. The description supplies the remaining essentials: routing trigger, alternative tool, geographic scope, transport modes, one-per-mode cardinality, and data-quality caveats. Nothing required to call it correctly 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 'from', 'to', and 'locale' are already fully documented in the schema. The description adds no syntax or format guidance beyond mentioning that users may name a date, and it never touches the locale parameter. Baseline 3 is appropriate when the schema does the heavy lifting.

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 resource and scope: 'Door-to-door ways to travel between two cities in Europe and Türkiye by plane, train, bus or ferry, from Routavio's route data.' It also implicitly separates itself from flight_prices by framing this as the general route tool, so an agent can tell the two apart without opening a 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?

Explicitly says to use this first for 'how do I get / how to travel / route from A to B' questions, covers the date edge case, and names the alternative with a condition: 'call flight_prices afterwards only if they also want flight fares for that day.' When-to-use, when-not, and the alternative are all present.

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