Skip to main content
Glama

Cheap Flights, Hotels & eSIMs

Deals to a destination

deals_to_destination
Read-onlyIdempotent

The cheapest round-trip fares from a departure airport to one city, airport or country, with the usual price on the route when it has enough history. Works for any route with a recent fare, not only today's biggest deals. An empty result means no recent fare was seen on that route, not that no flights exist.

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>",
      "destination": "<destination>"
    },
    "name": "deals_to_destination"
  }
}

Input Schema

NameRequiredDescriptionDefault
originIataYesDeparture airport or city IATA code, anywhere in the world, for example BUD or ICN.
destinationYesDestination city, IATA code or country, for example Lisbon, LIS or Greece.

Output Schema

NameRequiredDescriptionDefault
noteYes
dealsYes
originYes
alertOfferYes
destinationYes
airportPageUrlYes
nearbyAirportsWithFaresNo
otherTrackedDestinationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: it also returns the usual price on the route when enough history exists, and that an empty result means no recent fare was observed rather than no flights existing — a critical distinction that prevents misreading results.

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?

Three short sentences, each carrying distinct load: scope, eligibility, and empty-result interpretation. The most error-prone fact (empty ≠ no flights) is placed last for emphasis with no filler wording.

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 two simple required parameters and an output schema present, the description needn't explain return fields, and it correctly focuses on the one thing the schema can't convey: the empty-result meaning and the extra 'usual price' value. Only minor gaps remain, such as currency or coverage of how far back recent history extends.

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%, with both parameters documented including examples and format constraints, so the baseline is 3. The description's phrase 'one city, airport or country' restates the destination's flexible typing but adds no format, casing, or ambiguity-resolution guidance beyond the schema.

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: cheapest round-trip fares from a departure airport to a single destination entity. The directional framing (origin → destination) implicitly separates it from a deals-from-airport sibling, and the note that it works for any route with a recent fare, not only today's biggest deals, sharpens the distinction, though no sibling is named outright.

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

Usage Guidelines4/5

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

Gives a clear condition for use: any route with a recent fare, not just top deals, which tells the agent this is not limited to curated/highlighted routes. It stops short of naming an alternative for the opposite direction (deals from a given airport) or for single-fare lookups, so the exclusion set is implied rather than explicit.

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