Skip to main content
Glama

ScorpTech x402 Tools

Kummer

kummer
Read-onlyIdempotent

The number of carries when a and b are added in prime base p. By Kummer, that is the exponent of p in C(a+b, a). Adding 5 and 3 in base 2 makes 3 carries. A composite base is rejected. a and b run from 0 to 1000000000000, and p runs from 2 to 1000000. Returns JSON with: a, b, p, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/kummer

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": {
      "a": "<a>",
      "b": "<b>",
      "p": "<p>"
    },
    "name": "kummer"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
bYes
pYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already mark it read-only, idempotent, non-destructive, and open-world; the description adds substantive behavior: p must be prime, composite bases are rejected, valid numeric ranges, returned JSON fields, price per successful call, payment networks, and an HTTPS endpoint. That gives an agent operational and cost context the annotations do not.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is front-loaded with the mathematical meaning, followed by a compact example, constraints, return fields, and access/payment details. Despite covering many points, it stays tight and every sentence adds operational or semantic value.

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?

For a three-parameter read-only computation with no output schema, the description supplies the computation, validation rule, input ranges, return fields, and payment/transport details. No material gap remains for an agent to call it correctly.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry all parameter meaning; it identifies a and b as addends with their valid range, p as a prime base with its range, and adds the crucial constraint that composite p is rejected, which the schema does not encode. All three required parameters are semantically covered.

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 gives a precise mathematical definition: the number of carries when adding a and b in prime base p, equivalently the exponent of p in C(a+b, a). It includes a concrete example, but it does not explicitly distinguish this tool from sibling math functions; the definition itself is clear enough.

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 is implied by the precise mathematical definition and domain constraints, and composite p is explicitly rejected. However, there is no explicit guidance on when to choose this tool over the many sibling arithmetic tools, nor any when-not guidance beyond composite bases.

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