Skip to main content
Glama

ScorpTech x402 Tools

Self Number

self_number
Read-onlyIdempotent

Whether n is a self number: no m has m plus its digit sum equal to n. 1, 20, and 108 are. 2, 10, and 21 are 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/self-number

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: the JSON return shape {n, value}, the paid-call model at $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint. The cost-per-call disclosure is exactly the kind of thing an agent needs before invoking a paid tool.

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 definition is front-loaded: predicate first, then examples, then domain, then return shape and pricing. Sentences are dense but each carries information; the trailing pricing/URL sentence is slightly utilitarian but justified for a pay-per-call tool. Minor stylistic compression rather than 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?

With no output schema, the description correctly compensates by naming the returned fields (n, value), and it supplies the valid domain and a concrete definition. The only soft spot is 'value', which is presumably a boolean but is never stated in type terms; everything else an agent needs is present.

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%, so the description must carry parameter meaning, and it does: n is the integer under test, bounded 1..1000000, with worked examples of valid self numbers and non-self numbers. It does not explain the type/edge behavior at the boundaries, but the semantics of n are clear enough to call correctly.

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?

The description opens with a precise mathematical predicate ('no m has m plus its digit sum equal to n') and immediately follows it with positive and negative examples, so the agent knows exactly what this tool tests. It is clearly a single-number membership test, distinguishable from generators like self_next or self_nth even without reading their schemas.

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?

Usage is implied strongly by the definition and examples — you call it to test a candidate n — but the description never states when to prefer this over sibling tools or any exclusions. The only explicit constraint is the input range 'n runs from 1 to 1000000', which is useful but not the same as usage routing.

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