Skip to main content
Glama
andreacappelletti97

google-flights-mcp

compare_cabin_classes

Compare flight prices across economy, premium economy, business, and first class for the same route with a single request.

Instructions

Compare prices across economy, premium economy, business, and first class for the same route in one call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
adultsNo
originYesDeparture airport IATA code
maxStopsNoMax stops (0=nonstop)
destinationYesArrival airport IATA code
departureDateYesDeparture date (YYYY-MM-DD)
Behavior2/5

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

With no annotations provided, the description must bear full burden for behavioral disclosure. It only states it 'compares prices' with no mention of side effects, permissions, or data freshness. As a read-only tool, it lacks explicit safety guarantees. The description is too sparse.

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?

Single sentence, no fluff. Every word adds value: verb, resource, scope ('same route in one call'). Easily scannable.

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?

No output schema and no description of return values. The description minimally covers the tool's purpose but lacks detail on what the response contains (e.g., price for each class, currency, provider). For a tool that is likely used in decision-making, this is a gap.

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 description coverage is 80% (covers origin, destination, departureDate, maxStops, adults). The description adds meaning beyond schema by specifying the cabin classes compared (economy, premium economy, business, first class), which is not in the schema. This helps the agent understand the tool's specific output.

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 uses a specific verb 'Compare' and clearly identifies the resource: prices across multiple cabin classes (economy, premium economy, business, first class) for the same route in one call. This distinguishes it from sibling tools like search_flights, which likely handles a single cabin class.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus siblings like search_flights, get_price_insights, or get_calendar_heatmap. The description implies it's for comparing multiple classes at once, but does not state when NOT to use it or provide alternatives.

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