Skip to main content
Glama

expedia_flights_search

Read-only

Returns normalized Expedia Flights search results (departing-leg offers) for an origin/destination IATA pair and date range. Use expedia_properties_search to search Expedia Stays properties.

Input Schema

NameRequiredDescriptionDefault
adultsNoAdult passengers, 1-9; omitted or zero uses the service default.
localeNoLanguage/country locale, default en_US.
originNoRequired departure airport IATA code, e.g. JFK.
currencyNoPrice currency code, default USD.
trip_typeNoround_trip (default) or one_way. round_trip requires return_date.
cabin_classNoCOACH (default), PREMIUM_ECONOMY, BUSINESS, or FIRST.
destinationNoRequired arrival airport IATA code, e.g. LAX.
return_dateNoReturn date in YYYY-MM-DD format; required for round_trip and must be after departure_date.
departure_dateNoRequired departure date in YYYY-MM-DD format.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / adults / description
      Added value: +"Adult passengers, 1-9; omitted or zero uses the service default."
    • addedInput schema / properties / cabin_class / description
      Added value: +"COACH (default), PREMIUM_ECONOMY, BUSINESS, or FIRST."
    • addedInput schema / properties / currency / description
      Added value: +"Price currency code, default USD."
    • addedInput schema / properties / departure_date / description
      Added value: +"Required departure date in YYYY-MM-DD format."
    • addedInput schema / properties / destination / description
      Added value: +"Required arrival airport IATA code, e.g. LAX."
    • addedInput schema / properties / locale / description
      Added value: +"Language/country locale, default en_US."
    • addedInput schema / properties / origin / description
      Added value: +"Required departure airport IATA code, e.g. JFK."
    • addedInput schema / properties / return_date / description
      Added value: +"Return date in YYYY-MM-DD format; required for round_trip and must be after departure_date."
    • addedInput schema / properties / trip_type / description
      Added value: +"round_trip (default) or one_way. round_trip requires return_date."
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds one useful behavioral detail — that results are normalized and limited to departing-leg offers — but omits pricing/currency behavior, result volume, or pagination, so it adds only modest context beyond the annotations.

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?

Two sentences with zero filler, and the core purpose is front-loaded ahead of the sibling routing hint. Every sentence earns its place.

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?

An output schema exists so return values need not be explained, and annotations cover the safety profile. The description covers purpose, scope, and one alternative; it could note result volume or that return-leg offers come separately, but nothing essential for a correct call is missing.

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%, and the schema already documents each of the 9 parameters including requiredness, formats, and defaults. The description restates origin/destination IATA and date range but adds no format or constraint detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ("Returns normalized Expedia Flights search results") and pins the scope to departing-leg offers for an origin/destination IATA pair and date range. It also explicitly distinguishes itself from the sibling expedia_properties_search, which handles Stays.

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?

Names an alternative (expedia_properties_search) and the condition that selects it (Stays vs Flights), which is clear context for routing. It stops short of addressing other Expedia siblings like expedia_activities_search or expedia_locations_search, so it is clear but not exhaustive.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.