Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-geo-distance

Geo Distance: Distance between geo. 🆓 5 free trial calls per signed wallet

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": {
      "lat1": "<lat1>",
      "lat2": "<lat2>",
      "lon1": "<lon1>",
      "lon2": "<lon2>"
    },
    "name": "x402-geo-distance"
  }
}

Input Schema

NameRequiredDescriptionDefault
lat1Yes
lat2Yes
lon1Yes
lon2Yes
toLatNo
toLonNo
fromLatNo
fromLonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "lat1",
      +  "lat2",
      +  "lon1",
      +  "lon2"
      +]
  2. Changed8 schema fields changed
    • removedInput schema / properties / fromLat / description
      Removed value: -"FromLat to process"
    • removedInput schema / properties / fromLon / description
      Removed value: -"FromLon to process"
    • removedInput schema / properties / lat1 / description
      Removed value: -"Lat1 to process"
    • removedInput schema / properties / lat2 / description
      Removed value: -"Lat2 to process"
    • removedInput schema / properties / lon1 / description
      Removed value: -"Lon1 to process"
    • removedInput schema / properties / lon2 / description
      Removed value: -"Lon2 to process"
    • removedInput schema / properties / toLat / description
      Removed value: -"ToLat to process"
    • removedInput schema / properties / toLon / description
      Removed value: -"ToLon to process"
  3. First observed

TDQS

D1.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden and largely fails it: it does not state the distance formula, output units, coordinate format (the schema declares strings but the description never says decimal degrees), or whether the operation is a free read or a paid call beyond the trial note. The trial/wallet note does disclose a small piece of auth/billing context, which is the only behavioral value present. Nothing indicates what happens after the 5 free calls are exhausted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loaded with the tool name, with no padding sentences. However, its brevity is under-specification rather than efficiency, and one of the two sentences is a promotional trial note that crowds out needed information about inputs and units.

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

Completeness1/5

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

With 8 parameters (two conflicting coordinate pairs), zero schema description coverage, no annotations, and no output schema, the description needed to explain coordinate format, which parameter pair applies, units, and return type. It addresses none of these, leaving an agent unable to call the tool reliably. The complexity-to-description ratio is severely mismatched.

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

Parameters1/5

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

Schema description coverage is 0% across 8 parameters, and the description supplies no parameter meaning whatsoever. Worse, the schema contains two overlapping sets of coordinates (lat1/lat2/lon1/lon2 required, plus optional toLat/toLon/fromLat/fromLon), and the description does nothing to explain which pair is used, whether they are alternatives, or which takes precedence. This ambiguity directly risks incorrect invocation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Geo Distance: Distance between geo" essentially restates the tool name (x402-geo-distance) without specifying what kind of distance is computed (great-circle vs. projected), what units are returned, or what inputs are expected. The phrase "Distance between geo" is not grammatical English and adds no information beyond the name. There is no differentiation from siblings such as x402-distance, x402-manhattan-distance, or x402-chebyshev-distance.

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?

The description gives no guidance on when to choose this tool over the many distance-related siblings, nor any prerequisites for the lat/lon inputs. The only extra sentence, "🆓 5 free trial calls per signed wallet," is a pricing/onboarding note, not a usage condition. An agent has no stated criteria for selecting this tool versus x402-distance.

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.