Skip to main content
Glama
CPLX

Flighty MCP Server

by CPLX

Search Flights

flighty_search_flights
Read-onlyIdempotent

Find flights in your history by filtering on airline, departure/arrival airports, or date range.

Instructions

Search the user's flight history by airline, departure/arrival airports, or date range. All filters are optional and combine with AND logic.

Results sorted by departure date descending (most recent first). All timestamps are UTC.

Airport filters match by IATA code (exact, case-insensitive) OR by city name (partial, case-insensitive). Airline filter matches by IATA code (exact) OR airline name (partial).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
airlineNoAirline IATA code (e.g. "UA") or partial name (e.g. "United")
departure_airportNoDeparture airport IATA code (e.g. "SFO") or city (e.g. "San Francisco")
arrival_airportNoArrival airport IATA code (e.g. "LHR") or city (e.g. "London")
afterNoOnly flights departing on or after this date (e.g. "2025-01-01")
beforeNoOnly flights departing on or before this date (e.g. "2025-12-31")
limitNoMaximum results
Behavior5/5

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

Beyond annotations (readOnlyHint, destructiveHint, idempotentHint), the description adds valuable behavioral details: results sorted by departure date descending, timestamps in UTC, and matching logic for airports and airlines (IATA code vs. partial name, case-insensitivity).

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 very concise, with three short paragraphs. Each sentence adds value, and the most important information (purpose) is front-loaded. No unnecessary words.

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?

Given six optional parameters and no output schema, the description covers search behavior, sorting, timezone, and matching logic. It could briefly mention the return type (e.g., list of flights with key fields), but overall it is sufficient for an agent to use correctly.

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 100% with good descriptions, but the description adds extra semantic detail about how filters match (e.g., airport filters match IATA code exact or city name partial, airline matches IATA exact or airline name partial). This justifies above the baseline of 3.

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 uses a specific verb-resource combination ('Search the user's flight history') and distinguishes from sibling tools by noting the search and filter capabilities, which set it apart from listing or individual flight retrieval tools.

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?

The description states that all filters are optional and combine with AND logic, providing clear context. However, it does not explicitly mention when to avoid this tool in favor of siblings (e.g., for a single flight, use get_flight).

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