Skip to main content
Glama

Agent Data Hub

Airport lookup by IATA/ICAO code or city

geo_airport
Read-onlyIdempotent

Find large and medium airports (4,800+ worldwide) by IATA or ICAO code, or search by city or airport name, optionally within one country. Returns IATA, ICAO, name, city, country, region, coordinates, elevation, size and whether it has scheduled flights. Price: $0.002 per call (USDC on Base via x402); the first 10 calls per day are free.

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

Input Schema

NameRequiredDescriptionDefault
codeNoIATA (3 letters) or ICAO (4) code
limitNoMax results 1–50 (default 10)
queryNoCity or airport name, e.g. London
countryNoOptional country filter (ISO code or name)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld, non-destructive), yet the description adds genuinely new behavioral context: dataset coverage, the returned attribute list, and the cost model ($0.002/call, 10 free calls/day). That pricing disclosure is exactly the kind of operational detail an agent should know before calling. It does not say what happens on a miss or how ambiguous city matches are ordered.

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?

Three sentences, zero filler: what it finds, how to query it, what it returns, what it costs. The primary capability is front-loaded and the pricing caveat comes last where it belongs.

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 compensates by listing the return fields explicitly. Combined with full schema coverage and annotations, an agent has everything needed to select and invoke this correctly.

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 coverage is 100%, so every parameter is already documented with examples, and the description adds little beyond restating that code is a 3/4-letter identifier and query is a city or name. The implicit pairing (code versus query as alternative modes) is the only added meaning. Baseline 3 is appropriate when the schema carries the load.

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 (Find/search) and resource (airports), with scope (large and medium, 4,800+ worldwide) and the two lookup modes: IATA/ICAO code versus city or name. It also enumerates the returned fields, so an agent knows exactly what it gets. Unrelated siblings (geo_distance, geo_weather) pose no confusion.

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?

It tells the agent which parameter path to take: code for exact identification, query for city/name search, country as an optional narrowing filter. What it lacks is any exclusion or fallback guidance, e.g. what to do when a code is unknown or ambiguous, or when to prefer this over geo_distance for location work.

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