Skip to main content
Glama

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. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources