Skip to main content
Glama

Get Arrivals

get_arrivals
Read-onlyIdempotent

Aircraft currently ARRIVING at an airport, live ADS-B, no key required. Pass an ICAO code (e.g. "KSFO", "EGLL") and get inbound traffic descending toward the field, nearest first, with callsign, registration, aircraft type, altitude, descent rate and distance out. Use for "what is landing at right now", "inbound traffic to ". This is a live picture, not a scheduled timetable. (Historical windows via begin/end require OpenSky credentials and only work when self-hosting, OpenSky is unreachable from cloud egress.)

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "end": 1609545600,
      "begin": 1609459200,
      "airport": "KJFK"
    },
    "name": "get_arrivals"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoOPTIONAL historical window end (Unix seconds, max 7 days after begin). Omit for live data.
beginNoOPTIONAL historical window start (Unix seconds). Requires OpenSky credentials and only works when self-hosting; omit for live data.
limitNoMax aircraft to return (1-200, default 50), nearest first.
airportYesICAO airport code, e.g. "KJFK", "EGLL", "KSFO" (4 letters, not the 3-letter IATA code)
radius_nmNoHow far out to look, nautical miles (1-250, default 40).

Output Schema

NameRequiredDescriptionDefault
countYesNumber of arrival flights found
flightsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / airport / description
      Previous value: -"ICAO airport code, e.g. \"KJFK\", \"EGLL\" (not IATA \"JFK\")"New value: +"ICAO airport code, e.g. \"KJFK\", \"EGLL\", \"KSFO\" (4 letters, not the 3-letter IATA code)"
    • changedInput schema / properties / begin / description
      Previous value: -"Start of window, Unix timestamp in seconds"New value: +"OPTIONAL historical window start (Unix seconds). Requires OpenSky credentials and only works when self-hosting; omit for live data."
    • changedInput schema / properties / end / description
      Previous value: -"End of window, Unix timestamp in seconds (max 7 days after begin)"New value: +"OPTIONAL historical window end (Unix seconds, max 7 days after begin). Omit for live data."
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Max aircraft to return (1-200, default 50), nearest first.",
      +  "type": "number"
      +}
    • addedInput schema / properties / radius_nm
      Added value: +{
      +  "description": "How far out to look, nautical miles (1-250, default 40).",
      +  "type": "number"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "airport",
      -  "begin",
      -  "end"
      -]New value: +[
      +  "airport"
      +]
  2. Changed3 schema fields changed
    • changedInput schema / properties / airport / description
      Previous value: -"ICAO airport code (e.g. \"KLAX\", \"EGLL\")"New value: +"ICAO airport code, e.g. \"KJFK\", \"EGLL\" (not IATA \"JFK\")"
    • changedInput schema / properties / begin / description
      Previous value: -"Start of time range as Unix timestamp (seconds)"New value: +"Start of window, Unix timestamp in seconds"
    • changedInput schema / properties / end / description
      Previous value: -"End of time range as Unix timestamp (seconds, max 7 days after begin)"New value: +"End of window, Unix timestamp in seconds (max 7 days after begin)"
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "count": {
      +      "description": "Number of arrival flights found",
      +      "type": "number"
      +    },
      +    "flights": {
      +      "items": {
      +        "properties": {
      +          "arrival_airport": {
      +            "description": "Estimated arrival airport ICAO code",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "callsign": {
      +            "description": "Flight callsign (trimmed)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "departure_airport": {
      +            "description": "Estimated departure airport ICAO code",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "first_seen": {
      +            "description": "Unix timestamp of first radar contact",
      +            "type": "number"
      +          },
      +          "icao24": {
      +            "description": "ICAO24 transponder address",
      +            "type": "string"
      +          },
      +          "last_seen": {
      +            "description": "Unix timestamp of last radar contact",
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "icao24",
      +          "callsign",
      +          "first_seen",
      +          "last_seen",
      +          "departure_airport",
      +          "arrival_airport"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "count",
      +    "flights"
      +  ],
      +  "type": "object"
      +}
  4. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "airport": "KJFK",
      +    "begin": 1609459200,
      +    "end": 1609545600
      +  },
      +  {
      +    "airport": "EGLL",
      +    "begin": 1704067200,
      +    "end": 1704153600
      +  }
      +]
  5. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: no API key needed, live ADS-B source, results ordered nearest-first, and the critical caveat that begin/end only function when self-hosting. It omits rate limits, pagination, and empty-result behavior.

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 core fact and the live/historical caveat placed at the end where it belongs. The final parenthetical is dense and packs three separate constraints into one clause, but every sentence carries information an agent needs.

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 five-parameter read tool with an output schema covering return values and full annotation coverage, this is close to complete: source, auth requirements, ordering, and the historical-mode blocker are all stated. Remaining gaps are minor (no-result behavior, request limits).

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 description coverage is 100%, so every parameter is already documented, including the ICAO-not-IATA distinction. The description reinforces the live-versus-historical split for begin/end and restates nearest-first ordering, but adds little syntax or meaning the schema lacks — the baseline 3 applies.

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 — 'Aircraft currently ARRIVING at an airport, live ADS-B' — and immediately bounds it with 'This is a live picture, not a scheduled timetable.' The word ARRIVING plus 'inbound traffic descending toward the field' makes it distinguishable from a departures-style sibling without opening any schema.

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?

Gives concrete usage contexts ('what is landing at <airport> right now', 'inbound traffic to <airport>') and an explicit exclusion: historical analysis requires OpenSky credentials and self-hosting because OpenSky is unreachable from cloud egress. It does not name an alternative sibling for departures or area queries, so the guidance stops short of full routing.

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.