Skip to main content
Glama

Get Flights In Area

get_flights_in_area
Read-onlyIdempotent

Find aircraft currently airborne in a geographic area, by bounding box. LIVE ADS-B data, no key required. Returns per aircraft: ICAO24 hex, callsign, registration (tail number), aircraft type, position, altitude, ground speed, heading, vertical rate, squawk, and any emergency code. Use for "what planes are over right now", "aircraft near ", "is anything squawking 7700 near X". For one known aircraft use get_aircraft; for what route a callsign flies use get_flight_route.

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": {
      "lamax": 40.8,
      "lamin": 40.6,
      "lomax": -73.8,
      "lomin": -74
    },
    "name": "get_flights_in_area"
  }
}

Input Schema

NameRequiredDescriptionDefault
lamaxYesMaximum (north) latitude of the bounding box, degrees
laminYesMinimum (south) latitude of the bounding box, degrees
limitNoMax aircraft to return (1-500, default 200), nearest the box centre first.
lomaxYesMaximum (east) longitude of the bounding box, degrees
lominYesMinimum (west) longitude of the bounding box, degrees

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / oneOf
      Added value: +[
      +  {
      +    "properties": {
      +      "aircraft": {
      +        "items": {
      +          "properties": {
      +            "aircraft_type": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "altitude": {
      +              "description": "Barometric altitude in meters",
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "altitude_ft": {
      +              "type": "number"
      +            },
      +            "callsign": {
      +              "description": "Aircraft callsign (trimmed)",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "description": {
      +              "type": "null"
      +            },
      +            "emergency": {
      +              "type": "null"
      +            },
      +            "ground_speed_kt": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "heading": {
      +              "description": "True track heading in degrees",
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "icao24": {
      +              "description": "ICAO24 transponder address",
      +              "type": "string"
      +            },
      +            "latitude": {
      +              "description": "Current latitude in degrees",
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "longitude": {
      +              "description": "Current longitude in degrees",
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "on_ground": {
      +              "description": "Whether aircraft is on ground",
      +              "type": "boolean"
      +            },
      +            "operator": {
      +              "type": "null"
      +            },
      +            "origin_country": {
      +              "description": "Country of origin",
      +              "type": "string"
      +            },
      +            "registration": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "seconds_since_position": {
      +              "type": "number"
      +            },
      +            "squawk": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "track_deg": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "velocity": {
      +              "description": "Velocity in meters per second",
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "vertical_rate_fpm": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "icao24",
      +            "callsign",
      +            "longitude",
      +            "latitude",
      +            "on_ground"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "count": {
      +        "description": "Number of aircraft found in the bounding box",
      +        "type": "number"
      +      },
      +      "found": {
      +        "description": "Present and true on an answer; a miss is the found:false branch.",
      +        "enum": [
      +          true
      +        ],
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "count",
      +      "aircraft"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "A miss or an unavailable upstream: found:false with a reason and a hint (the shape check-found-false-schemas.mjs expects).",
      +    "properties": {
      +      "found": {
      +        "enum": [
      +          false
      +        ],
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "found"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties
      Removed value: -{
      -  "aircraft": {
      -    "items": {
      -      "properties": {
      -        "aircraft_type": {
      -          "type": "string"
      -        },
      -        "altitude": {
      -          "description": "Barometric altitude in meters",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "altitude_ft": {
      -          "type": "number"
      -        },
      -        "callsign": {
      -          "description": "Aircraft callsign (trimmed)",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "description": {
      -          "type": "null"
      -        },
      -        "emergency": {
      -          "type": "null"
      -        },
      -        "ground_speed_kt": {
      -          "type": "number"
      -        },
      -        "heading": {
      -          "description": "True track heading in degrees",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "icao24": {
      -          "description": "ICAO24 transponder address",
      -          "type": "string"
      -        },
      -        "latitude": {
      -          "description": "Current latitude in degrees",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "longitude": {
      -          "description": "Current longitude in degrees",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "on_ground": {
      -          "description": "Whether aircraft is on ground",
      -          "type": "boolean"
      -        },
      -        "operator": {
      -          "type": "null"
      -        },
      -        "origin_country": {
      -          "description": "Country of origin",
      -          "type": "string"
      -        },
      -        "registration": {
      -          "type": "string"
      -        },
      -        "seconds_since_position": {
      -          "type": "number"
      -        },
      -        "squawk": {
      -          "type": "string"
      -        },
      -        "track_deg": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "velocity": {
      -          "description": "Velocity in meters per second",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "vertical_rate_fpm": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "icao24",
      -        "callsign",
      -        "longitude",
      -        "latitude",
      -        "on_ground"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "count": {
      -    "description": "Number of aircraft found in the bounding box",
      -    "type": "number"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "count",
      -  "aircraft"
      -]
  2. Changed12 schema fields changed
    • addedOutput schema / properties / aircraft / items / properties / aircraft_type
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / aircraft / items / properties / altitude_ft
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / aircraft / items / properties / description
      Added value: +{
      +  "type": "null"
      +}
    • addedOutput schema / properties / aircraft / items / properties / emergency
      Added value: +{
      +  "type": "null"
      +}
    • addedOutput schema / properties / aircraft / items / properties / ground_speed_kt
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / aircraft / items / properties / operator
      Added value: +{
      +  "type": "null"
      +}
    • addedOutput schema / properties / aircraft / items / properties / registration
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / aircraft / items / properties / seconds_since_position
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / aircraft / items / properties / squawk
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / aircraft / items / properties / track_deg
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / aircraft / items / properties / vertical_rate_fpm
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / aircraft / items / required
      Previous value: -[
      -  "icao24",
      -  "callsign",
      -  "origin_country",
      -  "longitude",
      -  "latitude",
      -  "altitude",
      -  "velocity",
      -  "heading",
      -  "on_ground"
      -]New value: +[
      +  "icao24",
      +  "callsign",
      +  "longitude",
      +  "latitude",
      +  "on_ground"
      +]
  3. Changed5 schema fields changed
    • changedInput schema / properties / lamax / description
      Previous value: -"Maximum latitude of the bounding box (degrees)"New value: +"Maximum (north) latitude of the bounding box, degrees"
    • changedInput schema / properties / lamin / description
      Previous value: -"Minimum latitude of the bounding box (degrees)"New value: +"Minimum (south) latitude of the bounding box, degrees"
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Max aircraft to return (1-500, default 200), nearest the box centre first.",
      +  "type": "number"
      +}
    • changedInput schema / properties / lomax / description
      Previous value: -"Maximum longitude of the bounding box (degrees)"New value: +"Maximum (east) longitude of the bounding box, degrees"
    • changedInput schema / properties / lomin / description
      Previous value: -"Minimum longitude of the bounding box (degrees)"New value: +"Minimum (west) longitude of the bounding box, degrees"
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "aircraft": {
      +      "items": {
      +        "properties": {
      +          "altitude": {
      +            "description": "Barometric altitude in meters",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "callsign": {
      +            "description": "Aircraft callsign (trimmed)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "heading": {
      +            "description": "True track heading in degrees",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "icao24": {
      +            "description": "ICAO24 transponder address",
      +            "type": "string"
      +          },
      +          "latitude": {
      +            "description": "Current latitude in degrees",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "longitude": {
      +            "description": "Current longitude in degrees",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "on_ground": {
      +            "description": "Whether aircraft is on ground",
      +            "type": "boolean"
      +          },
      +          "origin_country": {
      +            "description": "Country of origin",
      +            "type": "string"
      +          },
      +          "velocity": {
      +            "description": "Velocity in meters per second",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "icao24",
      +          "callsign",
      +          "origin_country",
      +          "longitude",
      +          "latitude",
      +          "altitude",
      +          "velocity",
      +          "heading",
      +          "on_ground"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "count": {
      +      "description": "Number of aircraft found in the bounding box",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "count",
      +    "aircraft"
      +  ],
      +  "type": "object"
      +}
  5. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "lamax": 40.8,
      +    "lamin": 40.6,
      +    "lomax": -73.8,
      +    "lomin": -74
      +  },
      +  {
      +    "lamax": 51.6,
      +    "lamin": 51.4,
      +    "lomax": -0.2,
      +    "lomin": -0.5
      +  }
      +]
  6. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real value beyond them: data is live ADS-B, requires no API key, and it enumerates exactly what is returned per aircraft including emergency/squawk codes. It does not mention rate limits or result freshness/latency tolerances, which keeps it below 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?

Purpose is front-loaded in the first clause, followed by data-source caveats, then the return field list, then sibling routing. Every element is load-bearing, though the enumerated return fields partly duplicate the existing output schema and add length.

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?

For a five-parameter read-only lookup with full schema coverage and an output schema, nothing critical is missing: the agent knows the data is live, keyless, scoped by bounding box, and which sibling to pick for adjacent tasks.

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%, with each bound, its compass direction and the limit range already documented in the schema, so the baseline of 3 applies. The description only adds the phrase 'by bounding box' and does not explain bound ordering, anti-meridian handling, or what happens when the box exceeds 500 aircraft.

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?

The description gives a specific verb and resource ('Find aircraft currently airborne') plus the retrieval mechanism ('by bounding box') and the data source ('LIVE ADS-B'). It explicitly names the two sibling tools it is not, so an agent can distinguish it 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 Guidelines5/5

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

It states when to use it with three concrete query shapes ('what planes are over <place> right now', 'aircraft near <airport>', 'is anything squawking 7700 near X') and routes the alternatives explicitly: get_aircraft for one known aircraft, get_flight_route for a callsign's route.

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.