Skip to main content
Glama

ScorpTech x402 Tools

Hof Conway Sum

hof_conway_sum
Read-onlyIdempotent

The sum of Hofstadter-Conway terms a(1) through a(n). The sum through a(10) is 32, and the sum through a(30) is 266. 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/hof-conway-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": "hof_conway_sum"
  }
}

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 declare readOnly, idempotent, non-destructive and open-world, so safety is covered. The description goes beyond them by disclosing the return shape ('n, value'), a per-call price of $0.001 USDC via x402 on Base or Solana, and an alternate HTTPS endpoint — real operational context an agent needs before calling.

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 definition, then examples, then bounds, then return shape, then price/endpoint — a sensible order with no filler. Slightly dense with commercial/endpoint detail, but each sentence carries information an agent can act on.

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?

There is no output schema, and the description compensates by naming the returned fields; there is no pagination or auth ambiguity, and pricing plus an alternate transport are spelled out. For a single-integer, read-only math tool this is sufficient to invoke correctly.

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 parameter, and it does: n is the upper index of the summation over a(1)..a(n), bounded 1 to 100000. The worked values (n=10 → 32, n=30 → 266) give concrete anchors that the bare schema does not. It stops short of explaining error behavior for edge values of n.

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?

States a precise operation: the sum of Hofstadter-Conway terms a(1) through a(n), with worked values (sum through 10 = 32, through 30 = 266) that pin down the exact sequence variant. It does not, however, distinguish itself from the many hof_* siblings (hof_conway, hof_q_sum, hof_q_prefix), which an agent must resolve by name alone.

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

Usage Guidelines2/5

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

The description never says when to pick this over hof_conway (terms) or hof_q_sum (a different series), nor any prerequisite or exclusion. Usage is only implied by the name and the 'sum through n' phrasing; the worked examples help verify correctness but not tool selection.

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