Skip to main content
Glama

get_flight

Retrieve your most recent flight leg by providing a flight number. Queries personal Flighty data to return matching legs.

Instructions

Get your most recent flight leg matching a flight number (e.g. "UA194").

Args: flight_no: The flight number (case- and space-insensitive).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flight_noYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Description states it's a retrieval operation ('Get'), implying no side effects. With no annotations, it carries full burden. It specifies 'most recent' but doesn't explain chronological ordering, error handling (e.g., no matching flight), or whether the tool requires authentication. Could add more detail on behavioral guarantees.

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?

One clear sentence plus concise parameter description. No fluff or repetition. Front-loaded with action and purpose.

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?

For a simple tool with one param and output schema, description covers what input is expected and what to get back ('most recent flight leg'). Minor gaps: doesn't specify whether 'most recent' is based on departure time or schedule, or if multiple legs exist per flight.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema provides no description (0% coverage). The description adds meaning: flight_no is case- and space-insensitive. This is valuable extra info beyond schema type. Single parameter fully described.

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 states a specific verb ('Get'), resource ('most recent flight leg'), and criterion (matching flight number). Example 'UA194' clarifies format. Distinguishes from siblings 'flight_stats' and 'list_my_flights' by implying a single recent leg lookup.

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 retrieving the most recent leg of a specific flight, but lacks explicit guidance on when to use this tool versus alternatives like 'list_my_flights' (for listing all flights) or 'flight_stats' (for statistics). No exclusions or prerequisites stated.

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