Skip to main content
Glama

Airportia Flight Tracker

Flights between two airports

route_flights
Read-onlyIdempotent

Flights between two airports: the next scheduled departures (up to 10, the next 30 days) and the most recent ones with their status. Accepts IATA/ICAO codes, airport names or cities; a city with several airports resolves to its main one (the answer names it), so other airports of that city need their own call with their codes, e.g. "LGW" or "STN" for London. Data from Airportia.com.

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

Input Schema

NameRequiredDescriptionDefault
toYesArrival airport or city, e.g. "LHR", "London Heathrow".
fromYesDeparture airport or city, e.g. "ATH", "Athens".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already state readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds real behavioral detail beyond that: result cap of 10, a 30-day horizon, inclusion of recent flights with status, and the city-to-main-airport resolution that can silently narrow results. It is slightly in tension with openWorldHint=false by citing Airportia.com as the data source, but that reads as attribution rather than a claim of open-ended external access.

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?

Front-loads what the tool returns, then input formats, then the city caveat, with no filler sentences. The parenthetical stacking ('up to 10, the next 30 days') and slightly indirect phrasing 'the answer names it' cost a little clarity.

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?

For a two-parameter read tool with no output schema, the description covers input formats, result volume, time window, what each result carries (status), and the main edge case (multi-airport cities). Nothing an agent needs in order to call it correctly and interpret the result is missing.

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 100 percent with worked examples for both from and to, so the baseline is already satisfied. The description still adds meaning the schema does not: ICAO codes are accepted in addition to IATA and names, and city values have non-obvious resolution semantics that affect what results come back.

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?

Names a specific resource and scope: 'Flights between two airports' with next scheduled departures (capped at 10, within 30 days) plus recent flights with status. That level of detail lets an agent distinguish it from status-lookup or single-airport-board siblings 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 Guidelines4/5

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

Gives concrete input handling guidance (IATA/ICAO codes, airport names, cities) and a clear in-tool branching rule: a multi-airport city resolves to its main airport and other airports require separate calls with their own codes. It does not explicitly name when to prefer a sibling like flight_status or airport_board, so it stops short of a 5.

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