Skip to main content
Glama

Flight on-time history

get_flight_history
Read-onlyIdempotent

How often a flight has been late over the last 30 days, or the last days days (up to 400, the record's reach). Returns n (arrivals graded against a published arrival schedule) with its on-time and late counts, ungraded_arrivals (landings with no published schedule to grade), cancelled and diverted counts, operations (n + cancelled + diverted, the base for shares), unconfirmed legs left out, the window (shorter when the record limit cut it), the late rule with its minute threshold, and a link to the flight page on gaduin.com.

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_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHistory window in days (1-400); defaults to 30. window reports the span actually covered.
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
    • addedInput schema / properties / days
      Added value: +{
      +  "description": "History window in days (1-400); defaults to 30. window reports the span actually covered.",
      +  "maximum": 400,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  2. 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."
  3. Added

TDQS

A3.9/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnly, idempotent, openWorld, non-destructive); the description goes well beyond them by defining the returned counters, excluding 'unconfirmed' legs, disclosing that the window may be truncated by record limits, and stating the late rule includes a minute threshold. Since there is no output schema, this is exactly the behavioral burden the description needs to carry.

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

Conciseness3/5

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

Purpose is front-loaded in the opening clause, but the remainder is a single sprawling sentence enumerating a dozen return fields with no structure, plus a typo ('the last days days'). The content is useful but would be far more scannable as a short list.

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 read-only lookup with two parameters and no output schema, the description covers the return payload, field definitions, and truncation behavior well. It omits edge cases an agent may hit, such as behavior for an unknown flight number or whether coverage depends on the requested window's age.

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 100%, so baseline would be 3; the description earns an extra point by explaining that 400 is the record's actual reach rather than an arbitrary cap, and that the returned 'window' may be shorter than the requested days. That adds causal meaning the schema's 'maximum: 400' does not convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first clause states a specific measurable resource: how often a given flight has been late over a bounded window. That is a clear verb+resource statement an agent can act on, but it never names a sibling (e.g. get_flight_status for current state) to sharpen the boundary between history and status.

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 only implied through the window parameter ('defaults to 30', 'up to 400, the record's reach'), which tells the agent how to size the query but not when to prefer this tool over get_flight_status or get_flight_track. There are no exclusions or stated prerequisites.

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