Skip to main content
Glama

ScorpTech x402 Tools

Factoradic Sum

factoradic_sum
Read-onlyIdempotent

The sum of the factorial-base digits of n. 0 sums to 0, 5 sums to 3, 23 sums to 6, and 463 sums to 9. n runs from 0 to 999999999999999. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/factoradic-sum

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world). The description adds genuinely new behavior: a per-call price of $0.001 USDC via x402 on Solana and an equivalent HTTPS endpoint. It does not say whether failed calls are charged, which is the one meaningful gap.

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 document is short and front-loaded: the definition comes first, examples and domain next, payment and endpoint last. Every sentence adds information, though the pricing and endpoint sentences could have been pushed into a clearly marked note.

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 read-only computation with no output schema, the description supplies the definition, input range, sample outputs and payment model, which is nearly everything an agent needs. Only the failure and charging semantics of failed calls remain unspecified.

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 coverage is 0%, so the description carries the burden, and it does define n's domain (0 to 999999999999999) and illustrates how input maps to output through four examples. It does not explain what factorial-base digits are, but the examples make the mapping sufficiently unambiguous for a single-parameter tool.

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?

It states a specific verb-and-resource: the sum of the factorial-base digits of n, backed by worked examples (0→0, 5→3, 23→6, 463→9). Sibling tools such as factoradic_digit, factoradic_length and factoradic_decode are never named, so the reader must infer the distinction.

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?

The input domain and examples imply when the tool applies, but there is no explicit when-to-use or when-to-prefer-a-sibling guidance, and no statement of what to call when only the digit list or length is needed. Usage must be inferred.

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