Skip to main content
Glama

ScorpTech x402 Tools

Pierpont Powers

pierpont_powers
Read-onlyIdempotent

The pair a,b with n = 2^a * 3^b + 1. 2 gives 0,0. 10 gives 0,2. 19 gives 1,2. 145 gives 4,2. A number not of that form is rejected. n runs from 1 to 999999999999999. Returns JSON with: 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/pierpont-powers

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), and the description adds materially beyond them: the rejection rule for numbers not of the Pierpont-minus-one form, the input range 1..999999999999999, the response shape (JSON with n and value), and the cost model of $0.001 USDC per successful call via x402 on Base or Solana. The pricing and failure-mode disclosure are genuinely useful and not available in structured fields; only the exact shape of the rejection response is left unstated.

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?

Structure is front-loaded and effective: formula first, then a compact example block that doubles as usage teaching, then the contract details (return keys, price, alternate HTTPS endpoint). The example list is the only repetition risk, though four points are defensibly needed to convey the mapping; a fifth would have been waste.

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 single-integer computational tool with no output schema, the description supplies the formula, validity rule, range, return keys, and payment terms, which is nearly everything needed to invoke it correctly. The remaining gaps are minor: the rejection response format is unspecified and the 'value' field is not explicitly equated with the (a,b) pair.

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 carries the parameter burden and largely does so: the examples teach the meaning of n concretely, and the explicit constraint 'n runs from 1 to 999999999999999' plus the statement that non-conforming numbers are rejected explains what makes a valid argument. The residual gap is that the field name 'value' in the response is not defined as the (a,b) pair, leaving the return mapping slightly implicit.

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 states a specific mathematical resource: it returns the pair (a,b) such that n = 2^a * 3^b + 1, backed by four worked examples (2→0,0; 10→0,2; 19→1,2; 145→4,2). The purpose is unambiguous, but it never distinguishes itself from the many sibling tools in the pierpont_* family (pierpont, pierpont_count, pierpont_next, pierpont_prime), so an agent must infer the split from names alone.

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 rather than stated: the agent learns that any n of the form 2^a*3^b+1 is accepted and anything else is rejected, which effectively defines the valid input domain. However, there is no explicit when-to-use guidance, no mention of when to prefer a sibling tool, and no statement about what the caller gets back on rejection (error vs. empty result).

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