Skip to main content
Glama
viajante

viajante

Look up airports

lookup_airports
Read-onlyIdempotent

Find airports by city name or IATA code, returning the matching airport or every airport in a metro area, with an optional row limit.

Instructions

Offline. query is a city name or an IATA code (JFK, LHR, NRT, GRU, SIN). A three-letter code returns that airport, or every airport in a metro code. limit caps the rows (default 20). The result is a list, not the search envelope. It may run while a search is in progress.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.5.2
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • removedInput schema / properties / query / title
      Removed value: -"Query"
    • removedInput schema / title
      Removed value: -"lookup_airportsArguments"
  2. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world behavior, so the description adds genuine value on top: no network dependency, concurrency safety during searches, and the fact that a three-letter code may expand to all airports in a metro code. Return-shape guidance is present but field-level detail is not.

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?

Four short sentences, the key offline constraint front-loaded first, then parameter semantics, then return shape. No filler and nothing repeated from the schema or annotations.

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 two-parameter lookup with no output schema, the description covers input semantics, return shape (a plain list) and concurrency behavior adequately. Only minor gaps remain, such as what a nonexistent code returns and whether results are sorted or paginated.

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 coverage is 0%, so the description must carry the parameters, and it does: query is defined as a city name or IATA code with concrete examples, and limit is described as a row cap with its default of 20. Edge details such as case handling or city-name matching are left unstated.

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 a distinguishing property: it resolves city names or IATA codes to airports entirely offline. The line "The result is a list, not the search envelope" separates it from the search_* siblings that return wrapped results.

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?

Makes clear this is the offline resolution path and that it is safe to run concurrently with a search in progress, which tells an agent when it can be used. It stops short of naming an alternative or an explicit when-not condition.

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