Skip to main content
Glama

Get Trending Flight Fares

get_trending_fares
Read-onlyIdempotent

Retrieve recent anonymous trending flight fares monitored across Fare Scout (including popular global routes refreshed daily), even if the user has no tracked routes yet. Supports optional filtering by origin or destination 3-letter IATA airport code and a result limit. Returns { count, fares[] } where each fare includes route_key, mode ('exact' | 'flexible' | 'multi_city'), origin, destination, schedule, currency, latest_price, lowest_price, typical_low, is_below_typical, checks_count, and last_checked_at. Usage guidelines: use this to help new users discover current cheap routes or benchmark fares before creating a tracked route with create_route. Returns an empty fares array if no recent fares match the filters.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_trending_fares"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of trending routes to return (default 10, range 1-25).
originNoOptional 3-letter IATA origin airport code filter (e.g. 'YYZ', 'JFK', 'LAX').
destinationNoOptional 3-letter IATA destination airport code filter (e.g. 'NRT', 'LHR', 'CDG').

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely new behavior: data is anonymous, refreshed daily, and the tool returns an empty fares array rather than an error when filters match nothing. It also enumerates the returned fields, which matters because there is no output schema.

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 definition is front-loaded: purpose first, then filtering, then return shape, then usage guidance. It is somewhat long because of the full return-field enumeration, but that enumeration earns its place given the absence of an output schema; the parenthetical about popular global routes is the only mildly padded phrase.

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 output schema, the description compensates by naming every returned field including the mode enum values, plus the empty-array behavior. For a zero-required-parameter read tool with full annotation coverage, nothing an agent needs in order to call or interpret it is missing.

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 coverage is 100%, so the origin, destination, and limit parameters are already fully documented, including the 1-25 range and defaults. The description only restates that filtering is optional and that codes are 3-letter IATA, adding no syntax or edge-case detail 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?

The description opens with a specific verb and resource ("Retrieve recent anonymous trending flight fares") and scopes it to Fare Scout's monitored popular global routes. The clause "even if the user has no tracked routes yet" cleanly separates it from the route-oriented siblings like list_routes and get_price_history.

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?

It gives explicit when-to-use guidance: new-user route discovery or fare benchmarking before calling create_route, and names that sibling directly. It lacks a stated when-not condition (e.g. for users who already have tracked routes, prefer get_deals), so it stops short of full alternative routing.

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.