Skip to main content
Glama

ScorpTech x402 Tools

Exp Perfect

exp_perfect
Read-onlyIdempotent

Whether the exponential divisors of n sum to 2n. 36 and 180 do. 6, 12, 16, and 60 do not. n runs from 1 to 1000000. 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-perfect

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, open-world behavior, while the description adds pricing, payment network/endpoint, and returned field names. It stops short of defining whether value is a boolean or 0/1 and does not describe payment-failure behavior, but it adds useful operational context beyond annotations.

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 description is compact and front-loads the predicate, then supplies examples, input bounds, output fields, and payment/transport details. Each item is relevant to selecting or paying for this tool, and there is no filler.

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 one-parameter mathematical predicate with no output schema, the description gives the purpose, bounds, output field names, and cost/endpoint. It is nearly complete, but the meaning/type of value and any payment/error handling remain underspecified.

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

Parameters3/5

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

The schema already enforces integer type and the 1–1,000,000 bounds; the description repeats the range and names n as the number under test, with examples that clarify the predicate. With no schema property description, this adds meaningful semantic context, though it does not explain output encoding tied to n.

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 opening sentence defines a precise predicate for n: whether the exponential divisors sum to 2n, with positive and negative examples. It is clearly distinct from a generic perfect-number check, though it does not explicitly name a sibling tool for computing the plain divisor sum.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives the valid n range and examples of true/false inputs, which implies membership testing. It does not say when an agent should use this instead of exp_sigma, exp_divisors, or perfect_check, nor does it state exclusions or prerequisites.

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