Skip to main content
Glama

ScorpTech x402 Tools

Digital Root

digital_root
Read-onlyIdempotent

The digital root of a decimal integer. Zero stays zero, and any other magnitude is 1 + (n-1) mod 9, so multiples of 9 have root 9. The sign is ignored. A malformed integer is rejected. Returns JSON with: value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/digital-root

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": "digital_root"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses behavior the schema cannot: sign is ignored, malformed integers are rejected, and the call costs $0.001 USDC via x402 on Base or Solana, with an equivalent HTTPS endpoint given. Cost and payment path are exactly the kind of operational detail an agent needs before invoking.

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 core definition is front-loaded and the pricing/endpoint sentence is clearly separated; no sentence is filler. It is a single dense block rather than structured sections, which slightly reduces scannability but not the information density.

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?

With no output schema present, the description correctly supplies the return shape (JSON with 'value'), and it covers the access path (paid x402 plus free-of-framing HTTPS alternative) and input-validation behavior. Nothing an agent needs to call this 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 coverage is 0% and the single property 'n' has no description, so the description must carry the meaning; it does, clarifying that n is a decimal integer, that signs are permitted and ignored, and that malformed input is rejected. The absence of the accepted digit length (up to 200, visible only in the pattern) keeps it from a 5.

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 a specific mathematical operation with a precise formula: '1 + (n-1) mod 9' with zero handled specially. An agent knows exactly what it computes and can distinguish it from siblings like additive_persistence or least_primitive_root without inspecting any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The formula and edge-case rules make the domain of applicability explicit, so an agent can self-determine when this tool answers its question. However, there is no explicit when-not guidance or routing to related tools (e.g. multiplicative persistence), so it stops short of a 5.

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