Skip to main content
Glama

FlightTrackerAPI — Live Flight Status, Delays & Schedules MCP

Search 49,000+ Global Airports & 6,100+ Airlines (IATA / ICAO / Coordinates / Timezone)

lookup_airport_or_airline
Read-onlyIdempotent

Instant lookup across 49,000+ global airports and 6,100+ airlines by name, city, IATA code, ICAO code, or country ISO code. Returns exact coordinates, elevation, timezone, ICAO/IATA codes, and airline callsigns. Cost: 2 Credits / call.

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

Input Schema

NameRequiredDescriptionDefault
iataNoExact 3-letter IATA airport code (e.g. "LHR", "SIN").
icaoNoExact 4-letter ICAO airport code (e.g. "EGLL", "WSSS").
typeNoFilter result type ("airport", "airline", or "all").all
limitNoMax records returned (1–50).
queryNoAirport name, city, or code (e.g. "Heathrow", "Tokyo", "JFK").
airlineNoAirline name, IATA, or ICAO code (e.g. "UAL", "Lufthansa").

Output Schema

NameRequiredDescriptionDefault
msgNoHuman-readable status message.
codeYesStatus code (0 for success).
dataYesMatched global airports and airlines directory records.
statusYesResponse status ("ok" or "error").
providerNoCanonical API provider URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new operational context: the dataset scale, the returned fields, and an explicit 'Cost: 2 Credits / call' — the latter is unavailable anywhere else and materially affects invocation decisions.

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?

Three tight sentences: capability and scale first, return values second, cost last. No filler. It could be one clause shorter given the schema already documents the search keys, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-shape explanation is optional, and annotations cover safety. However, for a tool with zero required parameters and six optional filters, the description never explains what happens with no filters (does it enumerate 49,000 records? how does limit interact?), nor how iata/icao/query/airline combine or conflict.

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% with all six parameters documented and examples given, so the baseline is 3. The description adds little beyond restating the lookup keys, and it introduces mild noise by claiming lookup by 'country ISO code', which has no corresponding parameter in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Instant lookup across 49,000+ global airports and 6,100+ airlines') and enumerates the searchable keys plus returned fields. It is clearly static reference-data retrieval rather than live tracking, so it reads as distinct from siblings like track_flight_by_callsign, but it never says so explicitly — a real risk given that it also returns 'airline callsigns'.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no alternative named. An agent must infer from the dataset description that this is for resolving codes/names to airport or airline metadata rather than for flight status or delay information.

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