Skip to main content
Glama

ScorpTech x402 Tools

Proth

proth
Read-onlyIdempotent

The Proth number k2^n + 1. k must be odd and strictly less than 2^n. 12^1+1 is 3, and 3*2^5+1 is 97. An even k, or a k that is not below 2^n, is rejected. n runs from 1 to 40. Returns JSON with: k, n, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/proth

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": {
      "k": "<k>",
      "n": "<n>"
    },
    "name": "proth"
  }
}

Input Schema

NameRequiredDescriptionDefault
kYes
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive behavior, and the description adds genuinely new context: validation rules, a per-call price, and the equivalent HTTPS/x402 endpoint. It stops short of describing error payloads or what happens on an unpaid call, so it is not a full 5.

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 front-loaded, with the definition first, constraints second, and contract details (return shape, price, endpoint) last. Sentences are short and each carries distinct information, though the example enumeration is slightly more than strictly needed.

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 two-parameter pure-computation tool with no output schema, the description covers inputs, rejection conditions, the returned fields (k, n, value), cost, and an alternate access path. An agent has everything needed to call it correctly.

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 explains that k must be odd and strictly below 2^n, gives concrete examples, and enumerates the valid range for n. The only gap is that the schema's upper bound on k is not reconciled with the 2^n constraint, but overall the meaning is well conveyed.

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 of a Proth number (k*2^n + 1, k odd and < 2^n) with worked examples, leaving no ambiguity about what is computed. It does not, however, explicitly contrast itself with any sibling number-theory tool, which keeps it out of 5 territory.

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 states the input constraints and which inputs are rejected, which implicitly tells the agent when the tool is applicable. But there is no explicit guidance on when to choose this over sibling tools or what the intended use case is beyond raw computation.

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