Skip to main content
Glama
manganate006

google-flights-mcp

by manganate006

search_flexible_dates

Find the cheapest departure day over a date range for flexible travel planning. Searches multiple dates to identify the lowest fare.

Instructions

Find the cheapest departure day over a date range. Ideal for flexible holiday planning.
Runs one search per candidate date (throttled) — keep ranges reasonable.

Args:
    to_airport: IATA destination code
    date_from: Earliest departure date YYYY-MM-DD
    date_to: Latest departure date YYYY-MM-DD
    from_airports: Comma-separated IATA departure codes (default: NCE,MRS)
    trip_length_days: 0 = one-way (default); >0 = round-trip with return = departure + N days
    weekends_only: If true, only consider Friday/Saturday departures
    adults: Number of adults
    children: Number of children
    seat: Seat class
    max_stops: -1 = no limit (default), 0 = direct only
    airlines: Comma-separated IATA airline codes to restrict to; empty = all
    currency: ISO currency code (default EUR)
    language: Language code (default fr)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seatNoeconomy
adultsNo
date_toYes
airlinesNo
childrenNo
currencyNoEUR
languageNofr
date_fromYes
max_stopsNo
to_airportYes
from_airportsNo
weekends_onlyNo
trip_length_daysNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Despite no annotations, the description discloses that it runs one search per candidate date (throttled), a key behavioral trait. It also advises keeping ranges reasonable, implying rate limits. No contradictions.

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 concise with a brief intro and structured parameter list. Every sentence adds value, and the purpose is front-loaded. No unnecessary text.

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?

Given the complexity (13 parameters, output schema exists), the description covers all parameters and usage intent. It lacks details on error handling or empty results, but the output schema likely covers return structure.

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?

The description provides detailed explanations for all 13 parameters in the 'Args' section, compensating for the 0% schema coverage. It clarifies defaults and special values (e.g., trip_length_days=0 for one-way).

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 the tool finds the cheapest departure day over a date range, with a specific use case for flexible holiday planning. It distinguishes from siblings like search_flights (fixed dates) and compare_destinations.

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 advises when to use ('ideal for flexible holiday planning') and warns about performance ('keep ranges reasonable'). It implies not to use for fixed dates, but does not explicitly name 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/manganate006/google-flights-mcp'

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