Skip to main content
Glama

Get flight search links for a route

get_flight_links
Read-onlyIdempotent

Build a flight search link on Booking.com Flights for a route and optional dates, and return up to four VoyageHacks guides on fares, budget airlines and baggage rules for that trip. Pass origin and destination as IATA codes for a prefilled route search; without both, the link opens the general flight search page. Also returns a delayed or cancelled flight compensation link (AirHelp), a Vueling link for short-haul Europe, and, when the route touches their hubs, direct links for Air Serbia (Belgrade) and Air India. The Booking.com link is regionalized to the traveler's country. Useful when a trip involves air travel and the user wants somewhere to compare fares. It returns search links only: no live fares, seat availability or schedules, no booking, and no airport transfer (get_airport_transfer_links covers that). Affiliate links: VoyageHacks may earn a commission at no additional cost to the traveler, which should be disclosed when the links are presented.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoLanguage of the VoyageHacks guides returned. One of: en, de, fr, es, it, pl, cs, ja, nl, pt, zh. Defaults to "en".
originNoOrigin IATA city or airport code, e.g. LON, NYC, BER.
countryNoISO 3166-1 alpha-2 country the traveler is booking from, e.g. US, DE, GB. Selects the regional Booking.com programme. Defaults to the caller's geolocation, then to the language default.
passengersNoNumber of adult passengers. Defaults to 1.
depart_dateNoOutbound date, YYYY-MM-DD. Omitted dates default to about a month ahead.
destinationNoDestination IATA city or airport code, e.g. HKT, TYO, ROM.
return_dateNoReturn date, YYYY-MM-DD. Omit for a one-way search.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
routeNo
guidesYesMatching VoyageHacks guides that can be cited as sources.
regionNo
vuelingNo
airIndiaNo
airSerbiaNo
disclosureYes
flightSearchYes
flightCompensationNo

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark the tool read-only, open-world, idempotent, and non-destructive. The description adds meaningful context beyond that: links are regionalized to the traveler's country, results include affiliate AirHelp, Vueling, and airline-specific links depending on route, and no live fares or schedules are returned. It also discloses the affiliate commission, which is behavior an agent must know to present results appropriately.

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 description is longer than average but every sentence carries load: core action, parameter semantics, additional returned link types, exclusions, sibling reference, and affiliate disclosure. It is front-loaded with the main purpose and keeps details in a logical order. A slight tightening of the airline-specific listing could improve it, but nothing is redundant.

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

Completeness5/5

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

Given the output schema exists and the annotations cover safety, the description is complete for an agent deciding whether and how to call this tool. It explains what is returned, what is not returned, how regionalization works, when certain extra links appear, and the affiliate disclosure requirement. No critical behavioral gap remains.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds joint parameter semantics not fully captured by the schema: origin and destination are needed together for a prefilled route search, while omitting both opens the general search page. This clarifies how the parameters interact, going beyond individual field definitions.

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?

States a specific verb and resource: 'Build a flight search link on Booking.com Flights for a route and optional dates' and adds the secondary return of VoyageHacks guides. It explicitly distinguishes itself from get_airport_transfer_links, so an agent can tell this tool apart from its nearest sibling without opening 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 Guidelines5/5

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

Provides explicit when-to-use guidance: 'Useful when a trip involves air travel and the user wants somewhere to compare fares.' It also states what the tool is not for — no live fares, no booking — and names the alternative for airport transfers. This gives clear selection criteria relative to siblings.

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.

TDQS

A4.4/5.0
Disambiguation4/5

The tools split into clear families: category-specific link builders, a whole-trip aggregate link builder, article search/fetch, and gear search/recommendation. The only mild overlap is between get_booking_links and the individual category link tools, but their aggregate-vs-category purpose is explicitly described, so an agent should rarely misselect.

Naming Consistency5/5

Nearly all tools follow the verb_noun snake_case pattern, led by the get_<category>_links family, with search_articles and search_travel_gear matching the same convention. There is no camelCase, no mixed verb styles, and the pattern is highly predictable from the tool names alone.

Tool Count5/5

Twelve tools is well-scoped for a travel planning and affiliate-link server: seven category link builders, one aggregate trip link builder, two article tools, and two travel gear tools. Each tool covers a distinct part of the workflow and none feels redundant or like padding.

Completeness4/5

The travel-planning surface is largely complete: research, flights, hotels, airport transfers, car rental, eSIM, VPN, credit cards, and gear are all covered, with an aggregate tool for whole-trip planning. Minor gaps, such as no dedicated train or attractions/tours link builder, keep it from a perfect score.