Skip to main content
Glama
thealexauer

google-flights-mcp

by thealexauer

search_flights

Search one-way or round-trip flights and get Business class, Star Alliance results with EUR pricing by default. Use for simple A→B or A→B→A searches.

Instructions

Search for one-way or round-trip flights. Returns Business class, Star Alliance results by default with EUR pricing. Use for simple A→B or A→B→A searches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stopsNoMax stops. 0=nonstop only, 1=up to 1 stop, etc.
airlinesNoComma-separated airline/alliance codes to include (e.g. STAR_ALLIANCE, LH, OS). Defaults to STAR_ALLIANCE.
arrival_idYesArrival airport IATA code (e.g. NRT, MIA, BCN)
return_dateNoReturn date in YYYY-MM-DD format. Omit for one-way.
departure_idYesDeparture airport IATA code (e.g. VIE, FRA, MBA)
travel_classNo1=Economy, 2=Premium Economy, 3=Business (default), 4=First
outbound_dateYesDeparture date in YYYY-MM-DD format
exclude_airlinesNoComma-separated airline codes to exclude

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it usefully discloses defaults (Business class, Star Alliance, EUR pricing) that an agent could not infer. However it omits result volume, pagination, rate limits, or whether results are cached/live — meaningful gaps for a search tool.

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?

Three short sentences, front-loaded with the core capability before defaults and routing guidance. Efficient, though the sentence fragments read slightly clipped rather than polished.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter search tool with no output schema, the description covers purpose and defaults but says nothing about the shape, ordering, or volume of results returned. Adequate to invoke correctly, but incomplete about what comes back.

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 every parameter is already documented with IATA formats, date formats, cabin mapping and stop semantics. The description only restates the default cabin/alliance, adding no syntax or constraint meaning beyond the schema; baseline 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 and resource ('Search for one-way or round-trip flights') and adds scope detail (default cabin, alliance, currency). The 'simple A→B or A→B→A' clause hints at the distinction from search_multi_city without naming it, so sibling differentiation is implicit rather than explicit.

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?

Gives clear usage context ('Use for simple A→B or A→B→A searches'), which implies the multi-city sibling should be used otherwise. It stops short of naming search_multi_city or stating exclusions explicitly, so it is strong but not fully routing.

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