Skip to main content
Glama

dato402 – Spain & EU data

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

airport_search
Read-onlyIdempotent

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.

Source of truth: official Spanish/EU open data. Free via MCP up to 20 calls/day; unlimited via the x402 pay-per-call endpoint https://dato402.com/api/viajes/aeropuertos ($0.001 USDC).

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 observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly=true, idempotent=true, openWorld=true, destructive=false), so the description only needs to add context — and it does: data provenance ('official Spanish/EU open data'), a concrete quota ('free via MCP up to 20 calls/day'), and a paid fallback endpoint with pricing. What is missing is any note on result pagination/ordering when the quota or 'limite' cap truncates results.

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 portion is front-loaded and efficient — purpose first, then return values, then source and quota. However, the entire block is duplicated verbatim in Spanish, roughly doubling length without adding information for an English-reading agent, and the paid-endpoint URL reads partly as promotion.

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?

There is no output schema, and the description compensates by enumerating the returned attributes. Combined with provenance, quota, and pricing, plus a fully described seven-parameter schema, an agent has everything needed to call this correctly without further probing.

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?

Schema description coverage is 100%, so each of the seven parameters is already documented with types, ranges and defaults (limite 1-50, radio_km 1-500). The description restates the search axes and the returned fields but adds no syntax, format, or precedence detail beyond the schema, so the baseline 3 applies.

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 states a specific verb and resource ('airport search worldwide') and enumerates all lookup modes: IATA/ICAO code, city, name, or nearest-to-coordinates. It also lists the returned fields ('codes, type, country, coordinates, elevation and scheduled service'), so an agent knows exactly what it gets without opening a schema. No sibling in the catalog overlaps, so no disambiguation is owed.

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 two usage modes are made explicit — keyword/name lookup versus nearest-airport lookup by coordinates — which is the main branching decision an agent faces. It stops short of stating exclusions (e.g., what to do when the query is ambiguous, or that q and lat/lon are mutually exclusive beyond the schema's 'alternativa a q' note).

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