Skip to main content
Glama
saikandikatta

cheapflights-mcp

Search Airports

find_airports
Read-onlyIdempotent

Find airport IATA codes by entering a city name, airport name, or code to prepare for flight searches.

Instructions

Search for airports by city name, airport name, or IATA code.

Use this tool to find airport IATA codes before searching for flights. Supports city names (e.g., "new york" returns JFK, LGA, EWR), airport names (e.g., "heathrow" returns LHR), and IATA codes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesCity name, airport name, or IATA code (e.g., 'new york', 'heathrow', 'JFK')
limitNoMaximum results to return

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already indicate readOnlyHint and idempotentHint, confirming safe read operation. Description adds behavioral context by explaining supported query types and providing examples, without contradicting annotations.

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?

Three concise sentences: purpose, usage guidance, and examples. Every sentence adds distinct value with no redundancy.

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?

Input schema fully described, output schema exists, annotations cover safety. Description covers all user-facing aspects including query types and use case, making it complete for a simple lookup tool.

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 descriptions for both parameters. Description adds value by offering examples for 'query' (e.g., 'new york', 'heathrow', 'JFK') and clarifying search functionality beyond schema descriptions.

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?

Description clearly states 'Search for airports' and specifies three distinct input types (city name, airport name, IATA code). Differentiates from sibling tools search_dates and search_flights by focusing on airport lookup for flight context.

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?

Explicitly advises using this tool before searching for flights to find IATA codes. Provides clear usage context but does not include when-not or alternative scenarios.

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/saikandikatta/cheapflights-mcp'

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