Skip to main content
Glama

Flight status

get_flight_status
Read-onlyIdempotent

Current status of a flight by number (e.g. AA1 or AAL1). Returns the canonical flight number and the leg its gaduin.com flight page answers with (today's leg in its own time zone, else the active leg nearest now, else the latest one; with date, that service date's leg), with its role (current: left and not landed, inside its arrival horizon; next: not yet left; latest: landed on record or observed landing with observed_landing, cancelled, no arrival recorded, unconfirmed or past due with nothing recorded), its status (arrival_not_recorded once it left and no arrival was recorded by its scheduled arrival plus 6 hours, else its recorded departure plus 24 hours; timing is then null), status_basis departure_report_only when the departure airport alone reports that status and no arrival record confirms it (say so: a cancellation is then as reported at departure, not a confirmed outcome; absent otherwise), with it observed_landing (coverage observed) when the aircraft's own position reports place the flight's landing at its arrival airport between earliest_utc and latest_utc (say it was observed landing then; it is no official arrival time and carries no delay or verdict; absent otherwise and once an arrival is on record), whether sources disagree on its outcome, its timing, delay in minutes and on-time or delayed verdict under the late rule, its departure and arrival times in UTC and airport-local time with the time zone (the departure's actual_kind says whether its recorded time is the gate departure, the take-off or unspecified, and scheduled_kind whether its scheduled time is a gate time, a take-off time (the schedule-based estimate of the runway departure time that air traffic management works with, not an airline-published time) or unknown: a departure carries a delay and verdict only when both are of the same kind; a take-off against a gate schedule carries takeoff_gap_minutes instead, which includes taxi time and is never a delay, so say "took off at", never late or on time), the leg's own last update time (the later of its last read and its observed landing's latest_utc; null when none), the aircraft type, registration and ICAO 24-bit address recorded for the operating flight's own leg (each null when not on record; always null on a codeshare listing), a link to the flight page and, when one is open, a link to the prediction market that page links (this leg's until it leaves, else the next upcoming leg's, with that leg's service date). on_record is true. It also returns observed: the flights read off positions reported by aircraft transponders under the flight number's broadcast callsign (matched_by callsign, with the callsigns tried; an airline whose callsigns do not follow its flight numbers shows nothing there) whose takeoff, else landing, starts within the leg's service date in its own time zone; each takeoff and landing is a bracket, not a gate time, and never fills or grades any time, delay or verdict above. observed is null when that day has not begun, lies beyond the 89 days observed flights are kept or no airline is known for the number; null with observed_unavailable true when it could not be read. A flight with no operation on record (with date, none on that service date) answers on_record false with airline, url, leg, market and generated_at null and the flights observed under its callsign on date read as a UTC date, else in the last 2 UTC days; with none observed either, it is not found.

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": {
      "number": "<number>"
    },
    "name": "get_flight_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoService date YYYY-MM-DD (the departure's local date) to answer for that day's operation instead of the headlined one; from 400 days back to 3 days ahead. For a flight not on record, the UTC date its observed flights are read for.
numberYesFlight number: airline IATA or ICAO code plus number, e.g. AA1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / date / description
      Previous value: -"Service date YYYY-MM-DD (the departure's local date) to answer for that day's operation instead of the headlined one; from 400 days back to 3 days ahead."New value: +"Service date YYYY-MM-DD (the departure's local date) to answer for that day's operation instead of the headlined one; from 400 days back to 3 days ahead. For a flight not on record, the UTC date its observed flights are read for."
  2. Changed1 schema field changed
    • addedInput schema / properties / date
      Added value: +{
      +  "description": "Service date YYYY-MM-DD (the departure's local date) to answer for that day's operation instead of the headlined one; from 400 days back to 3 days ahead.",
      +  "format": "date",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / number / description
      Previous value: -"Flight number: airline IATA or ICAO code plus number, e.g. BA117."New value: +"Flight number: airline IATA or ICAO code plus number, e.g. AA1."
  4. Added

TDQS

A4/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description then adds substantial context the annotations cannot carry: the 89-day observed-flight retention, the 2-UTC-day fallback window for not-found flights, null-with-observed_unavailable semantics, the 400-days-back-to-3-days-ahead query envelope, and codeshare rows being deliberately null. It also sets an explicit interpretive guardrail — observed brackets "never fill or grade any time, delay or verdict above" — which directly prevents a downstream misinterpretation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

The entire definition is one enormous paragraph with parentheticals nested several levels deep (the status role enumeration, the scheduled_kind explanation, the observed block), making it hard to scan for any single fact. Every clause is arguably informational, but the absence of any structure or front-loading of the not-found and observed_unavailable cases materially slows an agent's extraction.

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?

There is no output schema, so the description carries the full burden of the return contract, and it discharges that thoroughly: leg roles, status_basis, takeoff_gap_minutes vs. delay, time kinds, null conditions, and the not-found shape with its null fields. Nothing material for correct invocation or interpretation appears to be missing.

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 coverage is 100%, so both parameters are already documented, and the description largely restates the date parameter's behavior (service date vs. UTC read date for unrecorded flights). It adds no syntax, format, or edge-case detail about the parameters themselves beyond what the schema states, so the baseline applies.

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 specific verb+resource ("Current status of a flight by number") and gives a concrete example format (AA1/AAL1). The scope — canonical flight number plus the single answered leg — is distinct from a history, position, or track tool, so an agent can route here 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 Guidelines3/5

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

Usage is implied through the semantics of the returned leg ("today's leg in its own time zone, else the active leg nearest now, else the latest one") and through the date parameter's range. However, it never names a sibling such as get_flight_history or get_flight_position, nor any explicit when-not condition, so the agent must infer the boundary from the resource noun alone.

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.

Resources