Skip to main content
Glama

search_airports

Resolve a city or airport name into IATA 3-letter airport codes (free, 0 Flight Units).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
queryYesCity or airport query, e.g. London or Tokyo
localeNoen-US

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose one genuinely useful behavioral fact: the call is free (0 Flight Units), which matters for a cost-sensitive agent. It says nothing about what happens with ambiguous queries (multiple matches), how many results come back, or whether the call is read-only/cached, leaving meaningful gaps for an unannotated 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?

A single front-loaded sentence with zero filler; the output format and cost note are packed in without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter lookup with no annotations and no output schema, the description covers the essential contract (input type, output format, cost) but omits result-cardinality/ambiguity handling and the meaning of 'locale'. It is adequate to attempt a call but not to predict its response shape.

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

Parameters2/5

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

Schema coverage is only 50%: 'query' is documented in the schema, while 'locale' has no description anywhere. The description merely restates the schema ('city or airport name') and adds no format, matching behavior, or locale semantics, so it does not compensate for the undocumented parameter.

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?

The description uses a specific verb ('Resolve') plus both the input resource ('a city or airport name') and the output ('IATA 3-letter airport codes'), so an agent knows exactly what the tool produces. It is implicitly distinct from the search_flights/search_fare_calendar siblings (a lookup, not a flight search), but no sibling is named to make that distinction explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the mention of resolving city names into IATA codes suggests this is the prerequisite step before a flight search that needs airport codes, but the description never states when to call it, when not to, or which sibling to use instead. No prerequisites or exclusion conditions are given.

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