Skip to main content
Glama

ScorpTech x402 Tools

Golomb

golomb
Read-onlyIdempotent

The nth Golomb term, 1-based. a(1) is 1, a(n) counts how often n will appear, and a(6) is 4. The sequence starts 1, 2, 2, 3, 3, 4. n runs from 1 to 100000. 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/golomb

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare this a safe, idempotent, read-only lookup, so the description adds the things annotations cannot: the response shape (JSON with n and value), a per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint. The payment requirement in particular is essential behavioral context an agent could not obtain 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 core definition is front-loaded in the first sentence, followed by examples, bounds, return fields, and pricing in a compact sequence. Most sentences earn their place, though the worked examples and the endpoint URL add bulk that could be tightened for a tool this simple.

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?

For a one-parameter lookup with no output schema, the description supplies everything needed: indexing convention, valid domain, expected return fields, cost, and an alternate transport. Nothing an agent needs in order to call it correctly is missing.

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 description coverage is 0%, so the description carries the burden for the single parameter and does so: it states n is 1-based, that a(n) counts how often n appears, and works through concrete values. The numeric bounds duplicate the schema's minimum/maximum, but the indexing semantics and the meaning of the returned value are genuine additions.

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 nth Golomb term, 1-based" names a specific mathematical resource and its exact indexing, and the worked examples (a(1)=1, a(6)=4, start 1,2,2,3,3,4) pin down which sequence is meant. It does not explicitly name siblings like golomb_inverse or golomb_sum, so the distinction is conveyed by the word "term" rather than by explicit routing.

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: an agent can infer this tool is for a single term at a given index, with the valid domain spelled out (n from 1 to 100000). There is no explicit guidance on when to prefer golomb_inverse or golomb_sum instead, and no mention of error behavior for out-of-range n.

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