Skip to main content
Glama

ScorpTech x402 Tools

Exp Next

exp_next
Read-onlyIdempotent

The smallest exponential perfect number that is at least n. 1 gives 36, 37 gives 180, 180 stays 180, and 181 gives 252. n runs from 1 to 5000. 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/exp-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": "exp_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, openWorld, non-destructive, so the safety profile is covered. The description adds material operational context not in annotations: the return shape (JSON with n, value), the $0.001 USDC x402 cost on Base or Solana, and an alternate HTTPS endpoint. Cost-per-call and payment rail are exactly the kind of pre-invocation information an agent needs and cannot get elsewhere.

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?

Front-loaded with the definition, then examples, then constraints, then response/pricing/transport details — a sensible information hierarchy with no filler sentences. The pricing and endpoint sentence is denser than the rest but each fact is actionable at call time, so it earns its place.

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 single-parameter, no-output-schema tool, the description covers the definition, boundary behavior via examples, valid input range, return fields (n, value), cost, and an alternate transport. Nothing an agent needs to call it correctly or decide whether to call it 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 description coverage is 0% and the single parameter is bare, so the description must carry the meaning — and it does: it defines n as a lower bound ('at least n'), gives its valid range 1–5000, and shows via the 180→180 example that values already exponential-perfect are returned unchanged. That is genuine semantic content beyond the schema's type/min/max.

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 precise mathematical verb+resource: the smallest exponential perfect number that is at least n. The worked examples (1→36, 37→180, 180→180, 181→252) make the 'at least' boundary semantics unambiguous, which distinguishes it from exp_perfect (exact membership) at a glance. No sibling needs to be consulted to understand what this returns.

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 valid domain (n from 1 to 5000) and the boundary examples imply when a call is appropriate, but the description never explicitly contrasts this with alternatives such as exp_perfect or exp_count, nor states when not to use it. Usage is inferable rather than stated.

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