Skip to main content
Glama

Multiperfect

multiperfect
Read-onlyIdempotent

Whether sigma(n) is a multiple of n, with multiplicity k at least 2. 6 and 28 give k=2. 120 and 672 give k=3. 1 and 12 do not. k is 0 when n is not multiperfect. n runs from 1 to 100000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/multiperfect

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

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 declare read-only, idempotent, non-destructive, open-world behavior. Beyond that, the description discloses cost ($0.001 USDC per successful call via x402 on Solana), an HTTPS endpoint, and return semantics (k=0 when not multiperfect), which are operationally useful; it does not discuss failure modes or payment-error handling.

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 front-loaded with the mathematical predicate and examples. Price, range, and endpoint details are compact and relevant; no sentence is wasted.

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 simple math predicate with no output schema, the description supplies return semantics, valid input range, and payment/transport details. It omits explicit sibling routing and a brief definition of sigma, so it is strong but not fully complete.

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?

Schema description coverage is 0%, so the schema gives only type and bounds for n. The description supplies the range 1 to 100000 and examples of n values, but it largely repeats the schema's min/max rather than adding deeper parameter meaning such as defining sigma.

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 specific predicate: whether sigma(n) is a multiple of n with multiplicity k >= 2, including examples and the k=0 case. It clearly identifies the multiperfect-number classification, though it never names sibling alternatives such as perfect_check or triperfect to sharpen differentiation.

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?

No sentence states when to use this tool instead of sibling number-theory classification tools, nor when not to use it. The range and examples describe input semantics, not usage conditions or alternatives.

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