Skip to main content
Glama
SoapyRED

FreightUtils MCP Server

airport_lookup

Read-onlyIdempotent

Retrieve airport details using IATA, ICAO, or name search. Returns full record with coordinates, location, type, and elevation.

Instructions

Look up an airport by IATA code (3 letters, e.g. "LHR"), ICAO code (4 chars, e.g. "EGLL"), or free-text name/city search (e.g. "heathrow"). Returns the full record: IATA + ICAO, name, type (large/medium/small/heliport/closed/seaplane), municipality, region, country, latitude/longitude and elevation. Provide one of iata, icao, or query; optional type filter. Ambiguous name searches return ranked candidates. Covers 85,555 airports worldwide (OurAirports, public domain, cross-checked vs OpenFlights + Wikidata). Use when an agent has an airport code or name and needs the airport's identity, location or codes. Distinct from airline_lookup (which searches CARRIERS / AWB prefixes, not airports) and unlocode_lookup (general UN/LOCODE transport locations of which airports are one function). Reference data only — not for navigation; verify current codes with IATA/ICAO.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
iataNoExact 3-letter IATA code
icaoNoExact 4-character ICAO / ident
typeNoOptional filter by airport type
queryNoName / city / municipality search (min 2 chars)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaNo
countYes
_sourceYes
resultsYes
disclaimerYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so the description does not need to reiterate those. However, the description adds valuable behavioral context: data covers 85,555 airports from OurAirports with cross-checks, ambiguous searches return ranked candidates, and it's reference data only. This goes beyond annotations.

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 description is moderately long but efficient. It front-loads the core lookup methods and return fields, then provides filter options, data source, usage guidance, and caveats. No unnecessary repetition; each sentence adds value. Could be slightly trimmed but well-structured.

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?

Given the tool's complexity (4 parameters, all documented; output schema present; annotations provided), the description is complete. It covers all input variants, output fields, optional filter, data provenance, and important usage caveats. No gaps remain for an agent to misinterpret.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptive parameter names and patterns (e.g., IATA regex). The description adds meaning by stating that exactly one of iata, icao, or query should be provided, and that ambiguous name searches return ranked candidates. This supplements the schema without being redundant.

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 clearly states the tool's action: 'Look up an airport by IATA code, ICAO code, or free-text name/city search.' It lists the full record returned and distinguishes from sibling tools (airline_lookup, unlocode_lookup) by specifying scope differences.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description explicitly states when to use: 'Use when an agent has an airport code or name and needs the airport's identity, location or codes.' It also provides when-not-to-use guidance: 'Reference data only — not for navigation; verify current codes with IATA/ICAO.' Sibling differentiation is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SoapyRED/freightutils-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server