Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

airport_distance

Read-onlyIdempotent

Calculate the great-circle distance between two airports by code or coordinates, returning kilometers, nautical miles, statute miles, bearings and midpoint.

Instructions

skypeek: Calculate the great-circle distance between two airports or points. For airport details use lookup_airport. Returns the great-circle distance between two airports (by code) or coordinates, in km, nautical miles and statute miles, with the initial and final true bearings and the midpoint. Informational only: not for flight planning or navigation. A spherical (haversine) distance, within about 0.5 % of the WGS-84 geodesic. Airports: OurAirports (public domain); the data may contain errors and no endorsement is implied. An unknown code is a 422 unknown_airport (not charged). Typically under 0.1 s. Price: USD 0.001. Free: 5 skypeek calls per IP per UTC day. Docs: https://tanod.dev/learn/airport-lookup-flight-distance-api.html

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "airport_distance"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesAirport code (ICAO, IATA or ident) or {lat, lon}.
fromYesAirport code (ICAO, IATA or ident) or {lat, lon}.

Output Schema

NameRequiredDescriptionDefault
toNo
fromNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
methodNo
sourceNo
midpointNo
disclaimerNo
distance_kmNo
distance_miNo
distance_nmNo
final_bearing_degNo
initial_bearing_degNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld/harmless, and the description adds substantial context beyond them: accuracy envelope (~0.5% of WGS-84), data provenance (OurAirports, may contain errors, no endorsement), error behavior (422 unknown_airport, not charged), latency (<0.1 s), price and free-tier quota. This is the kind of disclosure an agent needs to reason about cost and failure modes before calling.

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?

It is front-loaded — purpose, sibling routing, and return shape come first, with pricing and provenance trailing. There is mild redundancy in restating "great-circle distance between two airports" across the first two sentences, but the remaining clauses each carry distinct operational information.

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

Completeness5/5

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

An output schema exists, yet the description still names the returned fields (km/nautical/statute miles, initial and final bearings, midpoint), so return behavior is unambiguous. Combined with error codes, latency, cost, and accuracy caveats, nothing an agent needs to call and interpret this tool correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and both parameters already document the accepted forms ("Airport code (ICAO, IATA or ident) or {lat, lon}"), including lat/lon bounds. The description repeats "by code or coordinates" but adds no format details, tie-breaking rules for ambiguous codes, or mixing rules beyond the schema, so baseline 3 applies.

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 opens with a specific verb and resource ("Calculate the great-circle distance between two airports or points") and immediately names the sibling to use for the adjacent need ("For airport details use lookup_airport"), so an agent can separate distance computation from airport lookup without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides both a positive route to the correct alternative ("For airport details use lookup_airport") and an explicit scope exclusion ("Informational only: not for flight planning or navigation"), which is exactly the when-not guidance an agent needs to avoid misapplying the result.

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

Deploy Server

Other Tools