Skip to main content
Glama

ScorpTech x402 Tools

Reverse Add

reverse_add
Read-onlyIdempotent

n plus its digit reversal. 10 gives 11, 19 gives 110, and 121 gives 242. A trailing zero reverses as a leading zero and does not change the value. n runs from 0 to 10000. Returns JSON with: n, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/reverse-add

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": {
      "n": "<n>"
    },
    "name": "reverse_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and openWorld, so the description doesn't need to restate safety. It instead adds genuinely new behavior: the trailing-zero reversal rule ('reverses as a leading zero and does not change the value'), the input domain boundary, the response fields (n, value), the cost model ($0.001 USDC per successful call via x402 on Base or Solana), and an equivalent HTTPS endpoint.

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?

Front-loaded with the core definition and examples, then constraints, return shape, and pricing — a sensible ordering with no filler. It is dense but each clause (edge case, range, price, endpoint) carries distinct information, so little could be cut without loss.

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

Completeness5/5

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

For a simple pure-function tool with one parameter and no output schema, the description supplies everything needed: semantics, worked examples, valid domain, edge-case behavior, response fields, cost, and an alternate transport. Nothing an agent would need in order to call it correctly is missing.

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 description coverage is 0%, so the description must carry the burden, and it does: it explains what n participates in (added to its digit reversal), gives examples of the transformation, and states the 0–10000 domain plus the trailing-zero special case. Only the 'value' output type is left implicit, which is minor for a single-parameter tool.

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 defines the operation concretely ('n plus its digit reversal') and backs it with three worked examples (10→11, 19→110, 121→242), so an agent can immediately tell it computes an integer transform rather than a DNS or bit operation like the sibling names suggest. It lacks an explicit verb like 'compute', but the resource and result are unambiguous.

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 statement of when to choose this over related tools (bit_reverse, poly_add, additive_persistence, etc.), nor any prerequisites or exclusion conditions. The range constraint (0–10000) implicitly limits applicability, but the agent must infer that the tool is a pure arithmetic helper.

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