Skip to main content
Glama
chaosisnotrandomitisrhythmic

flights-mcp

Search Flights

mcp_search_flights
Read-only

Search for flights between two airports on a specific date. Use filters for return date, stops, travel class, passengers, and price cap to receive best and other flight options with a Google Flights link.

Instructions

Search for flights on a specific route and date.

Args: departure: Departure airport IATA code (e.g. MAD, BER, MUC) arrival: Arrival airport IATA code (e.g. BER, MAD, LHR) date: Departure date in YYYY-MM-DD format return_date: Optional return date in YYYY-MM-DD format (omit for one-way) passengers: Number of adult passengers (default 1) stops: Stop filter — 1=nonstop only, 2=1 stop max, 3=2 stops max (default: any) travel_class: 1=economy, 2=premium economy, 3=business, 4=first (default 1) sort_by: Sort order — 1=top flights, 2=price, 3=departure time, 4=arrival time, 5=duration currency: Price currency ISO code (default EUR) max_price: Maximum price filter in the specified currency

Returns: JSON with best_flights, other_flights arrays, and Google Flights URL

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes
stopsNo
arrivalYes
sort_byNo
currencyNoEUR
departureYes
max_priceNo
passengersNo
return_dateNo
travel_classNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds output details (best_flights, other_flights, Google Flights URL), but an output schema exists, reducing the need for that. It discloses no additional behavioral caveats such as rate limits, failure modes, or result-size limits.

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 front-loaded with a one-sentence purpose, followed by a compact Args list and a brief Returns note. Every line contributes useful information, and the length is justified by the 10-parameter surface area.

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

Completeness5/5

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

Given the high parameter count and complete lack of schema descriptions, this tool description is sufficiently complete for an agent to invoke it correctly. It covers all parameters, defaults, filters, and return shape, leaving no critical ambiguity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description fully compensates by explaining every parameter with examples (IATA codes), format (YYYY-MM-DD), defaults, and enumerated meanings (stops, travel_class, sort_by, currency). This adds significant value beyond the bare input schema.

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 opens with 'Search for flights on a specific route and date,' which clearly identifies the verb, resource, and core scoping criteria. This distinguishes it from the sibling mcp_get_booking_options by focusing on the flight search itself rather than booking options.

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?

The description gives clear context for when to use the tool: searching flights on a route and date. It does not explicitly mention the sibling alternative or provide exclusions, but the use case is unambiguous and easy for an agent to apply.

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/chaosisnotrandomitisrhythmic/flights-mcp'

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