Skip to main content
Glama

Search Flight Prices

search_flight_prices
Read-onlyIdempotent

Search for flight itineraries with prices between two airports on a date using Google Flights. Returns available itineraries with prices, durations, airlines, layovers, and ranked route-search actions. Ages 12-17 are mapped as adults where a provider requires it; ages 0-1 are infants whose lap-versus-seat placement and provider policy must be confirmed before booking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trip_idNoOptional Tineo trip ID (from trips_list) this request is for. Used only to default the currency to that trip's currency when currency is omitted and the user has no preferred currency; ignored if the trip is not found or not accessible to the user.
currencyNoOptional ISO-style three-letter currency code. Omit to use the user's preferred currency, then the currency of the trip given by trip_id, then USD.
max_stopsNoOptional maximum number of stops (0 = nonstop only, 1 = up to 1 stop).
child_agesNoAge of each traveler under 18. Ages 12-17 are provider-mapped as adults where required; ages 2-11 are children and 0-1 are infants. Confirm lap-versus-seat placement with the user/provider for ages 0-1.
adult_countNoNumber of adult travelers (default 1).
cabin_classNoCabin class preference: 'economy', 'premium_economy', 'business', or 'first'. Default is 'economy'.
return_dateNoOptional return date in YYYY-MM-DD format for round-trip searches.
outbound_dateYesOutbound date in YYYY-MM-DD format.
arrival_airportYesArrival airport IATA code, such as CDG.
departure_airportYesDeparture airport IATA code, such as JFK.
outbound_end_dateNoOptional inclusive end date for a cheapest-returned-fare-per-day calendar, up to 7 outbound dates beginning at outbound_date. Each day reports priced, no_results, failed, or not_searched; prices are live estimates and may change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds real value beyond them: it enumerates the response contents (prices, durations, airlines, layovers, ranked route-search actions) and discloses child-age provider mapping and the infant lap-versus-seat policy that must be confirmed before booking.

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?

Two sentences, front-loaded with purpose and output scope; the age-policy sentence is dense but each clause carries information relevant to correct invocation. No filler or redundancy.

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 no output schema, the description usefully summarizes the return payload, and the 11-parameter surface is fully documented in the schema. Missing only selection guidance against siblings like flight_route_lookup or flight_booking_link.

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 schema already documents all 11 parameters, including currency fallback ordering and the outbound_end_date calendar behavior. The description restates the child-age mapping that is already in the schema and adds no new parameter syntax or semantics, 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?

States a specific verb (search), resource (flight itineraries with prices), and scope (two airports on a date) plus the underlying provider (Google Flights). An agent can distinguish it from route-oriented siblings like flight_route_lookup or status-oriented ones like flight_status_for_segment, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use statement, no condition selecting this over flight_route_lookup/flight_booking_link, and no exclusions. The only guidance is an age-handling caveat ('confirm before booking'), which is a booking caveat rather than tool-selection guidance.

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