Skip to main content
Glama

Cuelark Data

Nearest airports

airports_nearest
Read-onlyIdempotent

Airports with an IATA code or scheduled service nearest a latitude/longitude, with distance and direction.

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "airports_nearest"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes
lonYes
limitNo
radius_kmNo
scheduled_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely non-structured behavior: the result set is restricted to airports with an IATA code or scheduled service (excluding small unattended airfields), and each result carries distance and direction — important since there is no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One dense sentence with zero padding, and the key scoping constraint (IATA-coded or scheduled-service airports, nearest first) is front-loaded. It is slightly telegraphic — a fragment rather than a sentence — but no wording is wasted.

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

Completeness2/5

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

For a five-parameter spatial search with 0% schema coverage and no output schema, the description leaves out too much: default radius, default and maximum result count behavior, ordering, and empty-result handling are all unstated. The annotations compensate only for the safety profile, not for the query semantics an agent needs to call this correctly.

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 description coverage is 0% across five parameters, so the description carries the full burden and largely fails: lat/lon are only alluded to, and limit, radius_km, and scheduled_only are never named. The phrase 'scheduled service' gestures at the scheduled_only filter but never explains its semantics or default, and there is no mention of what radius_km defaults to or whether results are ordered by distance.

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 names a specific resource (airports) and a specific spatial operation (nearest a latitude/longitude), which separates it from lookup/search siblings that take a name or code rather than coordinates. It is a noun phrase rather than a verb-led statement, and it never names the sibling it differs from, so differentiation is inferred rather than stated.

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: an agent can infer this is the tool for coordinate-based queries, but nothing states when to prefer it over airport_lookup, airport_search, or a generic search. There are no stated preconditions (e.g., what happens outside a valid lat/lon range) and no exclusions.

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