Skip to main content
Glama

Semver parse/compare (paid: 0.001 RLUSD / 0.001 USDC on Base / 0.001 RLUSD on Base via x402)

semver_compare
Read-only

Paid: 0.001 RLUSD per call via x402 on XRPL mainnet (xrpl:0), or 0.001 USDC on Base (eip155:8453). Pay per call, solves one question: Parse or compare Semantic Versioning 2.0 strings. Without payment this returns isError with the x402 PaymentRequired object (fresh invoiceId); retry with the signed payload in _meta["x402/payment"] or the payment_signature argument. Unpaid calls cost nothing.

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": {
      "a": "<a>"
    },
    "name": "semver_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
bNo
opNo
payment_signatureNoOptional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD or USDC PaymentPayload) for hosts that cannot set _meta["x402/payment"]. Omit on the first call to receive the payment requirements.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior4/5

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

The description goes well beyond the annotations: it discloses the cost, the two payment rails, exactly what an unpaid call returns (isError plus a PaymentRequired object with a fresh invoiceId), how to retry, and that unpaid calls are free. That is meaningful runtime context. It stops short of describing the result shape for successful parse/compare calls or any rate limits.

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 payment paragraph is necessary and reasonably tight, but it occupies the majority of the text while the actual operation gets one clause. An agent scanning the first sentence learns the price before it learns the function; front-loading the verb would fix this without adding length.

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?

The monetary/payment side is thoroughly covered, but for a 4-parameter tool with no output schema and a bare schema, the description leaves the agent unable to construct a compare call because `op` values are undefined and the roles of `a` vs `b` are unstated. That is a blocking gap for the tool's primary use case.

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 only 25% — only payment_signature is documented in the schema. The critical `op` parameter (which determines parse vs. compare and which comparison direction) is completely unexplained in both schema and description, as are `a` and `b`. With low coverage the description was obliged to compensate and does not.

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 a specific verb+resource pair: "Parse or compare Semantic Versioning 2.0 strings," which is unmistakable and clearly distinct from every sibling (currency_code, uuid_mint, etc.). It loses a point because the actual purpose is buried mid-sentence after a long payment preamble rather than front-loaded.

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 frames the tool around "solves one question" and gives a clear protocol for the payment handshake (omit signature first, retry with payload), which is genuinely useful usage guidance. However, it never explains when to use the parse mode versus the compare mode, or what happens when b/op are omitted.

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