Skip to main content
Glama

Flight_top_routes

Read-only

Top flight routes ranked by frequency. Filter by departure/arrival country or airport. Set bidirectional=true to combine both directions (e.g. AU↔ID). Returns routes sorted by flight count descending with city and country info. Example: top routes between Australia and Indonesia with departureCountry=AU, arrivalCountry=ID, bidirectional=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
dateToNo
dateFromNo
bidirectionalNoWhen true, matches routes in both directions between the given countries/airports.
arrivalAirportNo
arrivalCountryNo
departureAirportNo
departureCountryNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, destructiveHint=false, so the safety profile is covered. The description adds real context beyond that: results are sorted by flight count descending and include city and country info, and bidirectional combines both directions. It omits pagination/limit behavior and date-range semantics, keeping it below 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?

The purpose and sort behavior are front-loaded, followed by filters and a single concrete example. Every sentence contributes, though the trailing example partially restates the filter parameters already named earlier.

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?

With no required parameters and an output schema present, the description need not explain return values, yet it still notes the sort order and included fields. The main gap is the undocumented limit and date-range parameters, which leaves a modest hole for an 8-parameter 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 only 13% (only bidirectional is documented in the schema), so the description must compensate. It explains the departure/arrival country and airport filters plus bidirectional via a worked example, but leaves limit, dateFrom, and dateTo unexplained and never states the airport/country code formats.

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 gives a specific verb+resource ('Top flight routes ranked by frequency') and names the filtering dimensions, which cleanly separates it from sibling tools like Flight_list_flights and Flight_flights_by_distance. It does not explicitly name or contrast a sibling, so it stops short of a 5.

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 through a concrete example (departureCountry=AU, arrivalCountry=ID, bidirectional=true), which shows the intended call shape. However, there is no explicit when-to-use guidance or routing away from similar tools such as Flight_flights_by_country, so an agent must infer the choice.

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.