Skip to main content
Glama

ScorpTech x402 Tools

Hof Female

hof_female
Read-onlyIdempotent

The nth Hofstadter female term. F(0) is 1, M(0) is 0, F(n) = n - M(F(n-1)), and M(n) = n - F(M(n-1)). F(1) is 1, and F(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-female

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, and non-destructive behavior, so the description's job is to add context — and it does: an exact input ceiling of 100000, a declared return shape (n, value), a per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint. What is missing is failure behavior for out-of-range or very large n and any latency/rate expectations.

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?

It is front-loaded with the definition before examples, pricing, and the alternate endpoint, and every sentence carries information. The two worked examples and the duplicated endpoint mention make it denser than strictly necessary, but nothing is wasteful.

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 computation with no output schema, the description covers the domain limit, the return keys, and the payment terms, which is essentially everything needed to call it correctly. Only error/edge handling for boundary values is left unaddressed.

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% for the single parameter, so the description must carry the meaning — and it does by stating n runs from 0 to 100000 and giving worked values (F(0)=1, F(1)=1, F(5)=3) that let an agent sanity-check a result. The schema separately supplies the min/max bounds, so the description's main added value is the concrete examples.

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 exact object computed — the nth Hofstadter female term — and supplies the defining recurrences for both F and M, which implicitly separates it from the sibling hof_male. It is clear what the tool returns, though it never uses an explicit verb like 'compute' and does not name the sibling it complements.

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: the recurrence and the stated domain 0–100000 tell an agent when the call is valid, but there is no explicit 'use this instead of hof_male / hof_pair' guidance or exclusion of alternatives. The agent must infer routing from the math rather than from stated rules.

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