Skip to main content
Glama

ScorpTech x402 Tools

Factoradic

factoradic
Read-onlyIdempotent

The factorial-base digits of n, from the highest place down through the 0! place, comma-separated. The last digit is always 0. 0 is "0", 5 is "2,1,0", 23 is "3,2,1,0", and 463 is "3,4,1,0,1,0". n runs from 0 to 999999999999999. Returns JSON with: n, length, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/factoradic

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, but the description adds useful context beyond them: the exact return fields (n, length, value), concrete output examples, the accepted range, pricing, and an HTTPS endpoint. It does not cover error behavior, but the added behavioral detail is substantial.

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 description is front-loaded with the core output definition and examples, followed by return fields, range, pricing, and endpoint. It is appropriately sized for a simple mathematical tool, though the multiple examples and payment details add some length.

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 low-complexity tool with one parameter and no output schema, the description is largely complete: it explains the output format, provides examples, states the valid range, and lists the JSON response fields. Minor ambiguity remains around the exact type and meaning of 'length' and 'value'.

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 description must carry parameter meaning. It restates the range already present in the schema and provides examples that clarify how n maps to output, but it does not explain the parameter beyond that.

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 clearly states the specific resource: the factorial-base digits of n, ordered from the highest place through 0!, with concrete examples. It does not explicitly differentiate itself from sibling tools like factoradic_decode, factoradic_digit, or factoradic_length, so it is clear but lacks sibling routing.

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 explicit when-to-use guidance, no exclusions, and no mention of when an agent should choose factoradic_digit or factoradic_length instead. Usage is only inferable from the stated output format.

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