Skip to main content
Glama
Flight Search MCP
by sickn33

search_flights

Read-only

Search flights by exact legs, party size, market, and local time windows to compare prices and durations across carriers. Define stops, cabin, and currency filters to narrow results.

Instructions

Search by explicit flight legs, exact party, market, and local time windows. The optional partner source must be selected explicitly.

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": {
      "legs": "<legs>"
    },
    "name": "search_flights"
  }
}

Input Schema

NameRequiredDescriptionDefault
legsYes
sortNoprice
cabinNoeconomy
limitNo
adultsNo
localeNoBCP 47 locale. If omitted, use the language of the requested market.
marketNoIT
carriersNo
currencyNoEUR
maxStopsNo
maxTotalNo
childAgesNo
providersNo
lapInfantsNo
seatInfantsNo
excludedCarriersNo
maxDurationMinutesNo
allowSeparateTicketsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.9

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already establish that this is a read-only, open-world search. The description adds useful behavioral context about explicit partner-source selection and local time windows, but it does not explain result behavior, pagination, or provider effects in any detail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is two sentences and front-loads the core search scope without filler. The second sentence is somewhat terse and ambiguous, but overall it is efficiently structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex search tool with 18 parameters, very low schema description coverage, and no output schema. The description is too sparse to make the parameter space or search behavior fully interpretable for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 6% across 18 parameters. The description gestures at important concepts such as legs, party, market, time windows, and providers, but it leaves most parameters undefined, including sort, cabin, limit, currency, stops, budget, and separate-ticket behavior.

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?

States a specific verb and resource: search flights, scoped by explicit legs, party, market, and local time windows. This is clear enough to identify the operation, but it does not distinguish the tool from nearby siblings such as search_awards or explore_dates.

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

Usage Guidelines2/5

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

The description constrains inputs but gives no explicit guidance on when to use this tool rather than alternative flight-search tools. It implies use when legs are explicit, but does not name alternatives or exclusions.

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