Skip to main content
Glama

Cheap Flights, Hotels & eSIMs

Cheapest deals from an airport

cheapest_deals_from_airport
Read-onlyIdempotent

Today's cheapest round-trip flight deals from any departure airport in the world (IATA code), cheapest first. Each deal has the destination, price, the usual price on that route and how far below it the fare is, travel dates, and a booking link. Also returns the airport's lowest fare in the last 30 days. Prices are in the departure airport's local currency. Small airports can have no fares; nearby airports with fares are then included.

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": {
      "originIata": "<originIata>"
    },
    "name": "cheapest_deals_from_airport"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many deals to return, 1 to 15. Default 10.
maxPriceNoOnly return fares at or below this price, in the airport's local currency.
originIataYesDeparture airport or city IATA code, anywhere in the world, for example BUD, ICN or LON.

Output Schema

NameRequiredDescriptionDefault
noteYes
dealsYes
originYes
updatedAtYes
alertOfferYes
airportPageUrlYes
lowestFareLast30DaysYes
nearbyAirportsWithFaresNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the description focuses on what annotations cannot express: prices are in the departure airport's local currency, the response includes the airport's 30-day lowest fare, and thin-fare airports fall back to nearby airports with fares. That fallback is exactly the kind of non-obvious behavior an agent needs to interpret sparse results.

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?

Front-loaded with the core purpose and ordering, then supporting behavioral facts. Slightly wasteful in enumerating returned fields when an output schema exists, but every sentence carries usable information and nothing is padded.

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 annotations, a fully documented 3-parameter schema and an output schema, the description fills the remaining gaps: ordering, currency basis, 30-day low, and the nearby-airport fallback. Only the routing-versus-alternatives guidance is missing for a tool that sits among several overlapping siblings.

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 coverage is 100%, so the schema already documents originIata, limit and maxPrice including the 1-15 bounds and local-currency basis. The description only echoes 'IATA code' and 'local currency' without adding format or edge-case guidance beyond the schema, so baseline 3 applies.

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: 'Today's cheapest round-trip flight deals from any departure airport (IATA code), cheapest first.' The directional framing ('from') implicitly separates it from deals_to_destination, but no sibling is named explicitly, so sibling differentiation is left to the reader.

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?

No when-to-use guidance is given. An agent gets no signal about when to prefer this over compare_departure_airports, check_fare, flexible_dates, or where_can_i_go. The 'small airports' note is fallback behavior disclosed for transparency, not a selection rule.

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