Skip to main content
Glama

Wingman flight search

Search flights

search_flights
Read-onlyIdempotent

Search today's live fares for a one-way or round trip: up to 9 travellers, any cabin, with or without bags. Prices are totals for all travellers and include each airline's fee for the bags asked for (estimated where the airline doesn't list it). A round trip lists whole trips, outbound and return together, the cheapest first, then the fastest and the best (price and time together). It also lists a round-trip ticket when one is cheaper than two one-ways. Each answer has results_url, where the person sees all the results and books, and watch_url, which watches the trip in Wingman for a free alert when the price drops.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "origin": "<origin>",
      "destination": "<destination>",
      "departure_date": "<departure_date>"
    },
    "name": "search_flights"
  }
}

Input Schema

NameRequiredDescriptionDefault
cabinNoeconomy
adultsNoTravellers aged 12 and over.
originYesWhere the trip starts. IATA code of an airport or a city, e.g. PRG or LON (a city's code covers all its airports). A city name also works when only one city has it.
childrenNoTravellers aged 2 to 11.
currencyNoThe currency of the prices.EUR
cabin_bagNoEach traveller takes a cabin bag (about 10 kg, in the overhead bin).
max_stopsNo0 for direct flights only, 1 for at most one stop. Leave it out for any.
checked_bagNoEach traveller checks in one bag (20 to 23 kg).
destinationYesWhere it goes. IATA code of an airport or a city, e.g. PRG or LON (a city's code covers all its airports). A city name also works when only one city has it.
return_dateNoThe return day, YYYY-MM-DD. Leave it out for a one-way trip.
departure_dateYesThe departure day, YYYY-MM-DD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: prices are totals for all travellers, bag fees are included and sometimes estimated, round trips are ranked cheapest/fastest/best, and a cheaper round-trip ticket may be listed versus two one-ways. It also explains the results_url and watch_url outputs.

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 dense but front-loaded: it starts with the core search action, then explains pricing and round-trip ranking, and closes with the return URLs. Every sentence contributes useful scope or behavioral context.

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?

For an 11-parameter search tool with no output schema, the description covers pricing, round-trip behavior, ranking, and return URLs well. The remaining gaps are minor: explicit routing to find_airports for code resolution and clarification of the traveller-count ambiguity.

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 high at 91%, so the schema already documents most parameters. The description adds useful aggregate pricing and bag-fee semantics, but the phrase 'up to 9 travellers' is ambiguous against a schema that allows up to 9 adults plus 8 children.

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 and resource: searching live flight fares for one-way or round trips, with clear constraints on travellers, cabin, and bags. It distinguishes the tool's scope from a simple airport lookup such as find_airports.

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

Usage Guidelines3/5

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

The description establishes clear context for flight searches and trip types, but it does not explicitly say when to use this tool versus find_airports or other alternatives. Usage is implied by the name and description rather than guided with exclusions or prerequisites.

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.

Resources