Skip to main content
Glama

Get Route Destination Airports Analytics

get_route_destination_airports_analytics
Read-only

Returns analytics for airports that can be used on the destination side of a route, including prices, route availability, direct flights, and airlines.

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": {
      "originCode": "<originCode>",
      "destinationCode": "<destinationCode>",
      "locale": "<locale>"
    },
    "name": "get_route_destination_airports_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeYesLanguage of the user's current request. Always set it explicitly to localize the complete widget.
originCodeYesThree-letter city IATA code for the fixed route origin, for example MOW. If you do not know the city code, call resolve_city_iata_code first.
currencyCodeNoSupported ISO 4217 currency code. Use one of the enum values.EUR
destinationCodeYesThree-letter city IATA code for the route destination. If you do not know the city code, call resolve_city_iata_code first. The returned airports are alternatives on this side.

Output Schema

NameRequiredDescriptionDefault
localeYes
airportsYesAirports that can be used on the destination side of the route.
originSlugNo
currencyCodeYes
destinationSlugNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.6/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=true, so the safety profile is covered. The description adds a useful content inventory of what comes back (prices, availability, direct flights, airlines), but says nothing about pagination, caching, rate limits, or how the airport alternatives are ranked.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the resource and the returned payload, no filler and no restatement of the title. Every clause carries information the agent can use.

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 an output schema present, the description need not explain return values, and annotations cover the safety profile; the description's job of stating scope and payload is done. The remaining gap is that it never tells the agent how this differs operationally from the origin-side or price-analytics siblings.

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%, and the parameter descriptions are unusually rich — IATA patterns, the resolve_city_iata_code fallback, locale localization intent, and currency default. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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 names a specific resource and scope: analytics for airports usable on the destination side of a route, and enumerates the payload (prices, route availability, direct flights, airlines). The phrase 'destination side' implicitly distinguishes it from the origin-side sibling get_route_origin_airports_analytics, though that sibling is never named.

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 by 'destination side of a route' — an agent can infer this is the call for the destination end of a fixed route — but there is no explicit when-to-use versus when-not, and no routing to get_route_origin_airports_analytics or the price tools in the description itself. The resolve_city_iata_code prerequisite appears only in the schema, not in the description text.

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