Skip to main content
Glama

Server Details

whentofly: flexible-date economy/business flight search + price-level context for AI agents

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
dimabalony/whentofly-mcp
GitHub Stars
3
Server Listing
whentofly
ChatGPT
–
Claude
–

TDQS

A4.4/5.0

Scored across 2 tools

Disambiguation4/5

The two tools have genuinely different jobs: search_locations resolves a name/code to a typed token, search_flights prices trips. There is minor overlap because search_flights also accepts raw IATA codes and catalog-correction behavior, so it is not always obvious whether the location step is mandatory, but the descriptions push agents toward the right sequence.

Naming Consistency5/5

Both names follow the same snake_case verb_noun pattern (search_flights, search_locations) with a shared 'search_' prefix. Fully predictable.

Tool Count3/5

Two tools is thin for a domain this broad; nearly all capability is compressed into a single mega-tool with dozens of modes and parameters. The pair is defensible but the surface feels under-decomposed rather than well-scoped.

Completeness4/5

The domain — flexible-date fare discovery plus location resolution — is well covered: round-trip and one-way, anywhere mode, multi-origin, party sizing, baggage, booking links, and price verdicts. Gaps are minor (no separate itinerary/booking-detail or calendar-browse operation), and most needs are handled through parameters.

Available Tools

2 tools
search_flightsA
Read-onlyIdempotent
Inspect

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.

Inputs: from (required), ch, to, cabin, +19 more.

search_locationsA
Read-onlyIdempotent
Inspect

Resolve a city or airport name or code before searching flights. Returns typed values such as city:SHA to search every catalog airport in Shanghai or airport:SHA for Hongqiao only. Pass the selected value unchanged to search_flights. Ask the traveler when multiple results are plausible.

Inputs: q (required), limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Flexible multi-leg, multi-airport flight search that finds the cheapest route across an entire itinerary — available as a CLI and as an MCP server for AI agents.
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Integrates Google Flights data into AI workflows for natural language flight searches, price comparisons, flexible date searches, and multi-city itinerary planning with support for various cabin classes and passenger types.
      9
      8
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to search real-time Google Flights data without an API key, covering flight and multi-city searches, cabin class comparisons, 60-day price calendars, SQLite-backed price tracking, emissions and aircraft details, nearby airport lookup, and layover risk analysis.
      2
      12
      263 npm
      ISC
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.