Skip to main content
Glama

Get live traffic flight

get_traffic_flight
Read-onlyIdempotent

Return the latest live flight state for one aircraft, including a delay object with a plain-language explanation, decoded route_points, the flown trail when present, and predicted_arrival with a short basis code. Pass exactly one of ident or gufi. Use get_traffic_flights for nearby traffic. Use get_schedule_flight for published times.

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

Input Schema

NameRequiredDescriptionDefault
gufiNoSWIM GUFI. Example: 550e8400-e29b-41d4-a716-446655440000
identNoFlight ident. Example: AAL100 or UAL28

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / gufi
      Added value: +{
      +  "description": "SWIM GUFI. Example: 550e8400-e29b-41d4-a716-446655440000",
      +  "examples": [
      +    "550e8400-e29b-41d4-a716-446655440000"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / ident / description
      Previous value: -"Flight ident such as AAL100 or UAL28"New value: +"Flight ident. Example: AAL100 or UAL28"
    • addedInput schema / properties / ident / examples
      Added value: +[
      +  "AAL100"
      +]
    • removedInput schema / required
      Removed value: -[
      -  "ident"
      -]
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real value by disclosing what the response contains — a delay object with a plain-language explanation, decoded route_points, an optional flown trail, and predicted_arrival with a basis code — which matters because there is no output schema. It does not say what happens when neither key, or both keys, are supplied, even though the schema marks both as optional (required=0).

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?

Three tightly packed sentences: what it returns, the key constraint, then the sibling routing. No filler, and the return-value summary is front-loaded before the alternative-tool guidance.

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 no output schema, the description carries the return-shape burden and does so competently, including the conditional nature of the trail ('when present'). The one gap is edge-case behavior when zero or two identifiers are passed, which an agent could hit given neither parameter is marked required.

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 the baseline is 3, but the description adds a mutual-exclusivity semantic the flat schema does not express: exactly one of ident or gufi. That is genuine meaning beyond the schema's two independent optional strings. It does not add format hints beyond the schema examples, which is fine given the coverage.

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?

States a specific verb and resource ('Return the latest live flight state for one aircraft') and enumerates the payload's key parts (delay explanation, decoded route_points, trail, predicted_arrival with basis code). This is clearly distinguishable from the sibling get_traffic_flights (nearby traffic) and get_schedule_flight (published times).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives an explicit selection rule for the two lookup keys ('Pass exactly one of ident or gufi') and names two alternatives with the conditions that select them: get_traffic_flights for nearby traffic, get_schedule_flight for published times. An agent does not need to open either schema to route correctly.

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