Skip to main content
Glama

search_flights

Read-onlyIdempotent

Find the cheapest round-trip across a FLEXIBLE multi-month date window with a min/max trip length — e.g. "10–15 days, anytime Sep–Nov". Search a broad date window rather than requiring the traveler to choose exact dates first. First call the search_locations MCP tool for city or airport names, then pass each returned airport:AAA or city:AAA value unchanged as origin/destination (explicit legacy IATA codes remain supported). Dates are OPTIONAL: add an earliest/latest window when the traveler has one, or omit them (or give just one side) and a sensible default window is searched — metadata.window_defaulted says so and query echoes the window used, so a dateless call always returns flights instead of an error. Add min/max trip duration; get back a ranked list of the cheapest fares (with booking links) plus a price verdict — an honest read of whether the cheapest fare is low, typical, or high versus the route's usual price, or unknown when we lack a usable typical-price band (a price-level read, not a buy-now-or-wait timing prediction). Non-economy requests may return action-bound Google Flights seller quotes or separate route-price evidence in metadata.route_price_check. For a specific route, set checked_bags=1 when the traveler needs one checked bag, then inspect each result's price_basis; anywhere discovery does not support baggage pricing. With to=anywhere (or no destination), add earliest/latest and/or min_days/max_days to get first the destinations whose round trip departs and returns inside that window with a trip length in range (one_way=true for one-way departures inside it); each result carries depart_date, return_date and a booking link. Without them, anywhere mode is origin-only inspiration. When fewer than three trips match a dated anywhere search exactly (a small airport), labelled near matches follow the exact ones: the same airport with dates or trip length moved slightly, then nearby airports (the requested dates and length preferred, else the same slight moves). Each result's relaxed list names what it does not match (dates, trip_length, origin; empty = exact), origin and origin_distance_km name the airport it leaves from, and match_note says it in words: tell the traveler. Pass fallback=false for exact matches only. Several departure airports: pass a comma-separated from (up to 4, e.g. from=BOH,LGW or airport:BOH,airport:LGW) to get ONE merged list, cheapest first, each result's origin naming the airport it leaves from and its booking link departing there; the search budget is split across them (multi_origin hint) and near matches are added around the first listed one. Narrow to=anywhere with to_country (ISO codes, e.g. to_country=ES,PT) and/or to_continent (EU, AF, AS, NA, SA, OC, AN; Turkey and Cyprus count as Europe too), or name the places in to (to=BCN,AGP,PMI, up to 8): only destinations inside the filter are priced and returned (destination_filter hint). Named places, and one destination with several origins, return one cheapest trip per origin and place, always dated. Checked-bag searches still run seller enrichment but set the fare-only verdict and metadata.route_price_check to null; verify=full does not override that boundary. Use it for any flight question where the dates are flexible, unknown, or the user wants the cheapest time to fly. If a window comes back thin or cannot fit the return, the search widens it one step itself and reports that in metadata.hints — no second call needed. A city:/airport: prefix that contradicts its code (city:CDG names an airport, airport:PAR names a city) is likewise searched as the identity the catalog does know, with a selector_corrected entry in metadata.hints naming the requested and used tokens. Dates already in the past get the same treatment: a window that only STARTS in the past is searched from today with a window_clamped entry in metadata.hints, and a window that has already ENDED is not searched at all — the results are empty and a window_in_past entry names a suggested window to ask for instead, so do not retry the same dates. If metadata.refresh_hint is present, this response shipped without something a repeat call can add: issue the same call again immediately (do not sleep or poll) and read refresh_hint.action for what will be included. If you can wait longer for that best-effort cross-check, set verify=full. It uses a longer ~35s budget, but never treats a different airline, itinerary, gate, or booking URL as verification of the displayed offer. Pass sellers=false when the traveler wants the price picture but is not booking through this answer: it skips the live seller-quote wave, so the ranked calendar fares, booking links and metadata.route_price_check still come back but metadata.seller_enrichment_status is skipped and no seller quote, seller-level baggage fee or direct seller action is resolved. Each result carries local flight times when known (outbound_departure_local, outbound_arrival_local, return_departure_local, return_arrival_local), nights_at_destination (outbound landing date to return departure date) and arrival_home_date; schedule_status says known, partial or unknown — never present an unknown time as known. For a school-holiday style question pass trip_length=nights (min_days/max_days then count nights at the destination) and arrive_by_latest=true (the return lands home by latest); fares without the needed times are left out and counted in the schedule_filter hint. For a family or group, pass adults (1-9), children (ages 2-11) and lap infants (never more than adults); at most 9 seated. Each result's price stays the one-adult price (price_scope=per_adult), the booking link opens prefilled for the whole party, and party_total_estimate gives per-adult price x seated passengers as an ESTIMATE (exact=false; infant, baggage and seller fees excluded) — present it as an estimate, never as the total. Party searches skip the seller-quote wave (party_seller_wave_skipped hint). Provider failure, unavailability, or a spend cap can still return only cached indicators; always inspect metadata.seller_enrichment_status (applied means complete date-pair coverage put Serp-derived seller data in results; complete means the selected plan and action resolution completed without such data entering results; partial means date-pair or direct-action coverage has gaps though valid seller data may still rank; skipped is reserved for response surfaces where enrichment does not apply) and metadata.seller_enrichment_coverage. That object reports the theoretical query-valid date pairs and how many were targeted/searched; it is not exhaustive provider inventory. Default requests target at most three pairs, while explicit verify=full targets at most seven with bounded longer budgets. Inspect metadata.freshness, and metadata.route_price_check.

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": {
      "from": "<from>"
    },
    "name": "search_flights"
  }
}

Input Schema

NameRequiredDescriptionDefault
chNoAcquisition channel tag (e.g. web, mcp, a campaign name) for first-party analytics. Durable booking links retain the validated Travelpayouts marker for commission but do not trust opaque shortlinks solely to carry provider-dashboard sub_id attribution. Defaults to 'direct'; reduced to a bounded registered channel.direct
toNoDestination location: a legacy code, airport:AAA, or city:AAA. Pass `anywhere` (or omit) to get the cheapest destinations from the origin instead of a specific route. A comma-separated list of up to 8 places (`BCN,AGP,PMI`) narrows an anywhere search to exactly those destinations: each is priced directly (no discovery), one cheapest trip per origin and destination, and the answer is always dated (a missing window or trip length gets route search's defaults). The same happens for one destination with several origins in `from`.
fromYesOrigin location. Use a legacy 3-letter code (SHA), an exact airport (airport:SHA), or an all-airports city (city:SHA). Required for every search, including to=anywhere. Several origins: a comma-separated list of up to 4 (`BOH,LGW`, `airport:BOH,city:LON`) searches them as one request and returns one merged list, cheapest first, each result's `origin` naming the airport it leaves from (the anywhere answer shape, also when `to` names one destination). The request's Travelpayouts budget is split evenly across them, so each checks fewer destinations than a search from it alone; a `multi_origin` entry in `metadata.hints` says how many. A thin merged answer first checks the rest of what each origin checks alone; near matches (see `fallback`) are then added around the first listed origin.
cabinNoCabin class: economy (default), premium_economy, business, or first. The Travelpayouts calendar covers economy; Google Flights may additionally return action-bound seller quotes for the requested cabin. Actionless evidence remains in metadata.route_price_check.economy
top_nNoMaximum number of results to return, sorted cheapest-first. Specific routes allow up to 50; anywhere mode returns at most 12.
adultsNoAdults (12+) traveling, 1-9, default 1. Prices stay per adult (`results[].price_scope` = `per_adult`): the fare sources quote one adult. A party other than one adult prefills the booking link for the whole party and adds `results[].party_total_estimate` — the per-adult price x seated passengers, labelled as an estimate (`exact: false`), never the seller's total. Seated passengers (adults + children) are at most 9. Applies to specific routes and anywhere mode.
latestNoLatest acceptable return date for round-trip, or latest acceptable departure for one-way (ISO YYYY-MM-DD). Window from earliest must be ≤365 days. Optional: omit it and it is derived from `earliest` (or from the default window when both are omitted). A window ending before today is not searched; the response is empty with a `window_in_past` hint. In anywhere mode the return (or one-way departure) must also fall on or before this date. With `arrive_by_latest=true` the last flight must also LAND by it.
verifyNoHow hard to cross-check the top result's route, dates, and cabin against Google Flights (SerpApi). `false` (default): the check still runs automatically on a fresh search when the top isn't already a live price, within a client-aware time budget. `true`: force the check even on a cache hit. `full`: THOROUGH mode — force the same best-effort check with a longer ~35s budget and widen the request-local seller/date sample from at most three pairs to at most seven (set it when you can wait, e.g. an autonomous agent). The six-hour base and its cache key do not change. This does not verify the displayed airline, itinerary, gate, or booking URL; inspect `metadata.route_price_check` separately. Checked-bag searches keep this fare-only route check and verdict null even when verify=true or verify=full; seller-level baggage enrichment still runs. Displayed Travelpayouts fares remain explicitly labeled cached indicators. No-op unless a SerpApi key is configured.false
infantsNoLap infants (under 2, on an adult's lap), 0-4, default 0, never more than `adults`. They prefill the booking link but take no seat and are not in `party_total_estimate`; the seller prices infant fees.
one_wayNoIf true, search one-way flights; return_date and duration_days will be null.
sellersNoWhether to run the live seller-quote wave (Google Flights `booking_options`) for this request. Default `true`: unchanged behavior — the bounded frontier resolves seller prices, baggage basis, and the executable booking action. Set `sellers=false` to ask for the ranked fare calendar and the route-level price check ONLY: the response then carries `metadata.seller_enrichment_status="skipped"`, results keep their Travelpayouts-grounded prices and durable booking links, and no seller quote, seller-level baggage fee, or direct seller action is resolved. It exists for callers that want the price picture cheaply and do not intend to book — our own curve-seeding crons use it — because the seller wave is where a search's provider spend actually goes (about seven of its ~eight calls). Non-economy cabins have no calendar source, so `sellers=false` there leaves `metadata.route_price_check` as the only priced evidence and `results` may be empty.
childrenNoChildren aged 2-11 traveling, 0-8, default 0. Each takes a seat and counts in `party_total_estimate` at the per-adult price (children usually pay the adult fare on low-cost carriers). A party search skips the live seller-quote wave: `metadata.seller_enrichment_status` is `skipped` and a `party_seller_wave_skipped` entry in `metadata.hints` says why.
currencyNoResult currency, 3-letter ISO code UPPERCASE.USD
earliestNoEarliest acceptable departure date (ISO YYYY-MM-DD). Optional: omit it and a default window is searched, with the applied window echoed in `query` and flagged by `metadata.window_defaulted`. A date already in the past is clamped to today and reported as `window_clamped` in `metadata.hints` — unless `latest` has passed too, in which case the whole window is declined rather than clamped (see `latest`). In anywhere mode it restricts results to trips departing on or after this date; omit it (and `latest`, `min_days`, `max_days`) for origin-only inspiration.
fallbackNoDated anywhere mode only (`to=anywhere` with `earliest`/`latest` and/or `min_days`/`max_days`). Default `true`: when fewer than 3 trips match the request exactly, labelled near matches follow the exact ones: first from the same origin with dates moved up to 7 days (inside the same calendar months) or trip length changed up to 2 days, then, if still too few, from nearby city markets with an airport within 150 km (straight line; a fare may leave from another airport of that market, and its own distance is shown): a trip there that fits the requested window and trip length is preferred, otherwise its nearest trip within the same relaxed bounds is used. Each result's `relaxed` list says what it does not match (`dates`, `trip_length`, `origin`; empty = exact), `origin` and `origin_distance_km` name the airport it leaves from, and an `anywhere_fallback` entry in `metadata.hints` says what was done. Exact matches come first, cheapest first; then same-airport near matches, closest to the request first (fewest days off), then cheapest; then nearby-airport ones, each airport's own sorted the same way and the airports taking turns, nearest first. Set `fallback=false` to get only exact matches (possibly none). With several origins in `from` the fallback runs once, when the merged exact answer is thin, around the first listed origin; a destination filter applies to its near matches too. Ignored by specific-route searches and the dateless anywhere board.
max_daysNoMaximum round-trip duration in days (return - departure); ignored for one-way. With `trip_length=nights`, the maximum nights at the destination instead. In anywhere mode, setting it restricts results to round trips of at most this length inside the window.
min_daysNoMinimum round-trip duration in days (return - departure); ignored for one-way. With `trip_length=nights`, the minimum nights at the destination instead. In anywhere mode, setting it restricts results to round trips of at least this length inside the window.
to_countryNoAnywhere mode only: return only destinations in these countries, a comma-separated list of up to 10 ISO 3166 two-letter codes (`ES`, `ES,PT`; case-insensitive). The filter is applied to the candidate destinations BEFORE any is priced, so the whole call budget goes to destinations inside it. Works with or without dates, with several origins and with `to_continent` (a destination must match both). A `destination_filter` entry in `metadata.hints` echoes it. Rejected with a specific `to`.
trip_lengthNoHow `min_days`/`max_days` measure a round trip. `days` (default): days between the outbound and return departure dates, as before. `nights`: nights at the destination, from the local date the outbound LANDS to the local date the return departs — a 7-day trip whose outbound lands after midnight is 6 nights. Needs flight times: a fare whose times are unknown is left out (never counted as matching) and counted in the `schedule_filter` entry of `metadata.hints`; that entry is present whenever this or `arrive_by_latest` is on. The live seller-quote wave is skipped (its quotes have no return times). Ignored for one-way. Specific routes and anywhere mode.days
checked_bagsNoChecked bags requested for the current one-adult, specific-route search contract. Anywhere discovery rejects checked_bags=1. Set to 1 to add a seller's unambiguous first-checked-bag fee to the ranked customer price. Unknown fees remain labeled in results[].price_basis instead of being guessed. Seller enrichment still runs, but the fare-only verdict and route-price check remain null, including when verify=true or verify=full.
to_continentNoAnywhere mode only: return only destinations on these continents: `AF` (Africa), `AN` (Antarctica), `AS` (Asia), `EU` (Europe), `NA` (North America), `OC` (Oceania), `SA` (South America); comma-separated, case-insensitive. Countries spanning Europe and Asia (Turkey, Cyprus, Russia, Georgia, Armenia, Azerbaijan, Kazakhstan) count in both. Applied before pricing, like `to_country`.
max_transfersNoMaximum number of transfers/layovers per leg. 0 = nonstop only, 1 = up to 1 stop, etc. Omit for no filter.
arrive_by_latestNoIf true, the trip's last flight must LAND on or before `latest` (local date): the return flight home for a round trip, the outbound for one-way. Default false keeps today's rule (`latest` bounds the return departure). Fares whose arrival time is unknown are left out and counted as for `trip_length=nights`. Specific routes and anywhere mode.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / earliest / examples
      Previous value: -[
      -  "2026-12-11"
      -]New value: +[
      +  "2026-12-12"
      +]
    • changedInput schema / properties / from / description
      Previous value: -"Origin location. Use a legacy 3-letter code (SHA), an exact airport (airport:SHA), or an all-airports city (city:SHA). Required for every search, including to=anywhere. Several origins: a comma-separated list of up to 4 (`BOH,LGW`, `airport:BOH,city:LON`) searches them as one request and returns one merged list, cheapest first, each result's `origin` naming the airport it leaves from (the anywhere answer shape, also when `to` names one destination). The request's Travelpayouts budget is split evenly across them, so each checks fewer destinations than a search from it alone; a `multi_origin` entry in `metadata.hints` says how many. Near matches (see `fallback`) are added around the first listed origin."New value: +"Origin location. Use a legacy 3-letter code (SHA), an exact airport (airport:SHA), or an all-airports city (city:SHA). Required for every search, including to=anywhere. Several origins: a comma-separated list of up to 4 (`BOH,LGW`, `airport:BOH,city:LON`) searches them as one request and returns one merged list, cheapest first, each result's `origin` naming the airport it leaves from (the anywhere answer shape, also when `to` names one destination). The request's Travelpayouts budget is split evenly across them, so each checks fewer destinations than a search from it alone; a `multi_origin` entry in `metadata.hints` says how many. A thin merged answer first checks the rest of what each origin checks alone; near matches (see `fallback`) are then added around the first listed origin."
    • changedInput schema / properties / latest / examples
      Previous value: -[
      -  "2027-03-11"
      -]New value: +[
      +  "2027-03-12"
      +]
  2. Changed7 schema fields changed
    • changedInput schema / properties / fallback / description
      Previous value: -"Dated anywhere mode only (`to=anywhere` with `earliest`/`latest` and/or `min_days`/`max_days`). Default `true`: when fewer than 3 trips match the request exactly, labelled near matches follow the exact ones: first from the same origin with dates moved up to 7 days (inside the same calendar months) or trip length changed up to 2 days, then, if still too few, from nearby city markets with an airport within 150 km (straight line; a fare may leave from another airport of that market, and its own distance is shown): a trip there that fits the requested window and trip length is preferred, otherwise its nearest trip within the same relaxed bounds is used. Each result's `relaxed` list says what it does not match (`dates`, `trip_length`, `origin`; empty = exact), `origin` and `origin_distance_km` name the airport it leaves from, and an `anywhere_fallback` entry in `metadata.hints` says what was done. Exact matches come first, cheapest first; then same-airport near matches, closest to the request first (fewest days off), then cheapest; then nearby-airport ones, each airport's own sorted the same way and the airports taking turns, nearest first. Set `fallback=false` to get only exact matches (possibly none). Ignored by specific-route searches and the dateless anywhere board."New value: +"Dated anywhere mode only (`to=anywhere` with `earliest`/`latest` and/or `min_days`/`max_days`). Default `true`: when fewer than 3 trips match the request exactly, labelled near matches follow the exact ones: first from the same origin with dates moved up to 7 days (inside the same calendar months) or trip length changed up to 2 days, then, if still too few, from nearby city markets with an airport within 150 km (straight line; a fare may leave from another airport of that market, and its own distance is shown): a trip there that fits the requested window and trip length is preferred, otherwise its nearest trip within the same relaxed bounds is used. Each result's `relaxed` list says what it does not match (`dates`, `trip_length`, `origin`; empty = exact), `origin` and `origin_distance_km` name the airport it leaves from, and an `anywhere_fallback` entry in `metadata.hints` says what was done. Exact matches come first, cheapest first; then same-airport near matches, closest to the request first (fewest days off), then cheapest; then nearby-airport ones, each airport's own sorted the same way and the airports taking turns, nearest first. Set `fallback=false` to get only exact matches (possibly none). With several origins in `from` the fallback runs once, when the merged exact answer is thin, around the first listed origin; a destination filter applies to its near matches too. Ignored by specific-route searches and the dateless anywhere board."
    • changedInput schema / properties / from / description
      Previous value: -"Origin location. Use a legacy 3-letter code (SHA), an exact airport (airport:SHA), or an all-airports city (city:SHA). Required for every search, including to=anywhere."New value: +"Origin location. Use a legacy 3-letter code (SHA), an exact airport (airport:SHA), or an all-airports city (city:SHA). Required for every search, including to=anywhere. Several origins: a comma-separated list of up to 4 (`BOH,LGW`, `airport:BOH,city:LON`) searches them as one request and returns one merged list, cheapest first, each result's `origin` naming the airport it leaves from (the anywhere answer shape, also when `to` names one destination). The request's Travelpayouts budget is split evenly across them, so each checks fewer destinations than a search from it alone; a `multi_origin` entry in `metadata.hints` says how many. Near matches (see `fallback`) are added around the first listed origin."
    • changedInput schema / properties / from / examples
      Previous value: -[
      -  "SGN",
      -  "airport:SHA",
      -  "city:SHA"
      -]New value: +[
      +  "SGN",
      +  "airport:SHA",
      +  "city:SHA",
      +  "BOH,LGW"
      +]
    • changedInput schema / properties / to / description
      Previous value: -"Destination location: a legacy code, airport:AAA, or city:AAA. Pass `anywhere` (or omit) to get the cheapest destinations from the origin instead of a specific route."New value: +"Destination location: a legacy code, airport:AAA, or city:AAA. Pass `anywhere` (or omit) to get the cheapest destinations from the origin instead of a specific route. A comma-separated list of up to 8 places (`BCN,AGP,PMI`) narrows an anywhere search to exactly those destinations: each is priced directly (no discovery), one cheapest trip per origin and destination, and the answer is always dated (a missing window or trip length gets route search's defaults). The same happens for one destination with several origins in `from`."
    • changedInput schema / properties / to / examples
      Previous value: -[
      -  "ICN",
      -  "airport:PVG",
      -  "city:BJS",
      -  "anywhere"
      -]New value: +[
      +  "ICN",
      +  "airport:PVG",
      +  "city:BJS",
      +  "anywhere",
      +  "BCN,AGP,PMI"
      +]
    • addedInput schema / properties / to_continent
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Anywhere mode only: return only destinations on these continents: `AF` (Africa), `AN` (Antarctica), `AS` (Asia), `EU` (Europe), `NA` (North America), `OC` (Oceania), `SA` (South America); comma-separated, case-insensitive. Countries spanning Europe and Asia (Turkey, Cyprus, Russia, Georgia, Armenia, Azerbaijan, Kazakhstan) count in both. Applied before pricing, like `to_country`.",
      +  "examples": [
      +    "EU",
      +    "EU,AF"
      +  ],
      +  "title": "to_continent",
      +  "type": "string"
      +}
    • addedInput schema / properties / to_country
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Anywhere mode only: return only destinations in these countries, a comma-separated list of up to 10 ISO 3166 two-letter codes (`ES`, `ES,PT`; case-insensitive). The filter is applied to the candidate destinations BEFORE any is priced, so the whole call budget goes to destinations inside it. Works with or without dates, with several origins and with `to_continent` (a destination must match both). A `destination_filter` entry in `metadata.hints` echoes it. Rejected with a specific `to`.",
      +  "examples": [
      +    "ES",
      +    "ES,PT"
      +  ],
      +  "title": "to_country",
      +  "type": "string"
      +}
  3. Changed5 schema fields changed
    • addedInput schema / properties / arrive_by_latest
      Added value: +{
      +  "default": false,
      +  "description": "If true, the trip's last flight must LAND on or before `latest` (local date): the return flight home for a round trip, the outbound for one-way. Default false keeps today's rule (`latest` bounds the return departure). Fares whose arrival time is unknown are left out and counted as for `trip_length=nights`. Specific routes and anywhere mode.",
      +  "examples": [
      +    false,
      +    true
      +  ],
      +  "title": "arrive_by_latest",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / latest / description
      Previous value: -"Latest acceptable return date for round-trip, or latest acceptable departure for one-way (ISO YYYY-MM-DD). Window from earliest must be ≤365 days. Optional: omit it and it is derived from `earliest` (or from the default window when both are omitted). A window ending before today is not searched; the response is empty with a `window_in_past` hint. In anywhere mode the return (or one-way departure) must also fall on or before this date."New value: +"Latest acceptable return date for round-trip, or latest acceptable departure for one-way (ISO YYYY-MM-DD). Window from earliest must be ≤365 days. Optional: omit it and it is derived from `earliest` (or from the default window when both are omitted). A window ending before today is not searched; the response is empty with a `window_in_past` hint. In anywhere mode the return (or one-way departure) must also fall on or before this date. With `arrive_by_latest=true` the last flight must also LAND by it."
    • changedInput schema / properties / max_days / description
      Previous value: -"Maximum round-trip duration in days (return - departure); ignored for one-way. In anywhere mode, setting it restricts results to round trips of at most this length inside the window."New value: +"Maximum round-trip duration in days (return - departure); ignored for one-way. With `trip_length=nights`, the maximum nights at the destination instead. In anywhere mode, setting it restricts results to round trips of at most this length inside the window."
    • changedInput schema / properties / min_days / description
      Previous value: -"Minimum round-trip duration in days (return - departure); ignored for one-way. In anywhere mode, setting it restricts results to round trips of at least this length inside the window."New value: +"Minimum round-trip duration in days (return - departure); ignored for one-way. With `trip_length=nights`, the minimum nights at the destination instead. In anywhere mode, setting it restricts results to round trips of at least this length inside the window."
    • addedInput schema / properties / trip_length
      Added value: +{
      +  "default": "days",
      +  "description": "How `min_days`/`max_days` measure a round trip. `days` (default): days between the outbound and return departure dates, as before. `nights`: nights at the destination, from the local date the outbound LANDS to the local date the return departs — a 7-day trip whose outbound lands after midnight is 6 nights. Needs flight times: a fare whose times are unknown is left out (never counted as matching) and counted in the `schedule_filter` entry of `metadata.hints`; that entry is present whenever this or `arrive_by_latest` is on. The live seller-quote wave is skipped (its quotes have no return times). Ignored for one-way. Specific routes and anywhere mode.",
      +  "enum": [
      +    "days",
      +    "nights"
      +  ],
      +  "examples": [
      +    "days",
      +    "nights"
      +  ],
      +  "title": "trip_length",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / fallback / description
      Previous value: -"Dated anywhere mode only (`to=anywhere` with `earliest`/`latest` and/or `min_days`/`max_days`). Default `true`: when fewer than 3 trips match the request exactly, labelled near matches follow the exact ones: first from the same origin with dates moved up to 7 days (inside the same calendar months) or trip length changed up to 2 days, then, if still too few, from nearby city markets with an airport within 150 km (straight line; a fare may leave from another airport of that market, and its own distance is shown): a trip there that fits the requested window and trip length is preferred, otherwise its nearest trip within the same relaxed bounds is used. Each result's `relaxed` list says what it does not match (`dates`, `trip_length`, `origin`; empty = exact), `origin` and `origin_distance_km` name the airport it leaves from, and an `anywhere_fallback` entry in `metadata.hints` says what was done. Set `fallback=false` to get only exact matches (possibly none). Ignored by specific-route searches and the dateless anywhere board."New value: +"Dated anywhere mode only (`to=anywhere` with `earliest`/`latest` and/or `min_days`/`max_days`). Default `true`: when fewer than 3 trips match the request exactly, labelled near matches follow the exact ones: first from the same origin with dates moved up to 7 days (inside the same calendar months) or trip length changed up to 2 days, then, if still too few, from nearby city markets with an airport within 150 km (straight line; a fare may leave from another airport of that market, and its own distance is shown): a trip there that fits the requested window and trip length is preferred, otherwise its nearest trip within the same relaxed bounds is used. Each result's `relaxed` list says what it does not match (`dates`, `trip_length`, `origin`; empty = exact), `origin` and `origin_distance_km` name the airport it leaves from, and an `anywhere_fallback` entry in `metadata.hints` says what was done. Exact matches come first, cheapest first; then same-airport near matches, closest to the request first (fewest days off), then cheapest; then nearby-airport ones, each airport's own sorted the same way and the airports taking turns, nearest first. Set `fallback=false` to get only exact matches (possibly none). Ignored by specific-route searches and the dateless anywhere board."
  5. Changed1 schema field changed
    • changedInput schema / properties / fallback / description
      Previous value: -"Dated anywhere mode only (`to=anywhere` with `earliest`/`latest` and/or `min_days`/`max_days`). Default `true`: when fewer than 3 trips match the request exactly, labelled near matches follow the exact ones: first from the same origin with dates moved up to 7 days (inside the same calendar months) or trip length changed up to 2 days, then, if still too few, from nearby airports within 150 km (straight line): a trip there that fits the requested window and trip length is preferred, otherwise its nearest trip within the same relaxed bounds is used. Each result's `relaxed` list says what it does not match (`dates`, `trip_length`, `origin`; empty = exact), `origin` and `origin_distance_km` name the airport it leaves from, and an `anywhere_fallback` entry in `metadata.hints` says what was done. Set `fallback=false` to get only exact matches (possibly none). Ignored by specific-route searches and the dateless anywhere board."New value: +"Dated anywhere mode only (`to=anywhere` with `earliest`/`latest` and/or `min_days`/`max_days`). Default `true`: when fewer than 3 trips match the request exactly, labelled near matches follow the exact ones: first from the same origin with dates moved up to 7 days (inside the same calendar months) or trip length changed up to 2 days, then, if still too few, from nearby city markets with an airport within 150 km (straight line; a fare may leave from another airport of that market, and its own distance is shown): a trip there that fits the requested window and trip length is preferred, otherwise its nearest trip within the same relaxed bounds is used. Each result's `relaxed` list says what it does not match (`dates`, `trip_length`, `origin`; empty = exact), `origin` and `origin_distance_km` name the airport it leaves from, and an `anywhere_fallback` entry in `metadata.hints` says what was done. Set `fallback=false` to get only exact matches (possibly none). Ignored by specific-route searches and the dateless anywhere board."
  6. Changed1 schema field changed
    • addedInput schema / properties / fallback
      Added value: +{
      +  "default": true,
      +  "description": "Dated anywhere mode only (`to=anywhere` with `earliest`/`latest` and/or `min_days`/`max_days`). Default `true`: when fewer than 3 trips match the request exactly, labelled near matches follow the exact ones: first from the same origin with dates moved up to 7 days (inside the same calendar months) or trip length changed up to 2 days, then, if still too few, from nearby airports within 150 km (straight line): a trip there that fits the requested window and trip length is preferred, otherwise its nearest trip within the same relaxed bounds is used. Each result's `relaxed` list says what it does not match (`dates`, `trip_length`, `origin`; empty = exact), `origin` and `origin_distance_km` name the airport it leaves from, and an `anywhere_fallback` entry in `metadata.hints` says what was done. Set `fallback=false` to get only exact matches (possibly none). Ignored by specific-route searches and the dateless anywhere board.",
      +  "examples": [
      +    true,
      +    false
      +  ],
      +  "title": "fallback",
      +  "type": "boolean"
      +}
  7. Changed3 schema fields changed
    • addedInput schema / properties / adults
      Added value: +{
      +  "default": 1,
      +  "description": "Adults (12+) traveling, 1-9, default 1. Prices stay per adult (`results[].price_scope` = `per_adult`): the fare sources quote one adult. A party other than one adult prefills the booking link for the whole party and adds `results[].party_total_estimate` — the per-adult price x seated passengers, labelled as an estimate (`exact: false`), never the seller's total. Seated passengers (adults + children) are at most 9. Applies to specific routes and anywhere mode.",
      +  "examples": [
      +    1,
      +    2
      +  ],
      +  "maximum": 9,
      +  "minimum": 1,
      +  "title": "adults",
      +  "type": "integer"
      +}
    • addedInput schema / properties / children
      Added value: +{
      +  "default": 0,
      +  "description": "Children aged 2-11 traveling, 0-8, default 0. Each takes a seat and counts in `party_total_estimate` at the per-adult price (children usually pay the adult fare on low-cost carriers). A party search skips the live seller-quote wave: `metadata.seller_enrichment_status` is `skipped` and a `party_seller_wave_skipped` entry in `metadata.hints` says why.",
      +  "examples": [
      +    0,
      +    1
      +  ],
      +  "maximum": 8,
      +  "minimum": 0,
      +  "title": "children",
      +  "type": "integer"
      +}
    • addedInput schema / properties / infants
      Added value: +{
      +  "default": 0,
      +  "description": "Lap infants (under 2, on an adult's lap), 0-4, default 0, never more than `adults`. They prefill the booking link but take no seat and are not in `party_total_estimate`; the seller prices infant fees.",
      +  "examples": [
      +    0,
      +    1
      +  ],
      +  "maximum": 4,
      +  "minimum": 0,
      +  "title": "infants",
      +  "type": "integer"
      +}
  8. Changed4 schema fields changed
    • changedInput schema / properties / earliest / description
      Previous value: -"Earliest acceptable departure date (ISO YYYY-MM-DD). Optional: omit it and a default window is searched, with the applied window echoed in `query` and flagged by `metadata.window_defaulted`. A date already in the past is clamped to today and reported as `window_clamped` in `metadata.hints` — unless `latest` has passed too, in which case the whole window is declined rather than clamped (see `latest`). Ignored in anywhere mode."New value: +"Earliest acceptable departure date (ISO YYYY-MM-DD). Optional: omit it and a default window is searched, with the applied window echoed in `query` and flagged by `metadata.window_defaulted`. A date already in the past is clamped to today and reported as `window_clamped` in `metadata.hints` — unless `latest` has passed too, in which case the whole window is declined rather than clamped (see `latest`). In anywhere mode it restricts results to trips departing on or after this date; omit it (and `latest`, `min_days`, `max_days`) for origin-only inspiration."
    • changedInput schema / properties / latest / description
      Previous value: -"Latest acceptable return date for round-trip, or latest acceptable departure for one-way (ISO YYYY-MM-DD). Window from earliest must be ≤365 days. Optional: omit it and it is derived from `earliest` (or from the default window when both are omitted). A window ending before today is not searched; the response is empty with a `window_in_past` hint. Ignored in anywhere mode."New value: +"Latest acceptable return date for round-trip, or latest acceptable departure for one-way (ISO YYYY-MM-DD). Window from earliest must be ≤365 days. Optional: omit it and it is derived from `earliest` (or from the default window when both are omitted). A window ending before today is not searched; the response is empty with a `window_in_past` hint. In anywhere mode the return (or one-way departure) must also fall on or before this date."
    • changedInput schema / properties / max_days / description
      Previous value: -"Maximum round-trip duration in days (return - departure); ignored for one-way and anywhere mode."New value: +"Maximum round-trip duration in days (return - departure); ignored for one-way. In anywhere mode, setting it restricts results to round trips of at most this length inside the window."
    • changedInput schema / properties / min_days / description
      Previous value: -"Minimum round-trip duration in days (return - departure); ignored for one-way and anywhere mode."New value: +"Minimum round-trip duration in days (return - departure); ignored for one-way. In anywhere mode, setting it restricts results to round trips of at least this length inside the window."
  9. Changed2 schema fields changed
    • changedInput schema / properties / earliest / examples
      Previous value: -[
      -  "2026-09-29"
      -]New value: +[
      +  "2026-12-11"
      +]
    • changedInput schema / properties / latest / examples
      Previous value: -[
      -  "2026-12-28"
      -]New value: +[
      +  "2027-03-11"
      +]
  10. Changed3 schema fields changed
    • changedInput schema / properties / earliest / examples
      Previous value: -[
      -  "2026-09-26"
      -]New value: +[
      +  "2026-09-29"
      +]
    • changedInput schema / properties / latest / examples
      Previous value: -[
      -  "2026-12-25"
      -]New value: +[
      +  "2026-12-28"
      +]
    • addedInput schema / properties / sellers
      Added value: +{
      +  "default": true,
      +  "description": "Whether to run the live seller-quote wave (Google Flights `booking_options`) for this request. Default `true`: unchanged behavior — the bounded frontier resolves seller prices, baggage basis, and the executable booking action. Set `sellers=false` to ask for the ranked fare calendar and the route-level price check ONLY: the response then carries `metadata.seller_enrichment_status=\"skipped\"`, results keep their Travelpayouts-grounded prices and durable booking links, and no seller quote, seller-level baggage fee, or direct seller action is resolved. It exists for callers that want the price picture cheaply and do not intend to book — our own curve-seeding crons use it — because the seller wave is where a search's provider spend actually goes (about seven of its ~eight calls). Non-economy cabins have no calendar source, so `sellers=false` there leaves `metadata.route_price_check` as the only priced evidence and `results` may be empty.",
      +  "examples": [
      +    true,
      +    false
      +  ],
      +  "title": "sellers",
      +  "type": "boolean"
      +}
  11. Changed4 schema fields changed
    • changedInput schema / properties / earliest / description
      Previous value: -"Earliest acceptable departure date (ISO YYYY-MM-DD). Optional: omit it and a default window is searched, with the applied window echoed in `query` and flagged by `metadata.window_defaulted`. Ignored in anywhere mode."New value: +"Earliest acceptable departure date (ISO YYYY-MM-DD). Optional: omit it and a default window is searched, with the applied window echoed in `query` and flagged by `metadata.window_defaulted`. A date already in the past is clamped to today and reported as `window_clamped` in `metadata.hints` — unless `latest` has passed too, in which case the whole window is declined rather than clamped (see `latest`). Ignored in anywhere mode."
    • changedInput schema / properties / earliest / examples
      Previous value: -[
      -  "2026-06-01"
      -]New value: +[
      +  "2026-09-26"
      +]
    • changedInput schema / properties / latest / description
      Previous value: -"Latest acceptable return date for round-trip, or latest acceptable departure for one-way (ISO YYYY-MM-DD). Window from earliest must be ≤365 days. Optional: omit it and it is derived from `earliest` (or from the default window when both are omitted). Ignored in anywhere mode."New value: +"Latest acceptable return date for round-trip, or latest acceptable departure for one-way (ISO YYYY-MM-DD). Window from earliest must be ≤365 days. Optional: omit it and it is derived from `earliest` (or from the default window when both are omitted). A window ending before today is not searched; the response is empty with a `window_in_past` hint. Ignored in anywhere mode."
    • changedInput schema / properties / latest / examples
      Previous value: -[
      -  "2026-08-31"
      -]New value: +[
      +  "2026-12-25"
      +]
  12. Changed2 schema fields changed
    • changedInput schema / properties / earliest / description
      Previous value: -"Earliest acceptable departure date (ISO YYYY-MM-DD). Required for a specific route; ignored in anywhere mode."New value: +"Earliest acceptable departure date (ISO YYYY-MM-DD). Optional: omit it and a default window is searched, with the applied window echoed in `query` and flagged by `metadata.window_defaulted`. Ignored in anywhere mode."
    • changedInput schema / properties / latest / description
      Previous value: -"Latest acceptable return date for round-trip, or latest acceptable departure for one-way (ISO YYYY-MM-DD). Window from earliest must be ≤365 days. Required for a specific route; ignored in anywhere mode."New value: +"Latest acceptable return date for round-trip, or latest acceptable departure for one-way (ISO YYYY-MM-DD). Window from earliest must be ≤365 days. Optional: omit it and it is derived from `earliest` (or from the default window when both are omitted). Ignored in anywhere mode."
  13. Changed2 schema fields changed
    • changedInput schema / properties / ch / description
      Previous value: -"Acquisition channel tag (e.g. web, mcp, a campaign name). Encoded with the route into the affiliate link's sub_id so a future commission can be attributed to this channel in the Travelpayouts dashboard. Defaults to 'direct'. Sanitized to [a-z0-9-]; capped at 64 chars."New value: +"Acquisition channel tag (e.g. web, mcp, a campaign name) for first-party analytics. Durable booking links retain the validated Travelpayouts marker for commission but do not trust opaque shortlinks solely to carry provider-dashboard sub_id attribution. Defaults to 'direct'; reduced to a bounded registered channel."
    • changedInput schema / properties / verify / description
      Previous value: -"How hard to cross-check the top result's route, dates, and cabin against Google Flights (SerpApi). `false` (default): the check still runs automatically on a fresh search when the top isn't already a live price, within a client-aware time budget. `true`: force the check even on a cache hit. `full`: THOROUGH mode — force the same best-effort check with a longer ~35s budget (set it when you can wait, e.g. an autonomous agent). This does not verify the displayed airline, itinerary, gate, or booking URL; inspect `metadata.route_price_check` separately. Checked-bag searches keep this fare-only route check and verdict null even when verify=true or verify=full; seller-level baggage enrichment still runs. Displayed Travelpayouts fares remain explicitly labeled cached indicators. No-op unless a SerpApi key is configured."New value: +"How hard to cross-check the top result's route, dates, and cabin against Google Flights (SerpApi). `false` (default): the check still runs automatically on a fresh search when the top isn't already a live price, within a client-aware time budget. `true`: force the check even on a cache hit. `full`: THOROUGH mode — force the same best-effort check with a longer ~35s budget and widen the request-local seller/date sample from at most three pairs to at most seven (set it when you can wait, e.g. an autonomous agent). The six-hour base and its cache key do not change. This does not verify the displayed airline, itinerary, gate, or booking URL; inspect `metadata.route_price_check` separately. Checked-bag searches keep this fare-only route check and verdict null even when verify=true or verify=full; seller-level baggage enrichment still runs. Displayed Travelpayouts fares remain explicitly labeled cached indicators. No-op unless a SerpApi key is configured."
  14. Changed3 schema fields changed
    • changedInput schema / properties / cabin / description
      Previous value: -"Cabin class: economy (default), premium_economy, business, or first. The bookable Travelpayouts calendar currently covers economy only. For a non-economy request, Google Flights may return representative route/date/cabin evidence in metadata.route_price_check, but no ranked fare is shown unless an exact seller booking action is available."New value: +"Cabin class: economy (default), premium_economy, business, or first. The Travelpayouts calendar covers economy; Google Flights may additionally return action-bound seller quotes for the requested cabin. Actionless evidence remains in metadata.route_price_check."
    • addedInput schema / properties / checked_bags
      Added value: +{
      +  "default": 0,
      +  "description": "Checked bags requested for the current one-adult, specific-route search contract. Anywhere discovery rejects checked_bags=1. Set to 1 to add a seller's unambiguous first-checked-bag fee to the ranked customer price. Unknown fees remain labeled in results[].price_basis instead of being guessed. Seller enrichment still runs, but the fare-only verdict and route-price check remain null, including when verify=true or verify=full.",
      +  "examples": [
      +    0,
      +    1
      +  ],
      +  "maximum": 1,
      +  "minimum": 0,
      +  "title": "checked_bags",
      +  "type": "integer"
      +}
    • changedInput schema / properties / verify / description
      Previous value: -"How hard to cross-check the top result's route, dates, and cabin against Google Flights (SerpApi). `false` (default): the check still runs automatically on a fresh search when the top isn't already a live price, within a client-aware time budget. `true`: force the check even on a cache hit. `full`: THOROUGH mode — force the same best-effort check with a longer ~35s budget (set it when you can wait, e.g. an autonomous agent). This does not verify the displayed airline, itinerary, gate, or booking URL; inspect `metadata.route_price_check` separately. Displayed Travelpayouts fares remain explicitly labeled cached indicators. No-op unless a SerpApi key is configured."New value: +"How hard to cross-check the top result's route, dates, and cabin against Google Flights (SerpApi). `false` (default): the check still runs automatically on a fresh search when the top isn't already a live price, within a client-aware time budget. `true`: force the check even on a cache hit. `full`: THOROUGH mode — force the same best-effort check with a longer ~35s budget (set it when you can wait, e.g. an autonomous agent). This does not verify the displayed airline, itinerary, gate, or booking URL; inspect `metadata.route_price_check` separately. Checked-bag searches keep this fare-only route check and verdict null even when verify=true or verify=full; seller-level baggage enrichment still runs. Displayed Travelpayouts fares remain explicitly labeled cached indicators. No-op unless a SerpApi key is configured."
  15. Changed4 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"Origin airport, 3-letter IATA code, UPPERCASE. Required for every search, including to=anywhere."New value: +"Origin location. Use a legacy 3-letter code (SHA), an exact airport (airport:SHA), or an all-airports city (city:SHA). Required for every search, including to=anywhere."
    • changedInput schema / properties / from / examples
      Previous value: -[
      -  "SGN",
      -  "HKG",
      -  "BKK"
      -]New value: +[
      +  "SGN",
      +  "airport:SHA",
      +  "city:SHA"
      +]
    • changedInput schema / properties / to / description
      Previous value: -"Destination airport, 3-letter IATA code, UPPERCASE. Pass `anywhere` (or omit) to get the cheapest destinations from the origin instead of a specific route."New value: +"Destination location: a legacy code, airport:AAA, or city:AAA. Pass `anywhere` (or omit) to get the cheapest destinations from the origin instead of a specific route."
    • changedInput schema / properties / to / examples
      Previous value: -[
      -  "ICN",
      -  "NRT",
      -  "SIN",
      -  "anywhere"
      -]New value: +[
      +  "ICN",
      +  "airport:PVG",
      +  "city:BJS",
      +  "anywhere"
      +]
  16. Changed2 schema fields changed
    • changedInput schema / properties / cabin / description
      Previous value: -"Cabin class: economy (default), premium_economy, business, or first. Use cabin=business to find business-class deals — the price verdict then judges the fare against the route's typical BUSINESS prices, and metadata.deal_signal flags a business fare below its own typical band. Non-economy cabins are priced via the live Google Flights source only (the cached calendar source covers economy), so results sample representative dates in the window."New value: +"Cabin class: economy (default), premium_economy, business, or first. The bookable Travelpayouts calendar currently covers economy only. For a non-economy request, Google Flights may return representative route/date/cabin evidence in metadata.route_price_check, but no ranked fare is shown unless an exact seller booking action is available."
    • changedInput schema / properties / verify / description
      Previous value: -"How hard to live-verify the top result against Google Flights (SerpApi). `false` (default): the check still runs automatically on a fresh search when the top isn't already a live price, within a client-aware time budget. `true`: force the check even on a cache hit. `full`: THOROUGH mode — force the same best-effort check with a longer ~35s budget (set it when you can wait, e.g. an autonomous agent). Always inspect `metadata.freshness`: if the live source is unavailable, fails, or reaches its spend cap, the response can still contain explicitly labeled cached indicators. No-op unless a SerpApi key is configured."New value: +"How hard to cross-check the top result's route, dates, and cabin against Google Flights (SerpApi). `false` (default): the check still runs automatically on a fresh search when the top isn't already a live price, within a client-aware time budget. `true`: force the check even on a cache hit. `full`: THOROUGH mode — force the same best-effort check with a longer ~35s budget (set it when you can wait, e.g. an autonomous agent). This does not verify the displayed airline, itinerary, gate, or booking URL; inspect `metadata.route_price_check` separately. Displayed Travelpayouts fares remain explicitly labeled cached indicators. No-op unless a SerpApi key is configured."
  17. Changed4 schema fields changed
    • changedInput schema / properties / latest / description
      Previous value: -"Latest acceptable return date (ISO YYYY-MM-DD). Window from earliest must be ≤365 days. Required for a specific route; ignored in anywhere mode."New value: +"Latest acceptable return date for round-trip, or latest acceptable departure for one-way (ISO YYYY-MM-DD). Window from earliest must be ≤365 days. Required for a specific route; ignored in anywhere mode."
    • changedInput schema / properties / max_days / description
      Previous value: -"Maximum trip duration in days (return - departure)."New value: +"Maximum round-trip duration in days (return - departure); ignored for one-way and anywhere mode."
    • changedInput schema / properties / min_days / description
      Previous value: -"Minimum trip duration in days (return - departure)."New value: +"Minimum round-trip duration in days (return - departure); ignored for one-way and anywhere mode."
    • changedInput schema / properties / top_n / description
      Previous value: -"Maximum number of results to return, sorted cheapest-first."New value: +"Maximum number of results to return, sorted cheapest-first. Specific routes allow up to 50; anywhere mode returns at most 12."
  18. Changed4 schema fields changed
    • removedInput schema / properties / from / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / from / description
      Previous value: -"Origin airport, 3-letter IATA code, UPPERCASE. Required for a specific route; with to=anywhere it may be omitted to auto-detect from the caller's IP country."New value: +"Origin airport, 3-letter IATA code, UPPERCASE. Required for every search, including to=anywhere."
    • changedInput schema / properties / verify / description
      Previous value: -"How hard to live-verify the top result against Google Flights (SerpApi). `false` (default): the check still runs automatically on a fresh search when the top isn't already a live price, within a client-aware time budget. `true`: force the check even on a cache hit. `full`: THOROUGH mode — wait for complete live verification and return the freshest prices with NO cached_indicators fallback (a longer ~35s budget; set it when you can wait, e.g. an autonomous agent). No-op unless a SerpApi key is configured."New value: +"How hard to live-verify the top result against Google Flights (SerpApi). `false` (default): the check still runs automatically on a fresh search when the top isn't already a live price, within a client-aware time budget. `true`: force the check even on a cache hit. `full`: THOROUGH mode — force the same best-effort check with a longer ~35s budget (set it when you can wait, e.g. an autonomous agent). Always inspect `metadata.freshness`: if the live source is unavailable, fails, or reaches its spend cap, the response can still contain explicitly labeled cached indicators. No-op unless a SerpApi key is configured."
    • addedInput schema / required
      Added value: +[
      +  "from"
      +]
  19. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the read-only, open-world, idempotent, non-destructive annotations, the description discloses default date windows, window clamping, empty-window behavior, fallback near matches, multi-origin budget splitting, seller-enrichment statuses, verification limits, and metadata hints. It is unusually rich about what happens when parameters are omitted or thin and about how results should be interpreted. Nothing contradicts the annotations.

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

Conciseness2/5

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

The first sentence is a useful summary, but the remaining description is an enormous wall of text with little paragraph structure and extensive repetition of schema details. For a tool whose parameters are already fully documented, many sentences do not earn their place and make the definition harder to scan. It is informative but far from concise.

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?

Given 23 parameters, no output schema, and complex external behavior, the description covers defaults, failure modes, metadata fields, seller enrichment, fallback behavior, and result interpretation. An agent has enough information to invoke the tool and understand the response. The completeness is strong, even if over-delivered.

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 cross-parameter meaning: how from lists merge, when fallback applies, how sellers=false interacts with route-price checks, how party searches skip seller waves, and how trip_length=nights filters fares with unknown times. Much of this is also in the schema, but the workflow-level interactions add value beyond individual parameter descriptions.

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 opening sentence states a specific verb and resource: find the cheapest round-trip across a flexible multi-month date window with min/max trip length. It distinguishes this from requiring exact dates and immediately names the prerequisite search_locations tool, so an agent can identify the tool's role without reading the schema. The example query reinforces the intended scope.

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?

The description gives clear when-to-use guidance: flexible, unknown dates, cheapest-time questions, specific routes, anywhere discovery, family searches, and checked-bag searches. It also says to call search_locations first. It lacks an explicit alternative flight-search tool to contrast with for exact-date searches, but no such sibling is listed, and its conditional guidance is extensive.

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.