Skip to main content
Glama

ScorpTech x402 Tools

Pierpont Next

pierpont_next
Read-onlyIdempotent

The smallest Pierpont prime that is at least n. 1 gives 2, 8 gives 13, 20 gives 37, and 98 gives 109. n runs from 1 to 100000. 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-next

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_next"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the description's job is to add context — and it does: cost ($0.001 USDC per successful call), payment rail (x402 on Base or Solana), an equivalent HTTPS endpoint, and the returned fields (n, value). It does not say what happens on failed payment or out-of-range input, which is the only notable 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 core definition is front-loaded in the first sentence and followed by examples, domain, return shape, and cost in a logical order. It is dense but nearly every clause carries information; the HTTPS endpoint line is secondary but useful for non-MCP callers.

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?

There is no output schema, but the description explicitly lists the returned JSON fields (n, value), and it also covers cost, transport alternative, and input domain. For a single-parameter read-only numeric lookup, nothing an agent needs to invoke it correctly is missing.

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 coverage is 0%, so the description must carry the meaning of n — and it does by defining n as the inclusive lower bound ('at least n') and illustrating four input/output pairs. The range restatement (1 to 100000) duplicates the schema, and the integer type is left implicit, but the semantic intent of the parameter is clear.

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?

"The smallest Pierpont prime that is at least n" states a precise verb-equivalent operation, the resource (Pierpont primes), and the selection rule (smallest ≥ n). Concrete examples (1→2, 8→13, 20→37, 98→109) make the operation unambiguous and separate it from siblings like pierpont_prime or pierpont_count.

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?

The name-plus-'next' pattern and the inclusive 'at least n' phrasing imply the use case, and the domain (n from 1 to 100000) scopes valid calls. However, there is no explicit statement of when to prefer this over pierpont, pierpont_prime, or pierpont_count, and no exclusions or edge-case guidance.

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