Skip to main content
Glama

Status Lark

Airport lookup

airport_search
Read-only

Resolves a city, airport name or partial code to IATA airport codes (up to eight matches).

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": "airport_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds one genuinely useful behavioral fact beyond that: results are capped at eight matches, signaling that ambiguous queries fan out and the agent should expect to disambiguate. It does not say how matches are ordered or what a zero-match response looks like.

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 sentence that front-loads the verb and packs input forms, output type, and the result cap with no filler. Nothing could be removed without losing 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 one-parameter lookup with no output schema, the description plus annotations cover what an agent needs to call it: what to pass, what comes back, and that the read is safe and open-world. The only gap is disambiguation behavior on zero or multiple matches, which is minor for a resolver.

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 description coverage is 0% for the single `query` parameter, so the description must carry the semantics, and it does: the parameter accepts a city name, an airport name, or a partial code. That is meaningful expansion over a bare `string` with minLength 2 and maxLength 50, though it does not clarify case sensitivity or whether raw IATA codes are also valid input.

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?

"Resolves a city, airport name or partial code to IATA airport codes" gives a specific verb plus both the accepted input forms and the output type, so the agent knows exactly what comes back. It stops short of a 5 only because no sibling differentiation is offered, though the listed siblings (compare_itineraries, tier_run, etc.) do not appear to compete with a lookup utility.

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 implied by the input forms named (city, airport name, partial code), which tells the agent this is a resolution step to run before tools that need IATA codes. There is no explicit when-to-use statement, no guidance on what to do when zero or many matches return, and no named alternative.

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