Skip to main content
Glama

flight_stats

Aggregate flight stats including counts, total distance, unique airports and airlines, and top routes. Filter by year or view only upcoming flights.

Instructions

Aggregate stats over your flights: counts, distance, unique airports/airlines, top routes.

Args: year: Filter stats to a calendar year. Omit for all-time. upcoming_only: If true, return only upcoming (non-archived) flights. Default false returns your full flight history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNo
upcoming_onlyNo
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It describes the tool as returning aggregated stats (safe, read-only) without side effects, but does not disclose any rate limits or auth requirements. Given the simple nature, this is adequate but not exceptional.

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?

The description is concise, with a front-loaded purpose sentence followed by parameter details. Every sentence adds value with no redundancy.

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?

No output schema exists, but the description lists the types of stats (counts, distance, unique airports/airlines, top routes). This is informative, though exact field names are not provided. The tool is relatively simple, so completeness is adequate.

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%, so the description must compensate. It explains 'year' filters to a calendar year, omit for all-time, and 'upcoming_only' returns only upcoming flights. This adds meaningful context beyond the raw schema.

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 provides aggregate stats over flights, listing specific metrics (counts, distance, unique airports/airlines, top routes). This distinguishes it from siblings get_flight (single flight) and list_my_flights (list of flights).

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?

The description implies usage for aggregated statistics but does not explicitly state when to use vs alternatives. It provides filtering options (year, upcoming_only) but no when-not or alternative recommendations.

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/sailingnaturali/flighty-mcp'

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