Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-is-narcissistic-number

Is Narcissistic Number: Tests whether value is an Armstrong number by summing digits raised to the digit count 🆓 5 free trial calls per signed wallet

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402-is-narcissistic-number"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  2. First observed

TDQS

B3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose the computation method (digit-count exponentiation) and a payment/auth condition (a signed wallet, five free trial calls), which is genuine behavior beyond the name. But it says nothing about the return shape (boolean?), how non-numeric or negative input is handled, or error behavior.

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?

One front-loaded sentence with the test definition first, followed by a short pricing tag. No wasted preamble; the emoji call-to-action is slightly noisy but carries real information about the paid/auth model.

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 boolean predicate with no output schema and one parameter, the description covers the core semantics adequately. It falls short on input constraints and the literal return value, which an agent needs in order to interpret a result confidently without an output schema.

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

Parameters2/5

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

The single parameter 'value' has 0% schema description coverage, and the description only restates it ('Tests whether value is...'). It never states the expected format despite the schema typing it as a string — no guidance on numeric strings, signs, or digit limits, which matters for a digit-manipulation test.

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?

States a specific verb and resource — 'Tests whether value is an Armstrong number' — and even clarifies the equivalence with narcissistic numbers by naming the algorithm (summing digits raised to the digit count). That is a clear predicate definition, though it never distinguishes itself from the near-identical siblings x402-is-armstrong and x402-is-narcissistic, which an agent will have to choose between.

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 statement of when to use this versus the two extremely similar sibling predicates, nor any precondition such as the value needing to be numeric or bounded. The only contextual cue is a pricing note ('5 free trial calls per signed wallet'), which is not usage 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.