Skip to main content
Glama

AgentStall: Africa and India data

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. Free here (20 calls per day).

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. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Adds real value beyond the readOnly/idempotent/openWorld annotations: data provenance (airportsdata, MIT), dataset cardinality, and a hard quota ('20 calls per day'). Since there is no output schema, the description also carries the return-field burden and does so by listing the returned attributes. Missing is behavior on no-match, multiple-match, or when both iata and icao 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.

Conciseness4/5

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

Front-loaded with the lookup modes right after the coverage sentence, and the quota/source notes are packed into short trailing sentences. However the opening sentence largely duplicates the title, which restates the same coverage and field list, so a portion of the text is redundant metadata.

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 3-parameter, read-only lookup with no output schema, the definition supplies dataset scope, sources, quota, audience and return fields — enough to call it correctly. The remaining gap is response-shape behavior (single object vs. list, ambiguous-code handling) that an agent cannot infer.

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 all three parameters are already documented with examples and the 'Give at least one of iata, icao or country' constraint. The description restates the same examples (LOS, DNMM) without adding precedence rules for combined parameters or the max-60 country limit handling, so it sits at the baseline.

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+resource (airport code lookup) and enumerates the exact payload returned: IATA/ICAO codes, name, city, region, country, lat/long, elevation and IANA time zone. It also scopes the dataset precisely (1,985 airports across 54 African countries, India/South Asia, Middle East, SE Asia), which no sibling tool covers.

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?

Explicitly names the three invocation modes: 'Look up by iata (e.g. LOS) or icao (e.g. DNMM), or list a country's airports', plus target audience ('travel, logistics, expense and flight agents'). It stops short of exclusions or naming where a sibling (e.g. country_info_lookup, asia_mobile_network_lookup) should be preferred instead.

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