Skip to main content
Glama

Aviation & Space Weather Data (Tanod)

lookup_airport

Read-onlyIdempotent

skypeek: Look up an airport by ICAO or IATA code or by name. For the distance between two use airport_distance. Returns an airport by ICAO, IATA or ident code (with runways: ends, length, width, surface, lighting, true headings; and radio frequencies), or up to 20 matches of a name or city search, optionally in one country. Informational only: not for flight planning or navigation. Airports: OurAirports (public domain); the data may contain errors and no endorsement is implied. Answered from a bundled copy (no upstream call). A code with no airport is a 404 airport_not_found (not charged). Typically under 0.1 s (first call about 2 s). Price: USD 0.001. Free: 5 skypeek calls per IP per UTC day. Docs: https://tanod.dev/learn/airport-lookup-flight-distance-api.html

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

Input Schema

NameRequiredDescriptionDefault
codeNoICAO, IATA or airport ident (such as RPLL, MNL or KSFO). Send code or query.
limitNoMost query results.
queryNoName or city search (at most 100 characters). Send code or query.
countryNoISO 3166-1 alpha-2 country filter for query (such as PH).

Output Schema

NameRequiredDescriptionDefault
countNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
sourceNo
airportsNo
disclaimerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • removedInput schema / properties / code / default
      Removed value: -null
    • removedInput schema / properties / code / title
      Removed value: -"Code"
    • removedInput schema / properties / country / default
      Removed value: -null
    • removedInput schema / properties / country / title
      Removed value: -"Country"
    • changedInput schema / properties / limit / description
      Previous value: -"Most query results (1-20)."New value: +"Most query results."
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • removedInput schema / properties / query / default
      Removed value: -null
    • removedInput schema / properties / query / title
      Removed value: -"Query"
    • removedInput schema / title
      Removed value: -"lookup_airportArguments"
    • removedOutput schema / properties / airports / items
      Removed value: -{
      -  "properties": {
      -    "continent": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "country": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "elevation_ft": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "elevation_m": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    },
      -    "frequencies": {
      -      "type": [
      -        "array",
      -        "null"
      -      ]
      -    },
      -    "gps_code": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "iata": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "icao": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "ident": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "lat": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "local_code": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "lon": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "municipality": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "name": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "region": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "runways": {
      -      "type": [
      -        "array",
      -        "null"
      -      ]
      -    },
      -    "scheduled_service": {
      -      "type": [
      -        "boolean",
      -        "null"
      -      ]
      -    },
      -    "type": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "wikipedia": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": [
      -    "object",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / source / properties
      Removed value: -{
      -  "license": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "name": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "notice": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "terms": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "url": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
  2. Changed8 schema fields changed
    • addedOutput schema / properties / airports / items / properties / continent
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / airports / items / properties / elevation_ft
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / airports / items / properties / elevation_m
      Added value: +{
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / airports / items / properties / gps_code
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / airports / items / properties / local_code
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / airports / items / properties / region
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / airports / items / properties / scheduled_service
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / airports / items / properties / wikipedia
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "airports": {
      +      "items": {
      +        "properties": {
      +          "country": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "frequencies": {
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "iata": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "icao": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "ident": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "lat": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "lon": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "municipality": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "runways": {
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "type": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "count": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "disclaimer": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "error": {
      +      "description": "Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object."
      +    },
      +    "source": {
      +      "properties": {
      +        "license": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "name": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "notice": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "terms": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "url": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered; the description still adds meaningful behavior beyond that: bundled local data with no upstream call, ~0.1 s typical latency (~2 s first call), an uncharged 404 airport_not_found for unknown codes, and pricing/free-tier limits. The licensing/endorsement sentence is the main piece that does not serve an invoking agent, keeping this off a 5.

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 purpose and the sibling redirect before any operational detail, and the runway/frequency payload description is compacted efficiently into one parenthetical. It is dense rather than bloated, though the licensing sentence and the docs URL/pricing block sit in the path of an agent trying to decide whether to call it.

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?

An output schema exists, so return-shape explanation is not required, and the annotations plus description together cover safety, data provenance, failure mode, cost, and latency. For a four-parameter read-only lookup, nothing an agent needs in order to call it correctly is missing.

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%, so the baseline is 3; the description still adds the code-vs-query tradeoff in outcome terms (single airport with runways and frequencies vs. up to 20 name/city matches) and ties the country filter to query mode. The example codes (RPLL, MNL, KSFO) come close to duplicating the schema's own examples, so the added meaning is real but moderate.

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 ('Look up an airport') and immediately enumerates the accepted identifier types (ICAO, IATA, ident, or name). The second sentence names the sibling airport_distance and the condition that selects it, so an agent can route between them without opening either schema.

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?

Explicitly redirects distance queries to airport_distance and separates the two modes of this tool (single code lookup vs. name/city search with an optional country filter). The 'Informational only: not for flight planning or navigation' line is an explicit when-not constraint, which is exactly what usage guidance should provide.

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.