Skip to main content
Glama

Check saved flight status

flight_status_for_segment
Read-onlyIdempotent

Get current flight status for an existing flight segment in a user's trip. Use this when the user asks if a flight in their itinerary is delayed, canceled, on time, boarding, or has gate/terminal updates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoAlias for segment_id
segment_idYesThe flight segment ID from a trip itinerary or segment details result

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNo
flightNo
matchedNo
flightStatusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint, so the safety and live-data profile is largely structured. The description adds only the implication of 'current' status, without disclosing freshness, refresh behavior, or what happens when status is unavailable; against annotations this is adequate but not rich.

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?

Two sentences, front-loaded with the capability and followed by the usage trigger. Every clause earns its place with no filler.

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?

An output schema exists, so return values need not be described, and annotations cover the safety profile. The description supplies purpose and trigger together, leaving only minor gaps such as data freshness and behavior when no status is available.

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 description coverage is 100%, and the segment_id description ('from a trip itinerary or segment details result') already tells the agent where to obtain the value; the id alias is also documented. The description adds nothing beyond the schema, so the baseline of 3 applies.

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 description gives a specific verb+resource ('Get current flight status') plus scope ('for an existing flight segment in a user's trip'), which is precise and distinct from siblings like get_flight_airport_conditions or get_flight_change_history. It does not explicitly name an alternative sibling, so it stops short of a 5.

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 explicitly states the trigger conditions: 'Use this when the user asks if a flight in their itinerary is delayed, canceled, on time, boarding, or has gate/terminal updates.' That is clear positive guidance, but it offers no exclusions or named alternatives for when this is the wrong tool.

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