Skip to main content
Glama
viajante

viajante

Search hidden-city fares

search_hidden_city
Read-onlyIdempotent

Search Skiplagged for opt-in hidden-city fares on a named route and date after a standard flight search; review contract risks and confirm fares on booking links.

Instructions

Skiplagged search for a named route. Opt-in; never mixed with Google Flights. Run it once after search_flights on a named common route and date. Skip it for named bags, explore, dates, flex, multi-city and unproven destinations. Hidden-city tickets can violate airline contracts. Lead with hidden_city true rows and confirm on booking_url; Viajante does not book. currency is an optional keep of the card currency: Skiplagged cards are USD, so omit it or pass USD. A keep that matches no card is currency_mismatch. Nothing is converted.

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": {
      "route": "<route>",
      "departure": "<departure>"
    },
    "name": "search_hidden_city"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNo
routeYes
adultsNo
currencyNo
departureYes
return_dateNo

Output Schema

NameRequiredDescriptionDefault
statusYes
empty_noteYes
error_codeYes
observed_atYes
retry_afterYes
completenessYes
empty_reasonYes
completeness_noteYes
observed_at_basisYes
retry_after_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.5.7
    • addedOutput schema / properties / completeness_note
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "status",
      -  "completeness",
      -  "empty_reason",
      -  "empty_note",
      -  "error_code",
      -  "retry_after",
      -  "retry_after_seconds",
      -  "observed_at",
      -  "observed_at_basis"
      -]New value: +[
      +  "status",
      +  "completeness",
      +  "empty_reason",
      +  "empty_note",
      +  "completeness_note",
      +  "error_code",
      +  "retry_after",
      +  "retry_after_seconds",
      +  "observed_at",
      +  "observed_at_basis"
      +]
  2. Changed8 schema fields changedv1.5.2
    • removedInput schema / properties / adults / title
      Removed value: -"Adults"
    • removedInput schema / properties / currency / title
      Removed value: -"Currency"
    • removedInput schema / properties / departure / title
      Removed value: -"Departure"
    • removedInput schema / properties / return_date / title
      Removed value: -"Return Date"
    • removedInput schema / properties / route / title
      Removed value: -"Route"
    • removedInput schema / properties / top / title
      Removed value: -"Top"
    • removedInput schema / title
      Removed value: -"search_hidden_cityArguments"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "completeness": {
      +      "enum": [
      +        "complete",
      +        "partial",
      +        "blocked"
      +      ],
      +      "type": "string"
      +    },
      +    "empty_note": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "empty_reason": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "provider_empty",
      +            "filtered_out",
      +            "not_loaded"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "error_code": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "observed_at": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "observed_at_basis": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "provider",
      +            "fetch"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "retry_after": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "retry_after_seconds": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "status": {
      +      "enum": [
      +        "ok",
      +        "no_results",
      +        "rate_limited",
      +        "blocked",
      +        "timeout",
      +        "failed"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "completeness",
      +    "empty_reason",
      +    "empty_note",
      +    "error_code",
      +    "retry_after",
      +    "retry_after_seconds",
      +    "observed_at",
      +    "observed_at_basis"
      +  ],
      +  "type": "object"
      +}
  3. Addedv1.4.1

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), yet the description still adds genuinely new behavior: hidden-city tickets can violate airline contracts, results must be led with hidden_city=true rows and confirmed on booking_url, and Viajante does not book. The currency section discloses a sentinel outcome (currency_mismatch) and the no-conversion rule, which is contract-level behavior no annotation expresses.

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 purpose, then gating, then caveats, then parameter notes — a sensible order with no filler sentences. It is telegraphic to the point of strain in places ("currency is an optional keep of the card currency"), costing a little readability but not wasting words.

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?

For a read-only search with an output schema, the description covers what an agent must not get wrong: when to invoke, legal risk, result ordering, confirmation path, and the currency pitfall. The one real hole is input formatting for route/departure, which neither the description nor the zero-coverage schema supplies.

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 0% across six parameters, so the description must compensate, and it does so thoroughly for currency (optional keep of card currency, Skiplagged cards are USD, omit or pass USD, mismatch sentinel, no conversion). But route, departure, return_date, adults and top get no format guidance at all — notably the two required parameters, where date and route syntax are left entirely to inference.

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?

"Skiplagged search for a named route" gives a specific verb and resource, and the very next clause ("never mixed with Google Flights") plus "run it once after search_flights" distinguishes it from the sibling flight search tool. An agent knows exactly what class of result this returns (hidden-city fares on one named route and date).

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

Usage Guidelines5/5

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

Explicit when-to-run (once, after search_flights, on a named common route and date) and explicit when-to-skip enumeration (named bags, explore, dates, flex, multi-city, unproven destinations). It also states the tool is opt-in, so the default is not to call it. This is about as complete a routing instruction as exists in the sibling set.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.