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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "expedia_flights_search"
  }
}

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=true, openWorldHint=true and idempotentHint=false, so the safety and variability profile is covered. The description adds 'normalized' and 'departing-leg offers', which hints at result shaping, but says nothing about live vs cached pricing, rate limits, or pagination behavior for an open-world search.

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, front-loaded with the purpose and followed by the disambiguation. There is no filler, hedging, or repetition of schema content beyond the minimum needed to state scope.

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?

With an output schema present, the description needn't explain return values, and all 9 parameters are fully documented in the schema with annotations covering the safety profile. The only real gap is cross-sibling guidance within the flights category, which keeps it from a 5.

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%, with every parameter including required-ness, defaults, and the round_trip/return_date dependency spelled out in the schema. The description only restates the origin/destination/date-range inputs and 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?

The description names a specific verb and resource ('Returns normalized Expedia Flights search results'), defines the input scope ('an origin/destination IATA pair and date range'), and adds a distinguishing nuance ('departing-leg offers'). It also explicitly separates itself from the Stays sibling, so an agent can pick between them without opening either schema.

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 second sentence gives clear routing guidance to expedia_properties_search when the user wants lodging rather than flights. What's missing is any guidance among the other flight-search siblings in the catalog (agoda/booking/skyscanner flights), so the agent gets no when-to-use rule for the crowded flights category.

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.