Skip to main content
Glama

ScorpTech x402 Tools

Wedderburn Mod

wedderburn_mod
Read-onlyIdempotent

a(n) mod m for the Wedderburn-Etherington numbers. The modulus is a positive decimal integer, and zero is rejected. n runs from 1 to 80. The residue is smaller than the modulus. Returns JSON with: n, mod, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/wedderburn-mod

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>",
      "mod": "<mod>"
    },
    "name": "wedderburn_mod"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes
modYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the safety bar is low. The description still adds real context: that zero is rejected as a modulus, that the residue is strictly less than the modulus, the exact JSON fields returned, the per-call price, and an alternative HTTPS endpoint. Error behavior for other invalid inputs is not spelled out.

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 text is dense and front-loaded: computation, then modulus and n constraints, then return shape, then commercial/transport details. Every sentence carries information, though the price and endpoint sentence is operational metadata rather than tool semantics.

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

Completeness4/5

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

With no output schema, the description usefully enumerates the returned JSON keys (n, mod, value), and it covers both required parameters plus an alternative access path. It is nearly complete for a simple two-parameter arithmetic tool; only the large-modulus length allowance and non-zero-mod failure behavior are left implicit.

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 parameter burden and largely does: it explains that the modulus is a positive decimal integer with zero rejected (a constraint the pattern ^[0-9]{1,600}$ alone would not convey) and that n is bounded 1–80. The 600-digit length allowance is only visible in the schema, so it is not fully compensated.

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 opening sentence names a specific computation — 'a(n) mod m for the Wedderburn-Etherington numbers' — which is a clear verb+resource and distinct from a sibling like a plain sequence generator. It stops short of explicitly differentiating itself from the other wedderburn_* siblings (index, split, sum), so the reader must infer the distinction.

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?

Usage conditions are implied: the tool is for residues of Wedderburn-Etherington numbers with n up to 80 and a nonzero modulus. There is no explicit 'use this instead of X when...' guidance or exclusion criteria, so an agent choosing between wedderburn_mod and wedderburn/wedderburn_index gets no routing help from the description.

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