Skip to main content
Glama

ScorpTech x402 Tools

Domb

domb
Read-onlyIdempotent

The Domb number D(n), the sum of C(n,k)^2 * C(2k,k) * C(2n-2k,n-k) for k from 0 to n. D(0) is 1, D(1) is 4, D(2) is 28, D(3) is 256, and D(5) is 31504. n runs from 0 to 12. 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/domb

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/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, open-world behavior, so the bar is lower, and the description still adds material context: a per-call price of $0.001 USDC via x402 on Base or Solana, the JSON return shape {n, value}, and an alternate HTTPS endpoint. It does not say what happens for out-of-range n or how payment failures surface, which keeps it from a 5.

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 dense but front-loaded: formula first, then sample values, then range, return shape, price, and endpoint. Every sentence carries information, though the enumerated sample values (notably skipping D(4)) are marginal and the range is stated twice, once prose and once in the schema.

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?

There is no output schema, so the description correctly covers the return shape ('JSON with: n, value'), and it also discloses the paid x402 access model and the alternate endpoint an agent may need. For a single-integer, bounded computation this is nearly complete; only out-of-range and payment-failure behavior are unaddressed.

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%, but the single parameter n is a self-explanatory index whose bounds (0-12) are already encoded as minimum/maximum in the schema. The description explains that n is the index into D(n) and restates the range, which is meaningful but partly redundant with the schema; it adds no format, precision, or error semantics 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 gives a precise verb-and-resource statement: it computes the Domb number D(n) and even supplies the defining sum formula, so an agent knows exactly what value comes back. It does not differentiate itself from the similarly-named siblings (domb_sum, domb_mod, domb_term, domb_gcd), leaving the agent to infer that this is the plain, unmodified variant.

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 rather than stated: the domain constraint 'n runs from 0 to 12' and the worked values (D(0)=1 ... D(5)=31504) tell an agent when the tool is applicable, and the pricing note signals a paid call. However, there is no explicit when-to-use/when-not guidance and no routing to or away from the domb_* siblings.

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