Skip to main content
Glama

Search airports

search_airports
Read-onlyIdempotent

Search airports by ident, name, city and state, or nearby lat and lon. Use get_airport when you already have an ident. Use list_atis_airports for coverage only.

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
qNoFree-text airport search. Example: San Francisco
latNoLatitude in decimal degrees. Example: 37.6189
lonNoLongitude in decimal degrees. Example: -122.375
cityNoCity. Example: San Francisco
icaoNoAirport ICAO ident. Example: KSFO
nameNoAirport name. Example: San Francisco International
limitNoMax results, default 25, max 100. Example: 25
stateNoState code. Example: CA
radius_nmNoSearch radius in nautical miles. Example: 20
faa_loc_idNoFAA location id. Example: SFO

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed20 schema fields changed
    • changedInput schema / properties / city / description
      Previous value: -"City"New value: +"City. Example: San Francisco"
    • addedInput schema / properties / city / examples
      Added value: +[
      +  "San Francisco"
      +]
    • changedInput schema / properties / faa_loc_id / description
      Previous value: -"FAA location id, such as SFO"New value: +"FAA location id. Example: SFO"
    • addedInput schema / properties / faa_loc_id / examples
      Added value: +[
      +  "SFO"
      +]
    • changedInput schema / properties / icao / description
      Previous value: -"Airport ICAO ident, such as KSFO"New value: +"Airport ICAO ident. Example: KSFO"
    • addedInput schema / properties / icao / examples
      Added value: +[
      +  "KSFO"
      +]
    • changedInput schema / properties / lat / description
      Previous value: -"Latitude in decimal degrees"New value: +"Latitude in decimal degrees. Example: 37.6189"
    • addedInput schema / properties / lat / examples
      Added value: +[
      +  37.6189
      +]
    • changedInput schema / properties / limit / description
      Previous value: -"Max results, default 25, max 100"New value: +"Max results, default 25, max 100. Example: 25"
    • addedInput schema / properties / limit / examples
      Added value: +[
      +  25
      +]
    • changedInput schema / properties / lon / description
      Previous value: -"Longitude in decimal degrees"New value: +"Longitude in decimal degrees. Example: -122.375"
    • addedInput schema / properties / lon / examples
      Added value: +[
      +  -122.375
      +]
    • changedInput schema / properties / name / description
      Previous value: -"Airport name"New value: +"Airport name. Example: San Francisco International"
    • addedInput schema / properties / name / examples
      Added value: +[
      +  "San Francisco International"
      +]
    • changedInput schema / properties / q / description
      Previous value: -"Free-text airport search"New value: +"Free-text airport search. Example: San Francisco"
    • addedInput schema / properties / q / examples
      Added value: +[
      +  "San Francisco"
      +]
    • changedInput schema / properties / radius_nm / description
      Previous value: -"Search radius in nautical miles"New value: +"Search radius in nautical miles. Example: 20"
    • addedInput schema / properties / radius_nm / examples
      Added value: +[
      +  20
      +]
    • changedInput schema / properties / state / description
      Previous value: -"State code"New value: +"State code. Example: CA"
    • addedInput schema / properties / state / examples
      Added value: +[
      +  "CA"
      +]
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the description only needs to add context. It adds nothing about result ordering, whether facets combine as AND, or what happens when lat/lon is supplied without radius_nm — all behaviorally relevant for a search tool.

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 short sentences, zero filler, and the primary capability is front-loaded ahead of the sibling routing. Every sentence carries distinct information.

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 10-parameter, zero-required discovery tool with no output schema, the description covers what to search by and which siblings to prefer instead. The remaining gap is result behavior (ordering, relevance, default limits) which the schema only partially covers via the limit field.

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 100%, so every parameter already carries an example and meaning; baseline 3 applies. The description restates the facet list but does not clarify how the 10 optional filters interact or which combinations are meaningful (e.g. lat/lon plus radius_nm).

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?

States a specific verb and resource plus the exact search facets (ident, name, city/state, lat/lon), which lets an agent distinguish it from the get_* siblings without opening the schema. The two routing sentences name the alternatives it is not.

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 routes the agent: use get_airport when an ident is already known, and list_atis_airports for coverage-only questions. There is a minor tension in that 'ident' is listed as a searchable facet while the guidance says not to use this tool when you have one, but the intent (discovery vs. lookup) is clear.

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