Skip to main content
Glama

Off-plan flights near NOTAMs

find_route_deviations_near_notams
Read-onlyIdempotent

Identify live flights deviating from their planned TFMS route near active NOTAM hazard areas and flag whether the original plan crossed the affected airspace.

Instructions

Route-conformance scan: live flights that are off their TFMS planned route, paired with the nearest active NOTAM hazard area and whether their original plan crossed it.

Use for analyst questions such as "are flights deviating around the new TFR?" or "who is not following their filed route near NOTAM airspace?". A deviating flight whose plan crosses an active NOTAM area is a candidate avoidance/reroute; explain with that caveat.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax items.
near_notam_nmNoSearch radius for active NOTAM areas.
min_deviation_nmNoMinimum cross-track distance from plan.
require_nearby_notamNoOnly flights with an active NOTAM nearby.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine interpretive context the annotations cannot: the result is a candidate avoidance/reroute and must be explained with that caveat, which prevents the agent from over-claiming intent. It does not state data freshness for 'live' positions, keeping 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short paragraphs, front-loaded with the operation and its definition, then the analyst-facing use cases and a caveat. Every sentence carries either scope, an example trigger, or a guardrail; nothing is redundant with the title.

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?

With an output schema present, the description needn't explain return shape, and it does state the key output dimensions (deviation, nearest NOTAM, plan crossing). What is missing for a live-traffic tool is any hint of position timestamp/recency or result ordering, which an analyst would reasonably want before trusting a deviation picture.

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 radius, cross-track minimum, limit and the NOTAM filter are already fully documented in the schema. The description echoes the domain concepts ('active NOTAM hazard area', off-plan deviation) but adds no units, edge-case behavior, or interaction between parameters (e.g. what happens when require_nearby_notam is false). Baseline 3 is appropriate.

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?

Opens with a named operation ('Route-conformance scan') and specifies both sides of the join: live flights off their TFMS planned route plus the nearest active NOTAM hazard area and whether the plan crossed it. That pairing of two data domains is distinctive enough that an agent can distinguish it from get_flights_approaching_notams or 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 Guidelines4/5

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

Gives concrete eliciting analyst questions ('are flights deviating around the new TFR?', 'who is not following their filed route near NOTAM airspace?'), which tells the agent the situation this tool answers. It stops short of naming a preferred alternative or stating when NOT to use it, so it lands at clear-context rather than full routing guidance.

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