Skip to main content
Glama

Wedderburn Sum

wedderburn_sum
Read-onlyIdempotent

The sum of Wedderburn-Etherington numbers from lo through hi inclusive. The sum from a(1) through a(6) is 14. lo must not pass hi. Each index runs from 1 to 80. Past 15 digits the value is a decimal string. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/wedderburn-sum

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": {
      "lo": "<lo>",
      "hi": "<hi>"
    },
    "name": "wedderburn_sum"
  }
}

Input Schema

NameRequiredDescriptionDefault
hiYes
loYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds genuinely new behavioral context: values past 15 digits are returned as decimal strings (a return-format quirk with real parsing consequences), plus a per-call price of $0.001 USDC via x402 on Solana and an HTTPS mirror 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?

The purpose is front-loaded in the first sentence, followed by constraints, the example, the return-format rule and the cost/endpoint. Nine clauses in five sentences with no filler; the only mild redundancy is restating the 1-80 range that the schema already encodes.

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?

No output schema exists, and the description compensates by explaining the numeric-vs-string return distinction and giving a sample sum, so the agent knows what to expect. Pricing and the equivalent HTTP endpoint round it out; only the absence of any guidance about sibling sum/term tools keeps it from perfect.

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 load, and it does: it defines lo and hi as inclusive bounds, states lo must not exceed hi, and confirms the 1-80 domain matching the schema minimum/maximum. It stops short of naming what the parameters are called, but the meaning is unambiguous.

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?

States a specific verb (sum) over a specific resource (Wedderburn-Etherington numbers) with an explicit scope (indices lo through hi inclusive). This cleanly separates it from siblings like wedderburn, wedderburn_index, wedderburn_mod and wedderburn_split, which return terms, indices, residues or splits rather than a range sum.

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?

It gives concrete preconditions (lo must not pass hi, indices 1-80) and a worked example ('a(1) through a(6) is 14'), which tells the agent how to call it correctly. However, it never says when to prefer this over the sibling wedderburn term functions, so the usage guidance is implied rather than explicit.

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