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. Price: $0.001 USDC per successful call (x402, 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.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context: payment cost via x402/Solana, the HTTPS endpoint, zero-rejection behavior, and the residue being smaller than the modulus. It does not describe error responses or rate limits, so it is not fully comprehensive.

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 description front-loads the operation and then compactly states constraints, output bound, price, and endpoint. The sentences are short and largely purposeful, though the pricing and HTTPS endpoint add operational rather than mathematical detail.

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?

For a simple two-parameter mathematical tool with no output schema, the description defines the computation, valid n range, modulus restrictions, output bound, and payment endpoint. It leaves some error-case behavior to schema enforcement but provides enough information for an agent to call the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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 compensate. It clarifies that n runs from 1 to 80 and that the modulus must be a positive decimal integer with zero rejected — notably, the schema pattern allows "0" but the description rules it out. However, it omits the 600-digit maximum and string representation details for mod, leaving some semantic gaps.

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 clearly states the mathematical operation (a(n) mod m) and the named sequence (Wedderburn-Etherington numbers), so the resource and computation are identifiable. It does not explicitly contrast with siblings such as wedderburn, wedderburn_sum, or other *_mod tools, so it falls short of a 5.

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?

The description gives operating constraints (n from 1 to 80, positive decimal modulus, zero rejected), but it does not explicitly say when to choose this tool over wedderburn, wedderburn_sum, or other modular-arithmetic siblings. Usage is implied by the modulo operation, with no stated alternatives or exclusions.

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