Skip to main content
Glama

flight-fares

Cheapest fare between two cities

find_cheapest_fare

Returns the cheapest observed one-way fare between two cities, plus the six-month low and the departure date on which the low was observed. Use whenever the user names an origin and a destination and asks about price, the cheapest date to fly, or whether a fare is a good deal. Both arguments are required; neither alone produces a valid answer. Answers are directional and per pair - PAR to BKK is not BKK to PAR and is not PAR to SIN. Prices are cached snapshots, never live quotes: say "last observed", never "current price", and surface live_check_url to any user about to book.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesDestination city. Uppercase IATA city code such as BKK. Must differ from from.
fromYesOrigin city. Uppercase IATA city code such as PAR. A city slug such as paris also resolves. If you cannot resolve the city, call resolve_city first - do not guess a code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so well: it discloses that prices are cached snapshots and never live quotes, dictates the correct phrasing ('last observed', never 'current price'), and instructs surfacing live_check_url to any user about to book. That is exactly the data-freshness and downstream-action context an agent needs.

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?

Front-loads the return payload, then usage triggers, then the directional/required-argument constraints, then the caching caveat. Every sentence carries distinct, non-redundant information with no filler.

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?

With no annotations and no output schema, the description compensates by describing what comes back (cheapest fare, six-month low, observation date, live_check_url) and how to present it. Nothing needed to call or interpret the tool correctly 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%, so the baseline is 3, but the description adds semantics the schema does not: the relationship is directional and per-pair (PAR to BKK is not BKK to PAR, and is not PAR to SIN), and both arguments are jointly required. That materially affects correct invocation.

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 (Returns), resource (cheapest observed one-way fare between two cities), and even enumerates the payload (six-month low and its observation date). It is trivially distinguishable from list_routes_from and resolve_city.

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 explicit trigger conditions: the user names an origin and destination and asks about price, cheapest date to fly, or whether a fare is a good deal. It also flags that both arguments are required and neither alone works. It stops short of naming alternatives or when-not-to-use cases in the description text (the resolve_city routing lives only in the schema).

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.