Skip to main content
Glama

Search empty leg flights

search_empty_legs
Read-onlyIdempotent

Search live empty leg flights (whole aircraft, discounted repositioning flights) by origin, destination, date window, passengers, market and an optional price ceiling. Returns up to limit legs (default 5, max 20) with route, departure window, aircraft and seats, the whole-aircraft price in local currency, estimated taxes, an all-in estimate, the full-charter comparison and a booking link. Operators are not named on empty legs. Inventory changes constantly; re-run rather than reuse old results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many legs to return (1 to 20, default 5).
marketNoMarket by country, e.g. "India", "US", "UK", "UAE" (list_markets has the full list). Optional.
originNoDeparture city or airport, e.g. "Mumbai", "BOM", "VABB", "Teterboro" or "KTEB".
date_toNoLatest departure date, YYYY-MM-DD.
currencyNoOptional 3-letter currency to add an indicative conversion and to read max_price in, e.g. USD or EUR.
date_fromNoEarliest departure date, YYYY-MM-DD.
max_priceNoPrice ceiling for the whole aircraft, in `currency` when given, else in each leg's own currency.
passengersNoNumber of passengers (legs with fewer seats are excluded).
destinationNoArrival city or airport, e.g. "Mumbai", "BOM", "VABB", "Teterboro" or "KTEB".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description earns credit by adding things annotations cannot: results cap at limit (default 5, max 20), prices are whole-aircraft in local currency with estimated taxes and an all-in estimate, operators are deliberately withheld, and inventory churns so results should be re-run rather than cached. That is substantive behavioral context beyond the structured fields.

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?

Three sentences, front-loaded with the what/where, then what comes back, then the freshness rule. Dense but each clause carries information. The long enumeration of return fields is slightly list-heavy, though it is doing real work given there is no output schema.

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 no output schema, the description correctly compensates by enumerating the returned fields (route, departure window, aircraft, seats, price, taxes, all-in, charter comparison, booking link). The one gap is that all nine parameters are optional, yet the description never states which inputs are effectively needed to get meaningful results (e.g. origin/destination/date window).

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%, so the schema already documents all nine parameters including formats, bounds and examples; the baseline of 3 applies. The description merely restates the high-level dimensions and the default/max limit, adding no format or interaction detail beyond what the schema provides.

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 ('Search live empty leg flights') and immediately defines the domain term parenthetically as 'whole aircraft, discounted repositioning flights'. The description also scopes the search axes (origin, destination, date window, passengers, market, price ceiling), which cleanly distinguishes it from the single-record sibling get_empty_leg and the pricing sibling get_charter_estimate.

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 search axes and by the note that operators are not named, which tells the agent when this tool won't answer a 'which operator' question. However, no sibling is named and no explicit when-to-use / when-not-to-use condition is given (e.g. 'use get_empty_leg once you have a specific leg id, use get_charter_estimate for non-empty-leg pricing').

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.