Skip to main content
Glama

disruption_triage

Read-only

Assess airport disruption by combining weather, traffic, and movement data, then report severity, reasons, and unknowns for triage.

Instructions

Assess whether an airport is currently disrupted: weather, traffic, movements.

This is the composite tool an agent should reach for first. It makes one
weather call (free), one movements call per direction and one traffic call
(OpenSky credits), then reports severity together with its reasons and its
unknowns. Severity is advisory only.

Args:
    airport: ICAO code, e.g. ESGG.
    radius_nm: Traffic search radius in nautical miles (5-200).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "airport": "<airport>"
    },
    "name": "disruption_triage"
  }
}

Input Schema

NameRequiredDescriptionDefault
airportYes
radius_nmNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.11.0
    • addedOutput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / oneOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "airport": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "icao": {
      +            "type": "string"
      +          },
      +          "municipality": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "icao",
      +          "name",
      +          "municipality"
      +        ],
      +        "type": "object"
      +      },
      +      "assessment": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "advisory_only": {
      +            "const": true
      +          },
      +          "legs_without_evidence": {
      +            "items": {
      +              "enum": [
      +                "weather",
      +                "traffic",
      +                "movements"
      +              ]
      +            },
      +            "type": "array"
      +          },
      +          "reason_details": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "leg": {
      +                  "enum": [
      +                    "weather",
      +                    "traffic",
      +                    "movements"
      +                  ]
      +                },
      +                "observations": {
      +                  "minimum": 1,
      +                  "type": "integer"
      +                },
      +                "reason": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "reason",
      +                "leg",
      +                "observations"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "reasons": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "severity": {
      +            "description": "unknown outranks elevated: a leg that cannot be seen is not evidence of calm.",
      +            "enum": [
      +              "low",
      +              "elevated",
      +              "high",
      +              "unknown"
      +            ]
      +          },
      +          "unknowns": {
      +            "description": "What this answer cannot show. Non-empty means: do not conclude normality.",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "why_not_higher": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "why_not_lower": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "severity",
      +          "reasons",
      +          "reason_details",
      +          "why_not_higher",
      +          "why_not_lower",
      +          "unknowns",
      +          "legs_without_evidence",
      +          "advisory_only"
      +        ],
      +        "type": "object"
      +      },
      +      "bookkeeping": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "credits_remaining_upstream": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "credits_spent": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "credits_spent",
      +          "credits_remaining_upstream"
      +        ],
      +        "type": "object"
      +      },
      +      "counts": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "aircraft_in_search_box": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "airborne": {
      +                    "type": [
      +                      "integer",
      +                      "null"
      +                    ]
      +                  },
      +                  "count": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "listed": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "on_ground": {
      +                    "type": [
      +                      "integer",
      +                      "null"
      +                    ]
      +                  },
      +                  "received": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "truncated": {
      +                    "type": "boolean"
      +                  },
      +                  "unreadable": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "count",
      +                  "received",
      +                  "unreadable",
      +                  "listed",
      +                  "airborne",
      +                  "on_ground",
      +                  "truncated"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "arrivals": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "count": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "received": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "unreadable": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "count",
      +                  "received",
      +                  "unreadable"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "departures": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "count": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "received": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "unreadable": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "count",
      +                  "received",
      +                  "unreadable"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "movements_window_minutes": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "search_radius_nm": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "arrivals",
      +          "departures",
      +          "movements_window_minutes",
      +          "aircraft_in_search_box",
      +          "search_radius_nm"
      +        ],
      +        "type": "object"
      +      },
      +      "credentials": {
      +        "enum": [
      +          "client_credentials",
      +          "anonymous",
      +          "none"
      +        ]
      +      },
      +      "degraded": {
      +        "description": "Legs that could not be read, as leg:reason.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "evidence": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "movements_summary": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "arrivals": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "departures": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "arrivals",
      +                  "departures"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "traffic_counts": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "airborne": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "on_ground": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "received": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "returned": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "unreadable": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "returned",
      +                  "airborne",
      +                  "on_ground",
      +                  "received",
      +                  "unreadable"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "weather": {
      +            "anyOf": [
      +              {
      +                "items": {
      +                  "description": "One METAR or TAF as decoded from NOAA's JSON.",
      +                  "properties": {
      +                    "altimeter_hpa": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "clouds": {
      +                      "description": "null: NOAA sent no cloud group. []: it sent an empty one.",
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "base_ft": {
      +                            "type": [
      +                              "number",
      +                              "null"
      +                            ]
      +                          },
      +                          "cover": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "cover",
      +                          "base_ft"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": [
      +                        "array",
      +                        "null"
      +                      ]
      +                    },
      +                    "dewpoint_c": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "flight_category": {
      +                      "description": "As the upstream sent it; not coerced."
      +                    },
      +                    "observation_time": {
      +                      "description": "As the upstream sent it; not coerced."
      +                    },
      +                    "product": {
      +                      "enum": [
      +                        "metar",
      +                        "taf"
      +                      ]
      +                    },
      +                    "raw_text": {
      +                      "description": "As the upstream sent it; not coerced."
      +                    },
      +                    "station_id": {
      +                      "description": "As the upstream sent it; not coerced."
      +                    },
      +                    "temperature_c": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "vertical_visibility_ft": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "visibility_at_least": {
      +                      "type": "boolean"
      +                    },
      +                    "visibility_statute_mi": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "wind_dir_deg": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "wind_gust_kt": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "wind_speed_kt": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "wind_variable": {
      +                      "type": "boolean"
      +                    },
      +                    "wx_string": {
      +                      "description": "As the upstream sent it; not coerced."
      +                    }
      +                  },
      +                  "required": [
      +                    "station_id",
      +                    "observation_time",
      +                    "raw_text",
      +                    "product"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "weather",
      +          "movements_summary",
      +          "traffic_counts"
      +        ],
      +        "type": "object"
      +      },
      +      "legs": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "movements": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "age_s": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "data_time_epoch": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "error": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source": {
      +                "type": "string"
      +              },
      +              "status": {
      +                "enum": [
      +                  "observed",
      +                  "empty",
      +                  "not_current",
      +                  "unavailable",
      +                  "not_fetched"
      +                ]
      +              },
      +              "upstream_time_epoch": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "status",
      +              "source",
      +              "upstream_time_epoch",
      +              "data_time_epoch",
      +              "age_s",
      +              "error"
      +            ],
      +            "type": "object"
      +          },
      +          "traffic": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "age_s": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "data_time_epoch": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "error": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source": {
      +                "type": "string"
      +              },
      +              "status": {
      +                "enum": [
      +                  "observed",
      +                  "empty",
      +                  "not_current",
      +                  "unavailable",
      +                  "not_fetched"
      +                ]
      +              },
      +              "upstream_time_epoch": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "status",
      +              "source",
      +              "upstream_time_epoch",
      +              "data_time_epoch",
      +              "age_s",
      +              "error"
      +            ],
      +            "type": "object"
      +          },
      +          "weather": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "age_s": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "data_time_epoch": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "error": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source": {
      +                "type": "string"
      +              },
      +              "status": {
      +                "enum": [
      +                  "observed",
      +                  "empty",
      +                  "not_current",
      +                  "unavailable",
      +                  "not_fetched"
      +                ]
      +              },
      +              "upstream_time_epoch": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "status",
      +              "source",
      +              "upstream_time_epoch",
      +              "data_time_epoch",
      +              "age_s",
      +              "error"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "weather",
      +          "traffic",
      +          "movements"
      +        ],
      +        "type": "object"
      +      },
      +      "ok": {
      +        "const": true
      +      },
      +      "source": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "traffic_and_movements": {
      +            "type": "string"
      +          },
      +          "weather": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "weather",
      +          "traffic_and_movements"
      +        ],
      +        "type": "object"
      +      },
      +      "upstream_time_epoch": {
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "weather": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "age_s": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "category": {
      +                "description": "As the upstream sent it; not coerced."
      +              },
      +              "ceiling": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "basis": {
      +                    "type": "string"
      +                  },
      +                  "ft": {
      +                    "type": [
      +                      "integer",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "ft",
      +                  "basis"
      +                ],
      +                "type": "object"
      +              },
      +              "current": {
      +                "type": "boolean"
      +              },
      +              "observed_at": {
      +                "description": "As the upstream sent it; not coerced."
      +              },
      +              "raw": {
      +                "description": "As the upstream sent it; not coerced."
      +              },
      +              "significant_weather": {
      +                "description": "As the upstream sent it; not coerced."
      +              },
      +              "station": {
      +                "description": "As the upstream sent it; not coerced."
      +              },
      +              "visibility": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "at_least": {
      +                    "type": "boolean"
      +                  },
      +                  "statute_mi": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "statute_mi",
      +                  "at_least"
      +                ],
      +                "type": "object"
      +              },
      +              "wind": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "direction_deg": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "gust_kt": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "speed_kt": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "variable": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "required": [
      +                  "direction_deg",
      +                  "variable",
      +                  "speed_kt",
      +                  "gust_kt"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "station",
      +              "observed_at",
      +              "age_s",
      +              "current",
      +              "category",
      +              "ceiling",
      +              "visibility",
      +              "wind",
      +              "significant_weather",
      +              "raw"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "upstream_time_epoch",
      +      "credentials",
      +      "airport",
      +      "assessment",
      +      "counts",
      +      "weather",
      +      "legs",
      +      "evidence",
      +      "degraded",
      +      "bookkeeping",
      +      "source"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "description": "Machine-readable; stable across releases.",
      +            "type": "string"
      +          },
      +          "details": {
      +            "type": "object"
      +          },
      +          "hint": {
      +            "description": "What to do next.",
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          },
      +          "retry_after_s": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "ok": {
      +        "const": false
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / title
      Removed value: -"disruption_triageDictOutput"
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds genuinely new behavioral context: the call composition (one weather, one per-direction movements, one traffic call), the cost profile (weather free, traffic consumes OpenSky credits), and that severity is advisory with explicit reasons and unknowns. It stops short of describing latency or failure behavior if an upstream call fails.

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?

The purpose sentence is front-loaded and the selection hint follows immediately; every sentence adds information. The 'Args:' block is a reasonable structure but slightly redundant with the schema's own parameter titles.

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 two-parameter composite fan-out tool with an output schema, the definition covers purpose, selection, cost, and both parameters. Since an output schema exists, the description need not detail return values, though it usefully flags that severity comes with reasons and unknowns.

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?

With 0% schema description coverage, the description carries the full burden and mostly meets it: it specifies the airport is an ICAO code with an example (ESGG) and gives the radius_nm range of 5-200 nm that appears nowhere in the schema. It omits that radius_nm defaults to 40 when not supplied, which is the one remaining gap.

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?

Names a specific verb and resource ('Assess whether an airport is currently disrupted') and enumerates the signal domains it fuses: weather, traffic, movements. The phrase 'composite tool' explicitly positions it relative to the atomic siblings like airport_weather and airport_movements, so an agent can distinguish it without opening a 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?

'This is the composite tool an agent should reach for first' gives an explicit selection priority over the single-domain siblings. It does not, however, state when an agent should instead call the cheaper atomic tools directly, nor does it name them, so the exclusion half of the guidance is left implicit.

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