Skip to main content
Glama

Search empty leg flights

search_empty_legs
Read-onlyIdempotent

Search available empty leg flights by origin, destination, date range, passenger count, and an optional max_price ceiling. Returns up to 5 matching flights with route, departure time, price, aircraft type, available seats, and a booking link. Use this to find discounted private jet availability for a specific route. A flight with price: null has no published price (shown on SkyAccess as "Contact for price"). Such flights are included even when max_price is set, because their price is unknown; they are not confirmed to be within the cap.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
originNoDeparture city or airport code (e.g. "Los Angeles" or "LAX")
max_priceNoOptional price ceiling in USD (all-in customer price). Legs priced above this figure are excluded. Legs with no published price (price: null, shown as "Contact for price") are still included because their price is unknown; they are not confirmed to be within the cap.
passengersNoNumber of passengers
destinationNoArrival city or airport code (e.g. "Las Vegas" or "KLAS")
departureDateToNoLatest departure date in ISO format
departureDateFromNoEarliest departure date in ISO format (e.g. "2026-07-10")

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / max_price / description
      Previous value: -"Optional price ceiling in USD (all-in customer price). Only legs at or below this figure are returned. One exception, by design: legs whose operator has not confirmed they will honour a published price are still returned regardless of the cap, with `price: null` — describe those as \"Contact for price\" and do NOT tell the customer they fall within the cap, because their price is unknown, not low."New value: +"Optional price ceiling in USD (all-in customer price). Legs priced above this figure are excluded. Legs with no published price (price: null, shown as \"Contact for price\") are still included because their price is unknown; they are not confirmed to be within the cap."
  2. First observed

TDQS

A4/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's job is to add behavioral detail, which it does: up to 5 results returned, the exact result fields, and the non-obvious rule that price:null legs bypass the max_price cap. That null-price edge case is real behavior an agent could not predict from the schema alone.

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, well front-loaded: purpose and filters first, return shape second, usage context third, with the max_price caveat last. Slightly redundant with the schema's max_price text, but nothing is wasteful.

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

Completeness5/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 supplies the return fields and the result cap, and it discloses the one surprising behavioral rule (unknown-priced legs included despite max_price). Combined with annotations covering safety, an agent has everything needed to call and interpret this tool.

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% and every parameter is documented in the schema, including the max_price null-price caveat, which the description largely restates. Baseline 3 is appropriate since the schema carries the parameter burden and the description adds no new syntax or format detail.

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 empty leg flights) plus the exact filter set. The siblings (get_flight, request_booking, booking_handoff, get_charter_estimate) are retrieval or booking tools, so the search-and-filter purpose is unambiguous without opening any schema.

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?

"Use this to find discounted private jet availability for a specific route" implies the context of use, but there is no explicit when-not-to-use, no mention of when to prefer get_flight or get_charter_estimate, and no stated prerequisites. Adequate but leaves routing to inference.

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.