Skip to main content
Glama

Airport search worldwide by IATA/ICAO code, city or name, or

airport_search
Read-onlyIdempotent

Locate airports worldwide by IATA/ICAO code, city, name, or nearest coordinates. Returns codes, type, country, location, elevation, and scheduled service status.

Instructions

Airport search worldwide by IATA/ICAO code, city or name, or nearest airports to coordinates. Returns codes, type, country, coordinates, elevation and scheduled service.

ES: Busca aeropuertos de todo el mundo por código IATA/ICAO, ciudad o nombre, o los más cercanos a unas coordenadas. Devuelve códigos, tipo, país, coordenadas, altitud y si tiene vuelos regulares.

Free tool (no API key, no payment). Official Spanish/EU open data.

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": "airport_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoCódigo IATA/ICAO, ciudad o nombre, p. ej. MAD o Valencia
latNoLatitud (alternativa a q)
lonNoLongitud
paisNoCódigo ISO del país (opcional), p. ej. ES
limiteNoResultados (1-50, por defecto 10)
radio_kmNoRadio en km (1-500, por defecto 100)
solo_regularesNotrue para solo aeropuertos con vuelos regulares

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety bar is low. The description adds genuinely non-structured context: it is free, needs no API key or payment, and is backed by official Spanish/EU open data — all useful for trust and cost decisions. It stops short of rate limits, result ordering, or behavior when both `q` and coordinates are supplied.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The English block is well front-loaded and dense, but the entire content is then repeated verbatim in Spanish, roughly doubling length without adding information for a typical agent caller. The bilingual duplication is the main structural weakness; otherwise there is no filler.

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 7-parameter read-only search with no output schema, the description supplies what is needed: search modes, the returned field list, and cost/access constraints. The main remaining gap is disambiguation of what happens when both `q` and `lat`/`lon` are provided, and how the radius interacts with the query mode.

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?

With 100% schema description coverage, the schema already documents every parameter including ranges and defaults. The description adds only marginal meaning beyond it — clarifying that coordinates are a proximity mode and that 'scheduled service' corresponds to the regular-flights filter. Baseline 3 is appropriate when the schema does the heavy lifting.

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 names a specific verb and resource ('Airport search worldwide') and enumerates the three lookup modes: IATA/ICAO code, city/name, and nearest-to-coordinates. It also states the return payload ('codes, type, country, coordinates, elevation and scheduled service'), so an agent knows exactly what the tool delivers 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 Guidelines4/5

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

Usage context is clear: lookup by identifier/name uses `q`, while proximity search uses coordinates ('nearest airports to coordinates', with the schema noting lat as 'alternativa a q'). It also states it is free with no API key, which removes a common prerequisite question. There are no explicit when-not-to-use notes or named alternatives, but the sibling catalog contains no competing airport tool, so there is little to route against.

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