Skip to main content
Glama

ScorpTech x402 Tools

Hof Male

hof_male
Read-onlyIdempotent

The nth Hofstadter male term. M(0) is 0, F(0) is 1, M(n) = n - F(M(n-1)), and F(n) = n - M(F(n-1)). M(2) is 1, and M(5) is 3. n runs from 0 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-male

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely new behavioral context: a $0.001 USDC per-successful-call x402 payment model, an alternate HTTPS endpoint, and the exact return shape. It does not discuss failure/refund behavior when a call fails, which is the one gap for a paid tool.

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 recurrences and examples before commerce details, and every sentence adds information. It is dense rather than wasteful, though the raw formula notation could intimidate a model more than a short prose gloss would.

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 one-parameter pure-computation tool with no output schema, the description covers input domain, semantics, and return fields (n, value), plus cost and transport. Only the absence of explicit sibling routing keeps it short of fully complete.

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 must carry the meaning of n, and it does: it bounds n to 0-100000 (matching the schema's min/max) and anchors the semantics with concrete values M(2)=1 and M(5)=3, telling an agent exactly what the index means and what it maps to.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (the nth Hofstadter male term) and pins it down with the defining recurrences M(n) = n - F(M(n-1)) and F(n) = n - M(F(n-1)), which separates it cleanly from the sibling hof_female. Worked examples (M(2)=1, M(5)=3) remove any ambiguity about indexing.

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 implicit: an agent can infer this is the tool for male-sequence terms and that hof_female covers the F side, but the description never explicitly says when to prefer this over hof_pair, hofstadter, or hof_female, nor does it state any exclusions. No prerequisites or error conditions are mentioned.

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