Skip to main content
Glama

LuftFly Travel & Airport Data

Search airports

search_airports
Read-onlyIdempotent

Find airports by city name (nearest airports to a city), by coordinates, or by name/code text. Returns IATA/ICAO codes, names and distances. Use this first when the user names a city or place instead of an airport code.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_airports"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNo
lonNo
cityNoCity name, e.g. Paris. Returns the nearest airports with scheduled service.
limitNoDefault 10, max 25.
queryNoAirport name or code text, e.g. heathrow.
countryNoISO 3166-1 alpha-2 code to disambiguate (e.g. FR).
languageNoOptional language for names (adds localized_name where available).
radius_kmNoSearch radius, default 100 (max 500).
scheduled_onlyNoOnly airports with scheduled passenger service (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive behavior, so the safety profile needs no restating. The description adds the returned field set, which matters because there is no output schema, but it omits anything about result ordering, the default behavior of scheduled_only, or what happens with conflicting or missing location inputs.

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?

Two sentences, zero filler, with the search modes up front and the routing advice placed where an agent will read it before choosing. Nothing is redundant with the title.

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 9-parameter search tool with full annotation coverage, the description covers mode selection and return fields adequately, and the schema documents defaults for limit, radius_km and scheduled_only. The remaining gap is the behavior when parameters are combined or when none are given, which an agent cannot infer from the schema alone.

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

Parameters3/5

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

Schema description coverage is 78%, so the schema carries most parameter meaning. The description adds modest value by framing 'city' as a nearest-airports lookup and pairing 'coordinates' with lat/lon, plus 'name/code text' for query, but says nothing about how the mode parameters interact or which wins when several are supplied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource plus the three lookup modes (city name, coordinates, name/code text) and the return contents (IATA/ICAO codes, names, distances). It does not name a sibling such as airport_overview, though the phrase 'instead of an airport code' gestures at the code-based tools without confirming the boundary.

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?

'Use this first when the user names a city or place instead of an airport code' gives a clear triggering condition and implicitly contrasts with code-driven siblings. It stops short of explicit when-not-to-use cases (e.g., when the code is already known, or when the airport must be resolved before weather/overview calls).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources