Skip to main content
Glama

search_airports

Read-only

Browse and enumerate airports offline from bundled reference data by ICAO prefix, IATA code, name, or region, using cursor-based pagination for complete lists.

Instructions

List airports in the bundled reference data, one page at a time, in ICAO order.

Offline and free, like `resolve_airport`. Use this to browse or enumerate (every
airport in a region, every match for a name); use `resolve_airport` to turn one
code or name into one airport. A reply holds at most `limit` airports. When more
match, it carries `nextCursor`: call again with the same query and region and
that cursor for the next page. No `nextCursor` means the list is complete.

Args:
    query: Matches an ICAO prefix (ES), an exact IATA code (GOT), or part of an
        airport or city name. Empty lists everything.
    region: "europe", "north_america", "south_america", "africa", "asia" or
        "oceania". Omit for the whole world.
    limit: Airports per page (1-100, default 20).
    cursor: The `nextCursor` of the previous page; omit for the first page.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_airports"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
cursorNo
regionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.11.0

TDQS

A4.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, but the description adds real context: the data is bundled and offline, results are capped at `limit` per page, and `nextCursor` signals more results while its absence means the list is complete. It does not cover error behavior for invalid regions or malformed cursors, which keeps it short of a 5.

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?

Behavior and the sibling distinction are front-loaded in two short paragraphs, followed by a compact Args block. Every sentence carries information — pagination contract, defaults, and accepted value formats — with no filler.

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?

Although an output schema exists (so return values needn't be restated), the description still explains the one field an agent must act on: `nextCursor` and the re-call procedure. For a 4-parameter, fully optional read tool, nothing needed to invoke it correctly is missing.

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?

Schema description coverage is 0% and there are no enums in the schema, so the description carries the full burden — and does: `query` accepts an ICAO prefix, exact IATA code, or name fragment (empty = everything); `region` enumerates all six accepted values and the omit-for-worldwide case; `limit` is 1-100 with default 20; `cursor` is explicitly the previous `nextCursor`. This adds substantial meaning the schema alone lacks.

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 opening sentence gives a specific verb and resource ('List airports in the bundled reference data'), plus ordering ('ICAO order') and pagination scope. It explicitly contrasts itself with the sibling `resolve_airport` (browse/enumerate vs. resolve one code or name), so an agent can pick between them without opening either 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?

It states when to use this tool ('browse or enumerate — every airport in a region, every match for a name') and names the alternative plus the condition that selects it ('use `resolve_airport` to turn one code or name into one airport'). The offline/free note further frames the usage context.

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