Skip to main content
Glama

ScorpTech x402 Tools

Domb Sum

domb_sum
Read-onlyIdempotent

The sum of the Domb numbers D(0) through D(n). Through 0 it is 1, through 2 it is 33, through 4 it is 3005, and through 5 it is 34509. 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-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": "domb_sum"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, idempotent, non-destructive), so the description earns credit for adding what annotations cannot: the expected return payload keys (n, value), the per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint. That payment/auth context is material for an agent deciding whether and how to call it.

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 core semantics in the first sentence, then layers anchors, range, return shape, and pricing. The four worked examples are dense but each earns its place as a validation anchor; the HTTPS endpoint sentence is slightly utilitarian but justified by the payment model.

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 compensates by naming the returned keys, and it covers domain bounds, purchasing terms, and an alternate transport. For a single-integer-parameter arithmetic tool this leaves nothing an agent needs unresolved.

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% and the single param 'n' carries no schema description, so the description must supply meaning — it does so by defining n as the upper index of the Domb sum and by restating the 0..12 bound with concrete sample values. The only shortfall is that the bound duplicates the schema's min/max, adding no new constraint information.

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 names a specific resource and operation: the summatory function of Domb numbers D(0) through D(n), which is distinguishable from a sibling that returns a single term. It stops short of explicitly contrasting itself with the bare 'domb' or 'domb_term' siblings, so the differentiation is inferable rather than stated.

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 contextually implied: it states the valid domain n=0..12 and gives worked anchor values for n=0, 2, 4, 5 so an agent can sanity-check calls. However, there is no explicit 'use this when you need the cumulative sum rather than a single term' routing guidance and no exclusions relative to the many sibling sum tools.

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