Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-is-perfect

Is Perfect: Checks whether an integer equals the sum of its proper divisors, returning a boolean 🆓 5 free trial calls per signed wallet

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": {
      "value": "<value>"
    },
    "name": "x402-is-perfect"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "value"
      +]
  2. Changed1 schema field changed
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It usefully discloses that the return is a boolean and adds a real operational constraint (5 free trial calls per signed wallet), implying auth/payment requirements, but says nothing about error behavior, edge cases, or whether the call is read-only versus metered/stateful.

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 and stated in a single efficient clause. The trailing emoji and promotional wording are slight noise, though the quota statement does carry genuine information an agent may need.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter predicate with no output schema, stating that a boolean is returned is mostly sufficient. However, the undefined input format (string type versus described integer) and the absence of any edge-case or failure-mode notes leave a meaningful gap.

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 coverage is 0% for the single required parameter, whose declared type is string with no description. The description partially compensates by specifying the value is meant to be an integer, but it leaves unresolved the string-versus-integer mismatch and does not state whether negatives or very large values are accepted.

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 verb-and-resource definition — checking whether an integer equals the sum of its proper divisors — which is a precise mathematical predicate an agent can act on. It does not name or contrast with neighboring predicates such as x402-is-abundant or x402-is-deficient, so sibling differentiation is left to inference.

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?

There is no when-to-use or when-not-to-use guidance, and no routing to related sibling tools that test adjacent divisor-sum properties. The only usage-adjacent content is the free-trial quota note, which constrains volume rather than selection.

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.