Skip to main content
Glama
andreacappelletti97

google-flights-mcp

search_flights

Search for one-way or round-trip flights and compare prices, airlines, durations, stops, aircraft, emissions, and price context.

Instructions

Search for one-way or round-trip flights. Returns prices, airlines, durations, stops, aircraft, emissions, and price context (low/typical/high).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
adultsNoNumber of adult passengers
originYesDeparture airport IATA code (e.g., JFK)
sortByNoSort results bybest
infantsNoNumber of infant passengers
childrenNoNumber of child passengers
maxStopsNoMaximum number of stops (0=nonstop, 1, 2). Omit for any.
cabinClassNoCabin classeconomy
maxResultsNoMaximum number of results to return
returnDateNoReturn date in YYYY-MM-DD format (makes it round-trip)
destinationYesArrival airport IATA code (e.g., NRT)
departureDateYesDeparture date in YYYY-MM-DD format
Behavior3/5

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

No annotations are provided, so the description carries the burden. It lists return fields but does not disclose if the operation is read-only, any side effects, error conditions, auth needs, or rate limits. The behavior is implied as read-only with no side effects.

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

Conciseness5/5

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

The description is two sentences, concise, and front-loaded with the primary action. Every part adds value without 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?

For a tool with 11 parameters and no output schema, the description covers the purpose and return values well. However, it lacks details on pagination or sorting behavior, but given the schema richness, it is mostly complete.

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 100%, so the baseline is 3. The description adds context about one-way vs round-trip (via returnDate) but does not provide additional parameter semantics beyond what the schema already contains.

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 description clearly states it searches for flights, specifies one-way or round-trip, and lists the returned data (prices, airlines, durations, etc.). This differentiates it from siblings like search_multi_city or get_price_insights.

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?

The description implies usage for standard flight searches but does not explicitly provide when to use this tool versus alternatives, nor does it mention when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/andreacappelletti97/google-flights-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server