Skip to main content
Glama

Search Europe to Southeast Asia flight fares

search_flights
Read-onlyIdempotent

Find observed round-trip fares from European hubs into Southeast Asian cities. Returns the observed fare distribution per route (minimum, quartiles, maximum), how many itineraries it was computed from, the fewest stops and shortest duration seen, and provenance. Fares are whole-trip totals for the whole party and are historical observations, not live availability. Rows marked provisional were read before the source's result list settled, so their minimum is biased high. Aggregates only: no itinerary-level fares or booking links are published.

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": "search_flights"
  }
}

Input Schema

NameRequiredDescriptionDefault
cabinNoeconomy
limitNo
adultsNo
trip_typeNoround_trip
origin_iataNoEuropean origin airport IATA code, e.g. 'CDG'.
stay_nightsNo
depart_monthNoDeparture month, e.g. '2026-09'. Each month is represented by one sampled departure date.
nonstop_onlyNoKeep only routes with an observed nonstop itinerary.
max_price_usdNoCeiling on the observed minimum fare for the route.
destination_iataNoDestination airport IATA code, e.g. 'BKK'.
destination_city_idNoSoutheast Asian city ID, e.g. 'th-bangkok'. Resolves to that city's airport(s).
include_provisionalNoInclude readings taken before the source's result list settled (sample_count < 20 or status != 'ok'). They are always marked; set false to exclude them.

Output Schema

NameRequiredDescriptionDefault
metaYes
queryYes
cohortYes
resultsYes
coverageYes
truncatedYes
suggestionsYes
total_matchesYes
no_data_reasonYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / coverage / properties / departed_count
      Added value: +{
      +  "description": "Matched routes whose sampled departure date is already in the past.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / coverage / required
      Previous value: -[
      -  "routes_matched",
      -  "provisional_count",
      -  "settled_count",
      -  "months_present",
      -  "destinations_present",
      -  "origins_present",
      -  "oldest_observation",
      -  "newest_observation"
      -]New value: +[
      +  "routes_matched",
      +  "provisional_count",
      +  "settled_count",
      +  "departed_count",
      +  "months_present",
      +  "destinations_present",
      +  "origins_present",
      +  "oldest_observation",
      +  "newest_observation"
      +]
    • addedOutput schema / properties / results / items / properties / travel_window
      Added value: +{
      +  "description": "'departed' when the sampled travel date is before today (UTC): the price is a historical observation and cannot be booked. 'upcoming' otherwise — still a stored snapshot, never live availability.",
      +  "enum": [
      +    "upcoming",
      +    "departed"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / results / items / required
      Previous value: -[
      -  "route_id",
      -  "origin_iata",
      -  "origin_city",
      -  "destination_iata",
      -  "destination_city",
      -  "destination_city_id",
      -  "depart_month",
      -  "depart_date_sampled",
      -  "return_date_sampled",
      -  "currency",
      -  "min_amount",
      -  "p25_amount",
      -  "median_amount",
      -  "p75_amount",
      -  "max_amount",
      -  "cheapest_badge_amount",
      -  "sample_count",
      -  "status",
      -  "provisional",
      -  "provisional_reason",
      -  "min_stops",
      -  "min_duration_minutes",
      -  "source",
      -  "observed_at"
      -]New value: +[
      +  "route_id",
      +  "origin_iata",
      +  "origin_city",
      +  "destination_iata",
      +  "destination_city",
      +  "destination_city_id",
      +  "depart_month",
      +  "depart_date_sampled",
      +  "travel_window",
      +  "return_date_sampled",
      +  "currency",
      +  "min_amount",
      +  "p25_amount",
      +  "median_amount",
      +  "p75_amount",
      +  "max_amount",
      +  "cheapest_badge_amount",
      +  "sample_count",
      +  "status",
      +  "provisional",
      +  "provisional_reason",
      +  "min_stops",
      +  "min_duration_minutes",
      +  "source",
      +  "observed_at"
      +]
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses substantial behavioral context: fares are whole-trip totals for the whole party, data are historical observations rather than live availability, provisional rows are biased high, and only aggregates are published without booking links. These details materially affect interpretation and are not available in the structured 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?

The description is front-loaded with the core action, then efficiently layers in return contents and important caveats. Every sentence earns its place, and there is no redundant restatement of the tool name.

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 a relatively complex tool with 12 parameters, an output schema, and annotations, the description covers the domain, output semantics, provenance, and interpretation caveats well. Its main gap is that it does not acknowledge one-way search despite the `trip_type` schema option, leaving a small mismatch between prose and capability.

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?

The description adds useful meaning around whole-party totals and provisional readings, which helps interpret parameters like `adults` and `include_provisional`. But with 12 parameters and only 58% schema description coverage, several parameters such as cabin/limit/stay_nights/depart_month/max_price are not given additional semantic context in the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource (find observed round-trip fares) and narrows the scope to European hubs into Southeast Asian cities, which clearly distinguishes it from sibling cost/lodging/restaurant tools. However, it describes only round-trip fares while the schema exposes a `trip_type` option for `one_way`, so the purpose statement is slightly narrower than the tool’s actual capability.

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?

Usage is implied by the fare-search framing and the note that results are historical observations rather than live availability, which helps set expectations. There is no explicit when-to-use or when-not-to-use guidance, and no direct routing to or away from sibling tools such as `compare_city_costs`.

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