Skip to main content
Glama

ScorpTech x402 Tools

Hof H

hof_h
Read-onlyIdempotent

The nth Hofstadter H term. H(0) is 0, and H(n) = n - H(H(H(n-1))). H(1) is 1, and H(10) is 7. n runs from 0 to 100000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/hof-h

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_h"
  }
}

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 readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral context beyond annotations: a per-call price ($0.001 USDC via x402 on Solana) and an equivalent HTTPS endpoint, which matters for invocation planning.

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 and examples are front-loaded and every sentence carries information (recurrence, sample values, domain, pricing, alternate endpoint). Slightly dense with the payment/endpoint sentence, but nothing is wasted.

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?

For a single-parameter pure-math tool with no output schema, the description is nearly sufficient: recurrence plus H(1)=1 and H(10)=7 let an agent sanity-check results. The only gap is that the return type is never stated explicitly, though the examples imply an integer.

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?

With one parameter and 0% schema description coverage, the description does most of the work by defining n as the term index and restating the domain (0 to 100000), which matches the schema's minimum/maximum. It adds the mathematical meaning of n but no format details beyond the schema constraints.

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 states a specific resource (the nth Hofstadter H term) with an explicit recurrence and worked examples, so the operation is unambiguous. It does not, however, distinguish itself from close siblings like hof_g, hof_q, or hofstadter, which also compute Hofstadter sequences.

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 only implied: compute H(n) for a given index, with a stated valid range of 0 to 100000. No guidance is given on when to prefer this over hof_g/hof_q or other sequence tools, and no exclusions are stated.

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