Skip to main content
Glama

x402-miles-to-km

Miles To Km: Convert miles to km. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
milesNo
valueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / miles / description
      Removed value: -"Miles to process"
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / miles
      Added value: +{
      +  "description": "Miles to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / value
      Added value: +{
      +  "description": "Value to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add genuinely useful non-schema context — the tool is paid and requires a signed wallet, with 5 free trial calls — which is the kind of behavioral detail an agent needs. However, it says nothing about output format, rounding/precision, or how non-numeric input is handled.

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?

Two short sentences, front-loaded with the conversion statement, with no filler prose. The trial-call note is brief and carries real information, so almost every word earns its place.

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

Completeness2/5

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

For a trivial converter the bar is low, but with zero schema coverage and two ambiguous, mutually redundant parameters, the description should have clarified the expected input. It covers the payment model but leaves the actual call contract underspecified.

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 description coverage is 0% across two parameters, and the description does not mention either. Worse, the schema exposes both 'miles' and 'value' as optional strings with no indication of which one is the actual input or how they interact, and the description does not resolve that ambiguity.

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

Purpose3/5

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

The description gives a specific verb and direction of conversion (miles to km), which is correct and unambiguous, but it essentially restates the tool name verbatim and offers no differentiation from the many nearby conversion siblings such as x402-km-to-miles, x402-length, x402-distance, or x402-units-convert.

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 pick this over the reverse tool x402-km-to-miles or the generic x402-units-convert / x402-metric-imperial. The agent must infer usage from the name alone; no exclusions or alternatives are named.

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