Skip to main content
Glama
google-flights-mcp

google-flights-mcp

by YahavBar3

search_flights

Read-onlyIdempotent

Find one-way or round-trip flights on Google Flights with filters for cabin, stops, airlines, price, duration, and dates, returning fares, schedules, layovers, and CO2 emissions.

Instructions

Search one-way or round-trip flights on Google Flights.

Returns itineraries with price, airlines, flight numbers, times, duration, layovers, aircraft, legroom and CO2 emissions. For round trips the listed flights are outbound options and prices are round-trip totals.

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": {
      "origin": "<origin>",
      "destination": "<destination>",
      "departure_date": "<departure_date>"
    },
    "name": "search_flights"
  }
}

Input Schema

NameRequiredDescriptionDefault
cabinNoCabin class.economy
limitNoMaximum itineraries to return.
adultsNoAdults (12+).
originYes3-letter IATA airport or city code, e.g. 'JFK', 'LON'.
sort_byNo'best' keeps Google's ranking.best
airlinesNoRestrict to airlines by 2-letter IATA code (e.g. ['BA','AA']) or alliance ('ONEWORLD', 'STAR_ALLIANCE', 'SKYTEAM').
childrenNoChildren (2-11).
currencyNoISO 4217 currency code, e.g. 'USD', 'EUR', 'ILS'.USD
max_priceNoMaximum total price in `currency`.
max_stopsNo0 = nonstop only, 1 = up to one stop, etc.
destinationYes3-letter IATA airport or city code, e.g. 'JFK', 'LON'.
return_dateNoYYYY-MM-DD for a round trip; omit for one-way.
checked_bagsNoInclude checked-bag fees in price.
carry_on_bagsNoInclude carry-on fees in price.
departure_dateYesDate as YYYY-MM-DD.
infants_on_lapNoInfants on lap.
infants_in_seatNoInfants with their own seat.
max_duration_hoursNoMaximum journey duration per leg.
exclude_basic_economyNo
hide_separate_ticketsNoHide self-transfer / separate-ticket itineraries.
latest_departure_hourNo
earliest_departure_hourNo

Output Schema

NameRequiredDescriptionDefault
noteNo
currencyYes
trip_typeYes
itinerariesYes
result_countYes
google_flights_urlYesOpen this link to view or book on Google Flights.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world behavior, so safety is covered. The description adds genuinely non-obvious semantics: for round trips the returned itineraries are outbound options and prices are round-trip totals, plus a summary of what each itinerary contains. It does not mention caching, result-count behavior, or that calls hit a live external site.

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?

Four short sentences, purpose front-loaded, with the round-trip caveat immediately following. The enumeration of returned fields partially duplicates the output schema, which is the only mild waste.

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?

For a 22-parameter, read-only search tool with an output schema and annotation coverage, the description supplies the essentials plus the non-obvious round-trip interpretation. The main remaining gap is disambiguation from the two sibling tools, which the description never addresses.

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 description coverage is 86% across 22 parameters, so the schema already carries nearly all parameter meaning. The description adds no parameter-level detail beyond the implicit one-way/round-trip distinction via return_date, which matches the baseline 3 for high-coverage schemas.

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?

Names a specific verb and resource ("Search one-way or round-trip flights on Google Flights") and states the scope of what is returned. It does not distinguish itself from siblings like find_cheapest_dates or get_google_flights_url, so an agent must infer which one to pick from the names alone.

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

Usage Guidelines3/5

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

Usage is only implied by the stated purpose; there is no explicit when-to-use or when-not-to-use guidance and no mention of the sibling tools as alternatives. The one useful routing signal is that omitting return_date yields a one-way search, which is only implied by "omit for one-way" in the schema rather than the description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.