Skip to main content
Glama
CPLX

Flighty MCP Server

by CPLX

Get Delay Forecast

flighty_get_delay_forecast
Read-onlyIdempotent

Retrieve historical delay statistics for a flight you track in Flighty. See how often it is early, on-time, or delayed, plus cancellation and diversion rates.

Instructions

Get historical delay statistics for a flight already in the user's Flighty database — how often it is early, on-time, late, cancelled, or diverted. This data is attached by Flighty when a flight is added to the user's account. It cannot look up forecasts for arbitrary flights not in the database.

Looks up the MOST RECENT instance of the flight to retrieve its stored delay forecast data. All timestamps are UTC.

Returns: flight_number, route (e.g. "SFO -> EWR"), observations (sample size), mean_delay_minutes, and percentage breakdowns (early_pct, ontime_pct, late_15/30/45_pct, cancelled_pct, diverted_pct). Returns null if no forecast data is available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flight_numberYesFlight number, e.g. "UA194"
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds that returns null if no data, and lists the return fields, which provides useful context beyond annotations.

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?

Well-structured with purpose, constraints, and return details. Slightly verbose in listing percentages, but overall efficient and front-loaded.

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?

Despite no output schema, the description compensates by detailing the return fields. For a single-parameter tool, this is fully complete.

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% and the description only repeats the flight_number format, adding no new semantic meaning beyond what the schema already provides.

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?

The description clearly states it gets historical delay statistics for a flight already in the user's Flighty database, distinguishing it from tools like flighty_get_flight_status.

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?

Explicitly states it only works for flights already in the database, not arbitrary ones, and specifies it looks up the most recent instance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CPLX/flighty-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server