Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FLIGHTOPS_OPENSKY_CLIENT_IDNoOpenSky API client ID (from Account → API Client at opensky-network.org). Required to unlock the traffic and movement tools.
FLIGHTOPS_OPENSKY_CLIENT_SECRETNoOpenSky API client secret, paired with FLIGHTOPS_OPENSKY_CLIENT_ID. Required to unlock the traffic and movement tools.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Use this server for questions about the operational state of an airport and the traffic around it.

Rules that the tools will enforce:

  1. Resolve identifiers first. resolve_airport is offline and free; it returns ICAO (ident), IATA, name and coordinates. Never guess a coordinate. To list or browse airports, use search_airports, which pages: follow nextCursor until it is absent, and do not assume one page is the whole list.

  2. airport_live_traffic, airport_movements, airspace_snapshot and disruption_triage spend OpenSky API credits. Prefer one disruption_triage call over three separate ones.

  3. airport_weather needs no credentials and no credits.

  4. Absence of data is not evidence. Each payload lists unknowns; if it is non-empty, say so instead of concluding that operations are normal.

  5. This server is advisory. It reports observations and flags; it never authorises an operational decision.

  6. flight_passenger_impact reads the internal operations API as the signed-in user and returns counts only. Never ask it for, or infer, an individual passenger.

  7. propose_rebooking is the only tool that changes anything, and it cannot complete on your say-so. It answers with a request for a human approval; a person other than the user you act for must approve the exact proposal. If the approval is refused, missing or declined, report that and stop. Never try to supply, guess or work around an approval.

  8. schiphol_flights reads Amsterdam Schiphol's published schedule. It is a schedule, not an observation: compare it with airport_movements before saying a flight has operated.

  9. A payload with cache.hit: true was served from this server's cache. Its upstream_time_epoch is the upstream's clock when the data was fetched; a repeat inside the TTL costs no credits.

  10. Ages are measured against upstream_time_epoch, the upstream's own Date header. When it is null the age is unknown, and the payload says so in unknowns.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
completions
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
aircraft_trackA

Return the path one aircraft has flown, as observed, and what is known of where it goes.

Three different kinds of claim, kept apart:
`transit` is observed: OpenSky's `/tracks/all` waypoints, each with its own time, never
extended past the last one. 4 OpenSky credits per uncached call, from a bucket separate
from state vectors (measured 2026-11-19). `estimated_arrival` is an inference: with
`estimate_arrival` true, `/flights/aircraft` is asked for the last day, and OpenSky's
`estArrivalAirport` is given only for a record of the observed flight. OpenSky lists a
flight after it ends, so an aircraft still flying usually has none. That call costs 30
credits (measured 2026-11-19) and needs client credentials. `destination` has no
source: a transponder broadcasts position, not intent, and no schedule provider is
configured.

Args:
    icao24: The transponder address, six hex digits, e.g. 4ca1fa.
    estimate_arrival: Also ask OpenSky for its ADS-B estimate of the arrival airport.
airport_live_trafficA

Return aircraft currently within a radius of an airport.

Costs 1 OpenSky credit for a box up to 25 square degrees, up to 4 for a very
large radius. Aircraft are sorted by most recently heard.

Args:
    airport: ICAO code, e.g. ESGG.
    radius_nm: Search radius in nautical miles (5-200).
    max_aircraft: Cap on returned aircraft (1-200).
airport_movementsA

List estimated arrivals and/or departures for an airport.

Each direction costs 4 OpenSky credits for a live window of under 24 hours.
OpenSky derives these movements from ADS-B, so they are estimates: the
origin/destination fields are inferred from the first and last seen position.

Args:
    airport: ICAO code, e.g. ESGG.
    direction: "arrival", "departure", or "both".
    window_minutes: Look-back window in minutes (5-60; OpenSky serves at most
        one hour of history).
airport_weatherA

Return the latest METAR and TAF for an airport, plus impact flags.

Needs no credentials and spends no OpenSky credits.

Args:
    airport: ICAO code, e.g. ESGG.
airspace_snapshotA

Return aircraft across a whole region, as compact columns, for an overview.

Costs 4 OpenSky credits per uncached call, for every region: each one is in
OpenSky's top price tier. A repeat within 60 seconds is served from the cache and
costs nothing. Also counts against the daily credit guard. For one airport use
`airport_live_traffic`, which costs 1 credit.

Args:
    region: "europe", "north_america", "south_america", "africa", "asia", "oceania"
        or "world". Free-form boxes are not accepted.
    max_aircraft: Cap on returned aircraft (1-10000), most recently heard first.
disruption_triageA

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).
flight_passenger_impactA

Count who a disrupted flight affects: booked, connecting, needing assistance.

Reads the internal operations API on behalf of the signed-in user, so it
needs a user's token carrying `flightops.passengers.read`; a service
principal cannot use it and it is unavailable over stdio. Spends no OpenSky
credits. Returns counts only: no names, contact details or booking
references leave the server, so do not ask it about an individual.

Args:
    flight: Flight designator, e.g. SK1429.
propose_rebookingA

Propose moving a group of passengers to another flight. Needs a human approval.

The only tool that changes anything. It does not complete on the first call:
it answers with a request for approval, and executes only when a person other
than the signed-in user approves this exact proposal. You cannot approve it,
and changing any argument makes it a new proposal needing a new approval.
Calling it again with the same arguments is safe: the same proposal is
executed at most once and a repeat returns the original result.

It names a group, never a passenger, and returns counts only. It needs a
user's token carrying `flightops.rebooking.write`, so it is unavailable to a
service principal and over stdio. Spends no OpenSky credits.

Args:
    from_flight: Flight the passengers are booked on, e.g. SK1429.
    flight_date: Departure date of from_flight, YYYY-MM-DD.
    to_flight: Flight to move them to, e.g. SK1431.
    cohort: Which passengers: "tight_connections", "connecting",
        "needing_assistance" or "all".
    reason_code: Why: "weather", "technical", "crew", "atc", "late_inbound"
        or "other".
    passenger_count: How many passengers this moves, as reported by
        flight_passenger_impact for that cohort. The rebooking is refused if
        the number has changed since.
resolve_airportA

Resolve an airport from an ICAO/IATA code or a name fragment.

Offline and free: reads the bundled OurAirports reference database, so it
costs no API credits and works with no credentials configured.

Args:
    query: ICAO (ESGG), IATA (GOT), or part of an airport name.
    limit: Maximum matches to return (1-20).
schiphol_flightsA

Amsterdam Schiphol's published schedule: flights due in the next window, with state.

Reads the Schiphol Public Flight API (v4) as this server, with its own OAuth2
client. EHAM only. A schedule is what the airport has published, not what has
happened: a flight listed here may not have operated. Counts cancelled,
diverted and delayed flights (delayed: state DEL, or an estimate 15 min or more
after schedule). One request per page of 20 flights, charged to a local
per-hour request budget; no OpenSky credits.

This adapter has been exercised only against a mock of Schiphol's documented
API, never with a live key.

Args:
    direction: "arrival", "departure", or "both".
    window_minutes: How far ahead of now to look, in minutes (15-720).
search_airportsA

List airports in the bundled reference data, one page at a time, in ICAO order.

Offline and free, like `resolve_airport`. Use this to browse or enumerate (every
airport in a region, every match for a name); use `resolve_airport` to turn one
code or name into one airport. A reply holds at most `limit` airports. When more
match, it carries `nextCursor`: call again with the same query and region and
that cursor for the next page. No `nextCursor` means the list is complete.

Args:
    query: Matches an ICAO prefix (ES), an exact IATA code (GOT), or part of an
        airport or city name. Empty lists everything.
    region: "europe", "north_america", "south_america", "africa", "asia" or
        "oceania". Omit for the whole world.
    limit: Airports per page (1-100, default 20).
    cursor: The `nextCursor` of the previous page; omit for the first page.
upstream_statusA

Report upstream health, credit spend and credential state.

Use before blaming the data: it separates "no credentials", "rate limited"
and "quiet airspace".
weather_overviewA

Return the latest METAR for many airports at once, for an overview or a map.

Needs no credentials and spends no OpenSky credits. NOAA is asked 50 airports per
request. An airport it did not answer for has its own entry with `ok: false` and
the reason; the others are unaffected. No TAF: for one airport's full picture use
`airport_weather`.

Args:
    airports: ICAO codes, 1-100, e.g. ["ESGG", "EKCH"].

Prompts

Interactive templates invoked by user choice

NameDescription
triage_airportRun the disruption triage for one airport and report its severity, reasons and unknowns without overstating them.
brief_movementsBrief an airport's estimated arrivals and/or departures in the last hour, saying what ADS-B cannot show.

Resources

Contextual data attached and managed by the client

NameDescription
airport-indexHow many airports the bundled reference holds, where it comes from, and how to read one: airport://{icao} with an ICAO code.

TDQS

A4.1/5.0

Scored across 13 tools

Disambiguation5/5

The tools target clearly distinct resource/action combinations, and the descriptions explicitly resolve the main overlaps: composite triage vs primitives, resolve_airport vs search_airports, airport_weather vs weather_overview, and airport_live_traffic vs airspace_snapshot. Schiphol schedule vs generic airport movements is also clearly differentiated by source and scope.

Naming Consistency3/5

All names use snake_case, but the set mixes verb-first names like resolve_airport, search_airports, and propose_rebooking with mostly noun-phrase names like airport_weather, airspace_snapshot, and weather_overview. The names are readable and descriptive, but there is no single predictable naming pattern across the set.

Tool Count5/5

Thirteen tools is well within the appropriate range for a flight operations server that spans weather, traffic, airport reference data, passenger impact, and rebooking. Each tool has a clear place, and the composite disruption_triage tool helps avoid unnecessary breadth in common workflows.

Completeness4/5

The core disruption workflow is well covered: triage, weather, live traffic, movements, passenger impact, and rebooking. Minor gaps remain around generic flight-status or schedule lookup outside the Schiphol-specific adapter, but agents can work around most of these through airport movements, aircraft tracking, and internal passenger-impact tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues