Skip to main content
Glama

hub_airport

Read-only

Read one airport file from AirportMiles: identity, coordinates, and up to eight published routes. The airport file is CC0; fields covered by another source keep that source's license. There are no live flights. Does not spend points and does not accept a URL. If you supply fields, the hub returns privacy_consent_required until the controller has accepted the current privacy version. Do not invent that acceptance.

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": {
      "code": "<code>"
    },
    "name": "hub_airport"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds real behavioral context on top of that, namely the CC0 licensing of the airport file, per-source licensing for covered fields, that no points are spent, and the privacy_consent_required error path. The consent sentence is somewhat confusing because 'if you supply fields' does not map cleanly onto a schema with a single required `code`, which keeps this from being a 5.

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?

The definition leads with what the tool returns and follows with constraints in short, declarative sentences. The privacy-consent sentence is the weakest part, both for its length and for its unclear reference to 'fields'.

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, read-only tool with no output schema, the description covers the return contents, licensing, cost, and the main failure mode. The only meaningful gap is the meaning and format of the `code` argument.

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%, so the description is responsible for explaining the one parameter, and it says nothing about `code` at all. The schema's pattern '^[A-Z]{3}$' hints at a three-letter code, but the description never confirms whether this is IATA or ICAO or gives an example.

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 and resource ('Read one airport file from AirportMiles') and enumerates what comes back: identity, coordinates, and up to eight published routes. It never names a sibling, so an agent must infer that hub_geocode or hub_wikidata are the alternatives, which keeps it below a 5.

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?

The negative scoping is clear: no live flights, no URL input, no point spend. But there is no positive 'use this when...' guidance and no routing to or away from sibling hubs, so the agent has to infer the selection criteria itself.

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.