Skip to main content
Glama

ScorpTech x402 Tools

Thabit

thabit
Read-onlyIdempotent

The nth Thabit number, 3*2^n - 1. n=0 gives 2, n=1 gives 5, and n=2 gives 11. n runs from 0 to 256. 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/thabit

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description usefully adds the output-format threshold (decimal string past 15 digits), the returned fields (n, value), and the $0.001 USDC x402 cost plus HTTPS endpoint. That is solid added context, though the call-error/refund behavior and the exact decimal-string format are not specified.

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?

Front-loaded with the formula and examples, then the range, format rule, response shape, and pricing; dense and low-waste, though the pricing/endpoint sentence adds bulk for a single-call math tool.

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?

No output schema, but the description names the returned keys and the type-switch caveat, so the return contract is reasonably covered. Remaining gaps are error semantics and what the 'value' type looks like at small n, minor for a one-parameter pure function.

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?

There is one parameter with 0% schema coverage, which the description partly compensates for by defining the range 0-256 and showing three concrete input/output pairs. It does not state what happens outside the range or whether bounds are enforced.

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?

States the exact closed-form definition (3*2^n - 1) plus worked examples (n=0→2, n=1→5, n=2→11), which unambiguously separates it from near-identical sequence siblings like abundance or aliquot.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives the valid domain (n runs from 0 to 256) and enough of the value mapping that an agent knows when this tool applies, but offers no explicit statement of when to prefer a sibling tool over this one.

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