Skip to main content
Glama

resolve_airport

Resolve a free-text city or airport name to airport codes (e.g. 'london' → LHR, LGW, STN, LTN, LCY). Use before other tools when the user gives city names. airport_code is the 3-letter IATA airport code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool handles free-text input, returns multiple possible codes, and uses 3-letter IATA codes. However, it does not mention behavior for ambiguous queries, unrecognized input, or the exact return structure, leaving gaps for an agent relying solely on this text.

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?

The description is two concise sentences with a front-loaded purpose, an illustrative example, and a clear usage instruction. Every sentence contributes value without redundancy.

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 resolver with no annotations and no output schema, the description covers the core purpose, input semantics, output format (IATA codes), and when to use it. It could be more explicit about the exact response shape or error behavior, but the essential call-making information is present.

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?

The only parameter, 'query', has no schema description (0% coverage), so the description must compensate. It does so meaningfully by specifying that the query is a free-text city or airport name and by giving a concrete example. This is sufficient for a single simple parameter.

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?

The description states a specific action ('Resolve a free-text city or airport name to airport codes') with a concrete example ('london' → LHR, LGW, STN, LTN, LCY). It clearly distinguishes this from sibling tools by positioning it as a prerequisite step before other tools.

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?

The description explicitly says to use this tool 'before other tools when the user gives city names,' which gives clear context for when it applies. It does not name specific alternative tools or list exclusion cases, but the instruction is sufficiently directive for typical airport-query workflows.

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