Skip to main content
Glama
PythonicMind2

flight-search-mcp

search_flights

Find real-time flights by origin, destination, airline, or status. Get current flight data filtered to your needs without prices or future schedules.

Instructions

Search current/live flights, optionally filtered by route, airline, or status.

IMPORTANT: this returns CURRENT and near-term real-time flights only — it cannot search a future travel date (e.g. "flights on Sept 20th") or historical flights, and it does not include prices. For a specific flight's status, use get_flight_status instead.

Args: origin: Optional 3-letter IATA departure airport code (e.g. "JFK"). destination: Optional 3-letter IATA arrival airport code (e.g. "LHR"). airline_name: Optional airline name to filter by (e.g. "American Airlines"). flight_status: Optional status filter: scheduled, active, landed, cancelled, incident, or diverted. max_results: Max number of results to return (1-100, default 10).

Provide at least one filter (origin, destination, or airline_name) — an unfiltered call returns an arbitrary global sample and burns quota fast.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
originNo
destinationNo
max_resultsNo
airline_nameNo
flight_statusNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A5/5.0
Behavior5/5

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

With no annotations provided, the description fully bears the transparency burden. It declares that only current/near-term real-time flights are returned, excludes future/historical flights and prices, and warns about unfiltered calls. This sufficiently discloses the tool's behavioral constraints.

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 front-loaded with the core purpose, followed by key caveats in a clear 'IMPORTANT' block, then a structured 'Args' list. Every sentence adds value, with no unnecessary words. The organization aids quick comprehension.

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?

Given 5 parameters, no output schema, and no annotations, the description covers scope, limitations, parameter details, usage best practices, and sibling alternatives. It leaves no critical gaps for an agent to misuse the tool.

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 coverage is 0%, so the description must and does compensate by explaining each parameter: origin/destination as 3-letter IATA codes, max_results range/default, airline_name as optional name, and flight_status with enumerated allowed values. The filter requirement is also clarified.

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 'Search current/live flights' and specifies filtering by route, airline, or status. It explicitly differentiates from sibling 'get_flight_status' by noting the scope and directing specific status queries to that tool.

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?

The description provides explicit when-to-use (current/near-term real-time flights), when-not-to-use (future dates, historical, prices), and recommends the alternative 'get_flight_status' for specific flight status. It also advises providing at least one filter to avoid quota waste.

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

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/PythonicMind2/flight-search-mcp'

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