Skip to main content
Glama

reference_airline

Read-only

Airline lookup by IATA/ICAO code — Look up an airline by code= (2-character IATA like DL, or 3-letter ICAO like BAW) or name=: name, IATA and ICAO codes, radio callsign, active or defunct, country, headquarters, hubs, alliance, parent, CEO, founding and ceased dates, website, and other airlines that used the same code (codes are reused after airlines fold; active carriers rank first). Source Wikidata (CC0). For travel agents decoding flight numbers, itineraries and booking data. Price: $0.002 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>"
    },
    "name": "reference_airline"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesDL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-destructive, so the description's job is added context, and it delivers: data provenance (Wikidata CC0), the re-used-code ambiguity rule with active carriers ranked first, and a concrete price ($0.002 USDC via x402). The payment requirement is behaviorally critical and not present in any structured field.

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 key, then the return fields, then provenance, audience and price — a sensible priority order. The long run-on field list is dense but each item is informative rather than filler.

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 one-parameter tool with no output schema, listing the returned fields is genuinely necessary and it does so thoroughly, plus covers cost and ranking behavior. The only completeness defect is the phantom 'name=' input, which leaves the agent's input contract slightly inconsistent with the schema.

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?

With 100% schema coverage but a nearly useless schema description ('DL'), the description compensates by explaining the two code formats (2-character IATA vs 3-letter ICAO). It loses a point because it advertises a 'name=' alternative that does not exist in the input schema, which could mislead an agent into sending an unsupported parameter.

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 and resource ('Airline lookup by IATA/ICAO code') and enumerates exactly what a record contains, so an agent can distinguish it from reference_city or reference_company at a glance. The scope (code re-use, active-first ranking) further sharpens what 'lookup' returns.

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?

Provides clear context for when this applies — 'decoding flight numbers, itineraries and booking data' — which tells an agent the intended task. It does not explicitly exclude alternatives or explain when to prefer a sibling reference tool, so it falls short of a full routing statement.

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