Skip to main content
Glama

Routavio

Flight prices

flight_prices
Read-onlyIdempotent

Use only when the user asks about flight prices or fares; for 'how do I get from A to B' use how_to_get instead, even if a date is given. Flight fares Routavio recorded between two cities in the last 14 days: price per person in EUR, airline, local departure and arrival time, flight duration, direct or with stops, and the day each fare was checked. Takes an optional departure date, return date (round trip), month and direct-only filter. Every city airport is included; the airport codes returned are the cities' airports, not the airport of a given fare, which is not recorded. Baggage allowance is not recorded. These are observed fares, not a live quote; each card links to a Routavio search for that day.

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": "flight_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesCity name in any language, e.g. London
dateNoDeparture day, YYYY-MM-DD
fromYesCity name in any language, e.g. Istanbul
monthNoDeparture month, YYYY-MM, when no exact day is given
adultsNoTravellers, carried into the Routavio search link
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.
directOnlyNoOnly fares with no stop
returnDateNoReturn day for a round trip, YYYY-MM-DD, after date

Output Schema

NameRequiredDescriptionDefault
toNo
dirNo
daysNo
fromNo
noteNo
cardsNo
faresNo
foundYes
localeNo
sourceNo
baggageNoRoutavio does not record baggage allowances
inboundNoOne-way return flights, shown when no round-trip fare is recorded
pageUrlNo
toLabelNo
airportsNo
tripTypeNooneWay | roundTrip
fromLabelNo
requestedNo
searchUrlNo
exactDateFoundNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already mark this as a safe read, and the description adds substantial context beyond them: data is limited to the last 14 days, fares are observed rather than live quotes, baggage allowance and the exact airport of each fare are not recorded, and each result links to a search. These caveats materially change how an agent should present the result to a user.

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?

The routing guidance is front-loaded ahead of the behavioral detail, and nearly every sentence carries information. The airport-code sentence is slightly convoluted and could be tighter, but nothing is filler.

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?

With an output schema present, the description need not document return shape, yet it still describes what a result card contains and flags the missing fields (baggage, per-fare airport). Combined with a 100%-covered input schema, an agent has everything needed to call and interpret this tool.

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 every parameter is already documented, and the description only re-summarises the optional filters (date, return date, month, direct-only) without adding format or interaction detail. It does not explain adults or locale behaviour beyond what the schema states, so it sits at the baseline for a fully documented schema.

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 states a specific resource (flight fares recorded between two cities in the last 14 days) and enumerates the returned fields, then explicitly contrasts itself with the sibling how_to_get. An agent can distinguish this from how_to_get and cheapest_destinations without opening any 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?

It gives an explicit when-to-use rule ('only when the user asks about flight prices or fares'), an explicit alternative ('for how do I get from A to B use how_to_get instead'), and even resolves a likely ambiguity ('even if a date is given'). That is the full when/when-not/alternative triad.

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