Skip to main content
Glama

AgentStall: Africa and global data for agents

Airport code lookup: IATA and ICAO codes, names, cities and time zones (1,985 airports in Africa, India, Middle East, SE Asia)

airport_code_lookup
Read-onlyIdempotent

Airport code lookup: IATA and ICAO airport codes with airport name, city, region, country, latitude and longitude, elevation and IANA time zone for 1,985 airports in all 54 African countries, India and South Asia, the Middle East and Southeast Asia. Look up by iata (e.g. LOS) or icao (e.g. DNMM), or list a country's airports. Source: airportsdata (MIT). For travel, logistics, expense and flight agents. Returns JSON with asOf, count, results, note, sources. Read-only; invalid input is rejected before any charge. Price: $0.001 USDC per call (x402, Base mainnet), paid only when the call succeeds.

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_code_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
iataNo3-letter IATA airport code, e.g. NBO, LOS, DEL
icaoNo4-character ICAO airport code, e.g. HKJK
countryNo2-letter ISO country codes, comma-separated, up to 60, to list their airports. Give at least one of iata, icao or country

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world behavior, so the bar is lower; the description still adds material context beyond them. It discloses the return envelope (asOf, count, results, note, sources), the data provenance (airportsdata, MIT), the x402 payment mechanics ($0.001 USDC on Base mainnet, charged only on success), and that invalid input is rejected before any charge. A 5 is withheld only because result ordering, no-match behavior, and any rate limits are unstated.

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

Conciseness4/5

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

The purpose, scope, and query modes are front-loaded in the first two sentences, with pricing and error semantics trailing, which is the right ordering. Some density and mild repetition of the title's scope list cost it a point, but nearly every sentence carries operational information (pricing, source, return keys).

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 three-parameter, annotation-backed lookup with no output schema, the description covers inputs, output envelope, provenance, and billing model, which is more than enough to call it correctly. The only gaps are edge-case behavior: whether all three parameters may be combined, what an empty result set looks like, and how multi-country listing is ordered or bounded.

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 the schema already documents all three parameters with examples and formats. The description restates the iata/icao lookup modes in prose but contributes no semantics the schema lacks, such as how iata and icao interact when both are supplied or precedence rules. Baseline 3 is appropriate where structured fields do the work.

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 concrete verb-plus-resource (airport code lookup) and enumerates the exact fields returned and the exact query modes: by IATA code, by ICAO code, or by country list. Scope is quantified (1,985 airports across 54 African countries, India/South Asia, Middle East, Southeast Asia), so an agent knows precisely what universe it is querying.

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?

"Look up by iata (e.g. LOS) or icao (e.g. DNMM), or list a country's airports" gives the agent explicit selection criteria among the three parameter modes, and "For travel, logistics, expense and flight agents" frames the intended use case. It falls short of a 5 because there is no explicit when-not guidance and no named alternative, though no sibling in the catalog covers airport codes.

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