Skip to main content
Glama

search_hidden_city_flights

Search hidden-city (skiplagging) flight deals compared against the nonstop baseline fare. Returns verified savings, flight legs, carry-on warnings, and optional live airline/OTA booking links. Costs 15 Flight Units.

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

Input Schema

NameRequiredDescriptionDefault
dateYesDeparture date in YYYY-MM-DD format
localeNoLocale such as en-US or zh-CNen-US
marketNo2-letter market code: CN, US, GB, EU, HK, JP, SG, AU, CA, KR
originYes3-letter IATA origin airport code, e.g. LHR or JFK
currencyNo3-letter ISO currency: USD, CNY, GBP, EUR, HKD, JPY, SGD, AUD, CAD, KRW
passengersNo
cabin_classNoeconomy
destinationYes3-letter IATA target exit city/airport code, e.g. PEK or SFO
max_destinationsNo
with_booking_summaryNo
booking_summary_limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: it discloses the per-call cost (15 Flight Units), that savings are 'verified' against a nonstop baseline, and that results include carry-on warnings and optional live airline/OTA booking links. Gaps remain around behavior when no hidden-city deal exists and whether booking links incur extra cost, but the core behavioral profile is well communicated.

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 compact sentences, front-loaded with purpose, then outputs, then cost. Every clause adds information an agent needs, and nothing is redundant with the title or schema.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter tool with no annotations and no output schema, the description helpfully enumerates the return payload (savings, legs, warnings, booking links), which is its strongest completeness contribution. It is still thin on the parameter surface and on prerequisites, such as the practical risk that a traveler must not use the full itinerary, leaving real gaps for a complex tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 55% across 11 parameters, and the description names or explains none of them. Five parameters (passengers, cabin_class, max_destinations, with_booking_summary, booking_summary_limit) are undocumented in both schema and description, and the description does not compensate by clarifying semantics like what 'destination' means as an exit city versus a true destination.

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?

The description pairs a specific verb ('Search') with a tightly scoped resource ('hidden-city (skiplagging) flight deals'), and the parenthetical plus 'compared against the nonstop baseline fare' makes it unmistakably distinct from the generic siblings search_flights and search_fare_calendar. An agent can route to it without inspecting the 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?

Usage is implied by the niche framing (this is the tool for skiplagging queries) and the 'Costs 15 Flight Units' line gives a useful selection signal. However, no alternative is named and there is no explicit when-not guidance, such as warning that this is inappropriate when the traveler cannot abandon a leg or must check bags.

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