Skip to main content
Glama

ScorpTech x402 Tools

Geo Distance

geo_distance
Read-onlyIdempotent

Geodesic distance and bearings on the WGS-84 ellipsoid: Vincenty (millimetre accuracy) plus great-circle haversine, initial / final bearing with 16-point compass, midpoint, multi-point path length with per-segment legs, and the destination point from a start, bearing and distance. Units km, m, mi, nautical miles or feet. Offline, deterministic. Returns JSON with: units, distance, greatCircle, method, initialBearing, finalBearing, compass, midpoint. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/geo-distance

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
toNoEnd "lat,lon"
fromNoStart "lat,lon" (decimal degrees)
unitsNokm
pointsNoPath: list of "lat,lon" (total length + legs)
bearingNoWith from + distance: destination mode
distanceNoDistance to travel in the chosen units (destination mode)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, but the description adds substantial context: WGS-84, Vincenty millimetre accuracy, haversine fallback, offline deterministic operation, unit options, returned JSON fields, and pricing/transport details.

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 description is a dense single paragraph but front-loads the core capability and then layers units, behavior, output fields, and pricing. The pricing and HTTPS detail is relevant for a paid x402 tool, though the paragraph could be split for easier scanning.

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 multi-mode geometry tool with no output schema, the description gives enough context to invoke it correctly: modes, units, accuracy, determinism, and return fields are all explained. The remaining gap is explicit guidance on valid parameter combinations.

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

Parameters4/5

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

Schema coverage is high at 83%, so the schema carries most parameter documentation. The description still adds useful meaning by stating that points yields total length plus per-segment legs and that from+bearing+distance selects destination mode, though it leaves exact mutual-exclusion rules implicit.

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 names the exact computations and resource: geodesic distance and bearings on the WGS-84 ellipsoid, with Vincenty/haversine, midpoint, path length, and destination-point modes. An agent can immediately tell this is a geometry calculator rather than a search or polygon tool.

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?

It describes the supported modes (from/to, points path, and bearing+distance destination), which implies usage. However, it does not explicitly state when to choose one mode over another or which parameter combinations are mutually exclusive.

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