Skip to main content
Glama

Flights entering NOTAM airspace

get_flights_approaching_notams
Read-onlyIdempotent

Find live flights inside or projected to enter active NOTAM hazard areas within a chosen time horizon, filtered by hazard type, airspace, airport, NOTAM, or coordinates.

Instructions

Airspace watch: live flights inside, or on course to enter, active NOTAM hazard areas (TFRs, restricted/special-use airspace, UAS areas, etc.) within the next horizon_minutes.

Use for controller/operations questions like "which flights are about to enter any TFR?" (hazard_type='tfr', nothing else - one call covers every active TFR nationwide; do NOT call search_notams first or loop per NOTAM), "which flights are heading into restricted area R-5206?" (airspace='R-5206') or "anything about to enter NOTAM airspace near DCA?" (airport='DCA', optionally with hazard_type). Give hazard_type alone (tfr/sua/warning), or a notam_id, an airspace, an airport, or a latitude/longitude (with radius_nm), optionally combined with hazard_type. Special use airspace activations (!SUA NOTAMs) are drawn with the FAA's charted SUA boundary. Each flight is projected along its TFMS planned route (or its current track if off-plan); results give minutes and distance to entry, current vs planned altitude relative to the NOTAM's altitude band, whether the NOTAM's daily/weekday schedule applies at entry, and the NOTAM text. NOTAMs publishing an identical area are evaluated separately, then merged per flight; hazard.same_area_notam_evidence retains each NOTAM's schedule and altitude assessment. counts splits encounters into 'confirmed' (altitude overlaps the band) and 'altitude_unknown' (including AGL bands that need terrain elevation); report both numbers, not just the total. Confirmed are listed first.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax items.
airportNoWatch NOTAM areas around this airport.
airspaceNoSpecial use airspace by designator or name, e.g. 'R-5206', 'W-570B', 'LIVE OAK MOA'. Watches its NOTAM activations.
latitudeNoWatch-area center latitude.
notam_idNoWatch one NOTAM by id, e.g. 'A0071/26' (as returned by search_notams).
longitudeNoWatch-area center longitude.
radius_nmNoWatch-area radius in NM.
hazard_typeNoHazard family: 'tfr' (temporary flight restrictions), 'sua' (restricted/warning/MOA/prohibited activations), 'uas' (drone areas), 'warning' (QW navigational warnings), 'any'. With NO location given, 'tfr', 'sua' and 'warning' scan the whole country in ONE call; 'uas' and 'any' need an airport or latitude/longitude.
notam_locationNoLocation of that NOTAM (e.g. 'ZNY', 'KJFK'); domestic NOTAM numbers like '10/653' repeat across locations.
horizon_minutesNoHow far ahead to project each flight.
include_obstaclesNo
only_vertical_conflictsNoDrop flights clearly above/below the NOTAM's altitude band at both current and planned altitude.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, yet the description still adds real substance: flights are projected along the TFMS planned route or current track, entry gets minutes/distance, altitude is compared to the NOTAM band, schedule applicability is evaluated, and same-area NOTAMs are evaluated separately then merged per flight. The only undisclosed behavior is rate limits or data freshness/latency for 'live' data, which is a minor gap rather than a contradiction.

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 one-line purpose, then usage examples, then mechanics — a sensible ordering for an agent scanning top-down. It is dense and long, with some overlap between the parenthetical examples and the parameter-shape sentence, but nearly every clause carries operational information.

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 12-parameter spatial/temporal query with an output schema, the description covers what an agent needs: valid parameter combinations, the projection method, altitude-band interpretation, same-area NOTAM merging, and the confirmed vs altitude_unknown split in counts. Return-field detail is correctly left to the output 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?

Schema coverage is 92%, so the schema already defines most parameters; the description nonetheless adds combinatorial meaning the schema does not spell out, such as 'hazard_type alone (tfr/sua/warning)' scanning the whole country in one call and radius_nm pairing with latitude/longitude. It repeats the schema's note that 'uas'/'any' need a location, which is mild redundancy but doesn't hurt.

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+resource: finds live flights inside or on course to enter active NOTAM hazard areas within horizon_minutes. It explicitly scopes itself against siblings by telling the agent not to call search_notams first or loop per NOTAM, so the agent can distinguish it from search_notams and get_route_notams 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?

Provides explicit when-to-use framing (controller/operations questions) plus three concrete natural-language queries mapped to exact parameter combinations, and an explicit when-NOT-to-use instruction ('do NOT call search_notams first or loop per NOTAM'). It also gives the location-vs-hazard_type rule, so an agent knows which parameter shapes are valid calls.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.