Skip to main content
Glama

ScorpTech x402 Tools

Hof Pair

hof_pair
Read-onlyIdempotent

The Hofstadter male and female terms at the same index. M(0) is 0 and F(0) is 1. At n = 5 both terms are 3. n runs from 0 to 100000. Returns JSON with: n, male, female. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/hof-pair

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/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 the safety profile is covered. The description adds genuinely new behavioral context beyond the annotations: the returned fields, the per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint — all things an agent needs before invoking 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 semantic description and the return shape, then appends payment and endpoint details. It is compact and free of filler, with only a minor redundancy in restating the 0–100000 range already encoded in the schema.

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 simple read-only numeric tool with no output schema, the description covers the input domain, the exact return fields, and the unusual cost/payment model, which is enough to call it correctly. The only gap is the lack of explicit routing guidance against the sibling single-term tools.

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?

Schema description coverage is 0%, so the description must carry the load for the single parameter n. It does give the domain (n runs 0 to 100000) and illustrative values at n=0 and n=5, which adds meaning beyond the bare integer schema, though the bounds themselves duplicate the schema's minimum/maximum.

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 the specific resource (the Hofstadter male/female pair at a single index) and concretely states the return shape (n, male, female), so an agent can distinguish it from the single-term siblings like hof_male and hof_female. It is clear but stops short of explicitly contrasting itself with those siblings.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no sibling is named as an alternative. The examples (M(0)=0, F(0)=1, n=5 → both 3) clarify the math but do not help the agent decide between this tool and the individual-term 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