Skip to main content
Glama

flight_passenger_impact

Read-only

Counts booked, connecting, and assistance-needing passengers affected by a disrupted flight so operators can gauge impact without exposing personal data.

Instructions

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.

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": {
      "flight": "<flight>"
    },
    "name": "flight_passenger_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
flightYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations it discloses auth scope requirements, principal-type and transport restrictions, that no OpenSky credits are consumed, and a privacy guarantee that only counts leave the server. These are exactly the operational facts an agent needs before calling.

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?

Front-loaded summary, then constraints, then args — well ordered with every sentence carrying information. The OpenSky credit statement is somewhat tangential for a tool that reads an internal API, but it is short and prevents a real misuse assumption.

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?

An output schema exists, so return-value structure need not be spelled out, yet the description still states the key return property (counts only, no PII) and covers auth, transport, and cost. Nothing an agent needs to invoke this correctly is absent.

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 0% and the single parameter is a bare string, but the Args block supplies the expected semantics ('Flight designator, e.g. SK1429'), which is meaning the schema does not carry. A format example for other designator styles is the only gap.

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 sentence names a specific verb and resource ('Count who a disrupted flight affects') and enumerates the breakdown categories (booked, connecting, needing assistance). It is clear what the tool returns, but it never names a sibling such as disruption_triage or propose_rebooking, so differentiation is left to inference.

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?

It gives explicit when-not guidance ('do not ask it about an individual') plus hard prerequisites: a user token with `flightops.passengers.read`, no service principals, unavailable over stdio. What is missing is any pointer to which sibling to use instead when you need individual passenger data or rebooking actions.

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