Skip to main content
Glama

mechacut

geo_distance

Great-circle distance (haversine, published mean radius): point-to-point km/miles, or an ORDERED route summed leg by leg. Agents average coordinates in prose and drift 3 digits; this matches the published Paris-London 343.5 km. Free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "geo_distance"
  }
}

Input Schema

NameRequiredDescriptionDefault
aNo
bNo
routeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description has to carry the full behavioral burden. It usefully discloses the algorithm (haversine, published mean radius), the units, an accuracy calibration (Paris-London 343.5 km), that route legs are summed in order, and that the call is free — but says nothing about error handling, output shape, or how the a/b points must be structured.

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?

Dense and front-loaded: mode, method, units, and accuracy claim arrive in the first sentence, with the differentiator in the second. The telegraphic 'Free.' fragment is slightly clipped but costs almost nothing.

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?

For a tool with no annotations, no output schema, and an entirely undocumented schema, the description covers the conceptual model but leaves gaps an agent must guess: coordinate field names, unit selection, and validation of the all-optional parameter combination.

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% over three params, two of them nested objects, so the description must compensate. It clarifies that route is an ordered list whose legs are summed, but never explains what fields the a and b objects require (lat/lng? strings?), nor whether a+b and route are mutually exclusive given zero required parameters. It also advertises km/miles without a parameter for choosing between them.

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?

Specific verb and resource: computes great-circle (haversine) distance for a point pair or an ordered route, with units stated. It is clearly distinguishable from siblings like geo_geohash or address_parse, though it never names an alternative or states what it is not.

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 line about agents averaging coordinates in prose and drifting three digits implies when this tool should be preferred over in-prompt arithmetic, and the point-pair vs ordered-route split hints at two modes of use. There is no explicit when-not guidance or prerequisite, so usage is only implied.

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.