Skip to main content
Glama

get_alternative_directions

Read-onlyIdempotent

Get prices for nearby airports and cities around a chosen route to find alternative departure or arrival options.

Instructions

Get prices for nearby airports and cities around a chosen route.

Use when the traveller can fly from or into a different airport and wants those fares. To learn which airports are near a place, use find_nearest_airports first; for the named city pair only, use search_flights.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results (1-20, default 10).
marketNo2-letter market whose price cache to read. Defaults to the server's configured market.
originYesOrigin IATA code.
currencyNoPrice currency (3 letters). Defaults to the server's currency.
return_atNoReturn date (YYYY-MM-DD or YYYY-MM). Optional.
destinationYesDestination IATA code.
departure_atNoDeparture date (YYYY-MM-DD or YYYY-MM). Optional.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.3

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and non-destructive, so the safety profile is covered. The description adds scope ('nearby airports and cities') but no extra behavioral detail such as caching, pagination, or result freshness. Adequate but not rich.

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?

Three tight sentences, front-loading the purpose and then the routing guidance. No wasted text, though it is slightly denser than strictly necessary.

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?

An output schema exists so return values need no explanation, and annotations cover safety. The description supplies the selection logic relative to siblings, making it complete enough for correct invocation.

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 all seven parameters (origin, destination, dates, currency, market, limit) are already documented. The description adds no meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Get prices for nearby airports and cities around a chosen route') with clear scope. It is immediately distinguishable from search_flights (named city pair) and find_nearest_airports (airport discovery).

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?

Explicitly says when to use it ('when the traveller can fly from or into a different airport') and routes to alternatives: find_nearest_airports for discovery and search_flights for the exact city pair. Nothing is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.