Skip to main content
Glama

ScorpTech x402 Tools

Wedderburn Split

wedderburn_split
Read-onlyIdempotent

The Wedderburn-Etherington split of n. cross is the sum of a(i)a(n-i) over the pairs below the middle, and middle is a(k)(a(k)+1)/2 when n = 2k and 0 when n is odd. n = 6 gives cross 5, middle 1, and value 6. n runs from 1 to 80. Returns JSON with: n, cross, middle, 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-split

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, and the description is consistent with an openWorldHint external computation service. Beyond that, it adds genuinely useful facts the annotations do not carry: a per-call price of $0.001 USDC via x402 (Base or Solana), the JSON return keys, and an equivalent HTTPS endpoint. It does not state error behavior for out-of-range n, which is the main remaining gap.

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 definition is dense but front-loaded: the computation rule comes first, then the worked example, then return fields, cost, and endpoint. The mathematical formula is necessary content rather than padding, though the pricing and URL sentences could be trimmed slightly for a single-parameter tool.

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?

There is no output schema, but the description compensates by listing the returned JSON keys (n, cross, middle, value), and it adds cost and an alternate transport, which matter for an openWorld paid service. For a one-parameter, read-only computation the definition is essentially sufficient, with only failure-mode behavior for invalid n left unspecified.

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 carry the parameter meaning, and it does supply the valid domain ('n runs from 1 to 80') plus a worked example at n=6. However, the range merely restates the schema's minimum/maximum, and the description never explains what n represents mathematically or what the a() sequence is, leaving the semantics only partly clarified.

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 mathematical object (Wedderburn-Etherington split of n) and enumerates exactly what is computed: cross as the sum of a(i)*a(n-i) below the middle, and middle as a(k)*(a(k)+1)/2 for even n. It is clear what the tool returns (n, cross, middle, value), but it never distinguishes itself from the many related siblings such as wedderburn, wedderburn_sum, or wedderburn_index.

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 explicit when-to-use or when-not-to-use guidance, and no sibling alternative is named even though the catalog contains several closely related wedderburn tools. The only implied guidance is the input domain (n from 1 to 80), which an agent could infer from the schema anyway.

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