Skip to main content
Glama

Find connections between airports

find_connections
Read-only

Multi-stop itineraries from an origin airport to either a destination airport or to any airport in a country. Returns airport paths with every airline flying each leg. Airline entries carry their alliance and, when service is not plain scheduled, a kind field (seasonal, charter or suspended). Suspended legs are included and flagged, not excluded; pass exclude_kinds to drop them. Seasonal and charter service carries no operating dates and there is no frequency or days-of-week data, so treat every match as unverified for specific travel dates. Provide exactly one of destination or to_country. Responses include book deep links to Kiwi.com search results (our referral id included); without depart_date the link defaults to a one-way search two weeks out.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
originYesThree-letter IATA airport code, e.g. "IST"
max_stopsNoMaximum intermediate stops (default 2; country searches cap at 2)
to_countryNoISO 3166-1 alpha-2 country code goal, e.g. "CR" for Costa Rica
depart_dateNoDeparture date for the book links
destinationNoThree-letter IATA airport code, e.g. "IST"
return_dateNoReturn date for the book links (round trip)
same_airlineNoRequire one single airline to operate every leg
exclude_kindsNoDrop legs whose service kind is in this list, e.g. ["suspended"] or ["suspended","charter"] for currently bookable routes only

TDQS

A4.8/5.0
Behavior5/5

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

The description adds substantial behavioral context beyond the readOnly/openWorld annotations: suspended legs are included and flagged rather than excluded, seasonal/charter legs have no dates and no frequency data, matches should be treated as unverified for travel dates, and responses include Kiwi.com book links with referral ids and a default one-way search two weeks out. Nothing in the description contradicts the annotations.

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?

The description is dense but tightly organized: purpose first, then response shape, then caveats, then parameter constraints, then link behavior. Every sentence carries distinct operational information and none is filler or repetition of the schema.

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?

With no output schema, the description carries the burden of explaining return contents (airport paths, per-airline alliance and kind, book deep links) and the limitations of the data (unverified dates, capped stops in country searches). For an 8-parameter, read-only discovery tool, this is a complete and actionable description.

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

Parameters5/5

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

Even though the schema documents all 8 parameters, the description adds meaning the schema cannot convey: destination and to_country are mutually exclusive, exclude_kinds is the way to drop suspended legs, and depart_date/return_date only affect book links, with a default one-way search when depart_date is absent. This materially helps an agent set parameters correctly.

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 opens with a precise statement of what the tool does: it finds multi-stop itineraries from an origin to either a specific destination airport or any airport in a country, and returns airport paths with airline/alliance/kind details. This is specific enough to distinguish it from sibling tools such as airline_routes or route_details without needing to inspect their schemas.

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?

The description gives clear context for when the tool applies (multi-stop itineraries, destination-or-country goal) and states the crucial mutual-exclusion rule: provide exactly one of destination or to_country. It also explains how to drop suspended legs with exclude_kinds. It does not explicitly name alternatives or say when not to use this tool, but the use case is unambiguous.

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.2/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, but destinations_from and reachable_from could be confused by an agent; their descriptions clarify that one is nonstop while the other respects a stop budget. Otherwise, each tool targets a different query type, so mistakes should be rare.

Naming Consistency3/5

The naming mixes verb-led patterns (find_airport, find_connections, find_meetup) with noun/preposition styles (airline_routes, destinations_from, route_details, reachable_from, most_connected_airports). While all are readable and snake_case, the lack of a single consistent convention makes the tool names less predictable.

Tool Count5/5

With 8 tools, the server is well-scoped for the flight-route exploration domain. Each tool serves a distinct purpose, and the count is neither sparse nor overwhelming.

Completeness5/5

The tool set covers the full lifecycle of route discovery: airport lookup, airline networks, direct destinations, multi-stop paths, meetup planning, connectivity rankings, reachable range, and route details. There are no significant gaps within the stated domain of route data (no fares/dates is an intentional limitation, not an omission).

Resources