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

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

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • removedOutput schema / properties / data / items / properties / arrivalCity / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / arrivalCity / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / arrivalCountry / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / arrivalCountry / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / departureCity / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / departureCity / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / departureCountry / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / departureCountry / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the sort order ('sorted by flight count descending') and the returned fields (city and country info), which is useful context beyond the annotations. It does not disclose the default limit of 20, the 100 cap, or how the date window affects the ranking, which are relevant behavioral facts.

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?

Four short sentences ordered sensibly: purpose, filter dimensions, the bidirectional switch, return shape, then an example. The example partially restates what the second sentence already says, but nothing is egregiously padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the return-shape sentence is a bonus rather than a requirement, and the read-only nature is covered by annotations. However, for a tool with 8 parameters where two are date bounds, omitting any description of the time window leaves a real gap in what an agent needs to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 13%, so the description must carry most of the load. It explains the country/airport filters and re-explains bidirectional (already documented in the schema), but dateFrom and dateTo — likely the most consequential parameters for a frequency ranking — and limit are never mentioned in either place.

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?

States a specific resource and metric — 'Top flight routes ranked by frequency' — with the filtering dimensions named immediately after. It is distinguishable from siblings like Flight_flights_by_country or Flight_flights_by_distance by being route-centric, though it never explicitly contrasts itself with them.

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 a concrete worked example ('departureCountry=AU, arrivalCountry=ID, bidirectional=true') that shows exactly how to compose the filters for the intended use case. It stops short of naming alternatives or stating when another tool is preferable, so no exclusions are provided.

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.