Skip to main content
Glama

ScorpTech x402 Tools

Tetrahedral

tetrahedral
Read-onlyIdempotent

The nth tetrahedral number, n*(n+1)*(n+2)/6. The 5th is 35 and the 8th is 120. n runs from 0 to 1000000. Past 15 digits the value is a decimal string. 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/tetrahedral

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (which only cover read-only, idempotent, non-destructive, open-world), the description discloses the input ceiling, the precision behavior past 15 digits (decimal string), the return shape (n, value), and the per-call cost with payment protocol — all behavior an agent cannot infer from structured fields.

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 with the formula and examples, then bounds, return format, and pricing; each clause carries information, though the pricing and HTTPS endpoint sentence is somewhat dense and could be separated from the mathematical spec.

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

Completeness5/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 supplies the return fields and the large-value string caveat, and it adds cost and transport details — everything needed to invoke the tool and interpret results for this simple single-parameter function.

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 must carry the load; it explains that n is the index into the tetrahedral sequence and restates its 0–1,000,000 domain, though it does not clarify how n is interpreted beyond the formula's positional meaning.

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 gives an exact closed-form definition, n*(n+1)*(n+2)/6, plus worked examples (5th=35, 8th=120), so the resource is unambiguous and distinguishable from neighboring number-theory tools like 'almost_perfect' or 'abundance' without opening the schema.

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 by the domain constraint ('n runs from 0 to 1000000'), which tells the agent when the tool is applicable, but there is no explicit guidance on when to prefer it over siblings or what to do outside the range.

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