Skip to main content
Glama

Explore cheap destinations

explore_cheap_destinations
Read-onlyIdempotent

Cheapest destinations from an origin in a month, optional budget. Example: {"origin":"ABJ","month":"2026-12","budget":400,"currency":"EUR"}. Prices are for one adult. Round trips: add tripDays (1 to 30); stays are within plus or minus 2 days and the budget is the return fare.

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": {
      "origin": "<origin>"
    },
    "name": "explore_cheap_destinations"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthNoTravel month, YYYY-MM. Default: next 30 days.
budgetNoMax price per person in the display currency. Round-trip total when tripDays is set.
nightsNoAlias of tripDays (tripDays wins).
originYesDeparture airport or city: IATA code or a plain name.
countryNoOnly these countries, ISO alpha-2: ES or ES,PT.
currencyNoISO 4217 display currency. Default EUR.
stayDaysNoAlias of tripDays (tripDays wins).
tripDaysNoRound trip stay length, 1 to 30 days. Stays within plus or minus 2 days. Omit for one-way.
directOnlyNotrue keeps non-stop fares only; days or destinations without one are left out.

Output Schema

NameRequiredDescriptionDefault
originYes
currencyNo
destinationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / country
      Added value: +{
      +  "description": "Only these countries, ISO alpha-2: ES or ES,PT.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / destinations / items / properties / city
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / destinations / items / properties / country
      Added value: +{
      +  "type": "string"
      +}
  2. Changed4 schema fields changed
    • changedInput schema / properties / budget / description
      Previous value: -"Max price per person in the display currency."New value: +"Max price per person in the display currency. Round-trip total when tripDays is set."
    • addedInput schema / properties / nights
      Added value: +{
      +  "description": "Alias of tripDays (tripDays wins).",
      +  "type": [
      +    "number",
      +    "string"
      +  ]
      +}
    • addedInput schema / properties / stayDays
      Added value: +{
      +  "description": "Alias of tripDays (tripDays wins).",
      +  "type": [
      +    "number",
      +    "string"
      +  ]
      +}
    • addedInput schema / properties / tripDays
      Added value: +{
      +  "description": "Round trip stay length, 1 to 30 days. Stays within plus or minus 2 days. Omit for one-way.",
      +  "type": [
      +    "number",
      +    "string"
      +  ]
      +}
  3. Changed8 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / currency / description
      Previous value: -"ISO 4217 display currency. Default EUR. XOF is shown as FCFA."New value: +"ISO 4217 display currency. Default EUR."
    • removedInput schema / properties / currency / examples
      Removed value: -[
      -  "EUR",
      -  "USD",
      -  "XOF",
      -  "NGN",
      -  "GBP"
      -]
    • changedInput schema / properties / directOnly / description
      Previous value: -"Optional: true keeps non-stop fares only; a day or destination without one is left out (calendar days get price null and a note)."New value: +"true keeps non-stop fares only; days or destinations without one are left out."
    • removedInput schema / properties / month / examples
      Removed value: -[
      -  "2026-12"
      -]
    • changedInput schema / properties / origin / description
      Previous value: -"Departure airport or city: a 3-letter IATA airport/metro code (ABJ, DSS, LOS, CDG, LON, NYC) or a plain name (\"Abidjan\", \"Paris\")."New value: +"Departure airport or city: IATA code or a plain name."
    • removedInput schema / properties / origin / examples
      Removed value: -[
      -  "ABJ",
      -  "DSS",
      -  "Lagos"
      -]
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  4. Changed1 schema field changed
    • changedInput schema / properties / directOnly / type
      Previous value: -[
      -  "boolean",
      -  "string"
      -]New value: +[
      +  "boolean",
      +  "string",
      +  "number"
      +]
  5. Changed1 schema field changed
    • addedInput schema / properties / directOnly
      Added value: +{
      +  "description": "Optional: true keeps non-stop fares only; a day or destination without one is left out (calendar days get price null and a note).",
      +  "type": [
      +    "boolean",
      +    "string"
      +  ]
      +}
  6. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "properties": {
      +    "currency": {
      +      "type": "string"
      +    },
      +    "destinations": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "destination": {
      +            "type": "string"
      +          },
      +          "price": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "destination"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "origin": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "origin",
      +    "destinations"
      +  ],
      +  "type": "object"
      +}
  7. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuine domain semantics beyond that: prices are per one adult, stays flex within plus or minus 2 days, and with tripDays set the budget is interpreted as the return fare rather than a one-way fare.

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 core purpose is front-loaded in the opening clause, followed by a compact example and the round-trip caveat. The final sentence is somewhat run-on, packing tripDays range, stay flexibility, and budget reinterpretation together, but no sentence is filler.

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 an output schema present, return values need not be explained, and the description covers the key semantic traps (one-way vs round-trip, budget meaning, per-adult pricing). It omits result ordering/limits and how directOnly interacts with budget, but nothing essential to invoking it correctly is missing.

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 origin, month, budget, currency, tripDays, aliases, country, and directOnly in detail. The description's example shows a realistic parameter combination and adds the per-adult pricing note, but the round-trip and plus-or-minus-2-days statements largely restate what the schema already says, so it stays at the baseline.

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?

The first clause names a specific resource and scope: cheapest destinations from a given origin within a month, with an optional budget cap. An agent can tell this is a price-ranked destination discovery tool rather than a date finder or a specific-flight search, though it never names a sibling to sharpen the distinction.

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 only implied through the worked example and the round-trip clause; there is no explicit statement of when to prefer this over find_cheapest_dates, find_places, or search_flights. The one-way vs round-trip condition (add tripDays) is the only real branching guidance given.

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.