Skip to main content
Glama

Cuelark Data

Flight distance

flight_distance
Read-onlyIdempotent

Great-circle distance (km, miles, nautical miles), initial heading and a rough flight time between two airports.

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

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorldHint=false, so safety is covered. The description adds genuinely new behavioral context by disclosing the return payload (three unit systems, initial heading) and flagging that the flight time is 'rough' — i.e. an approximation, not a schedule. It does not explain what input identifiers are accepted against a closed dataset, which is the main remaining behavioral unknown.

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?

One sentence, front-loaded with the core computation, with the returned metrics in a compact parenthetical. No filler or restatement of the title.

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

Completeness3/5

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

With no output schema, the description does the right thing by naming the returned values and units, so the return side is adequately covered. The input side is not: for a tool that requires two airport identifiers, the absence of any format or resolution guidance leaves a real gap in callability.

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 coverage is 0% and neither 'from' nor 'to' carries any description. The single phrase 'between two airports' only weakly binds the parameters to airports; the accepted format (IATA/ICAO code, airport name, city) is never stated, which is the critical ambiguity for a two-required-parameter tool with zero schema documentation.

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 the specific computation (great-circle distance) plus the resource (two airports) and even enumerates the returned metrics, so it is clearly distinguishable from lookup tools like airport_lookup or airports_nearest. It stops short of a verb like 'compute', but the purpose is unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus the sibling airport tools, no prerequisite that both airports must first be resolved, and no statement about what happens with unknown or ambiguous airport identifiers. The agent must infer the entire usage context.

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