Skip to main content
Glama

ScorpTech x402 Tools

Hof Q Prefix

hof_q_prefix
Read-onlyIdempotent

The first n Hofstadter Q terms, from Q(1) through Q(n), written as comma-separated integers. The first 10 terms are 1,1,2,3,3,4,5,5,6,6. n runs from 1 to 4096. 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-q-prefix

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

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 cover read-only, idempotent, non-destructive and open-world, so the description correctly focuses on what they cannot say: the value range for n (1-4096), a sample of actual output values, and the fact that each successful call costs $0.001 USDC via x402 on Base or Solana. That payment requirement is exactly the kind of behavioral fact an agent must know before calling. Minor deduction for the ambiguity between 'comma-separated integers' and 'Returns JSON with: n, value', which leaves the exact response shape unclear.

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 operation and scope, then range, then output example, then pricing and transport details. Every sentence carries information, though the return-format statements are slightly redundant and mutually inconsistent, which costs a point.

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 tool with no output schema, the definition supplies the sequence identity, the n range, sample output, and payment/transport facts — enough to invoke it correctly. The only gap is the unresolved question of whether the response is a raw comma-separated string or a JSON object containing n and value.

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% and the schema only constrains n as an integer in [1, 4096] with no description, so the definition must carry the meaning — it does, explaining that n is the count of terms returned and that the sequence runs from Q(1) through Q(n). The example values concretize the semantics. It stops short of noting anything about how n affects output size or formatting.

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?

States a specific verb and resource: the first n Hofstadter Q terms from Q(1) through Q(n), emitted as comma-separated integers. The prefix scope plus the worked example (1,1,2,3,3,4,5,5,6,6) makes it distinguishable from single-term siblings like hof_q and aggregate siblings like hof_q_sum without opening any schema.

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 by the scope statement and the example output; there is no explicit when-to-use or when-not-to-use guidance and no named alternative (e.g. hof_q for a single term). The pricing and HTTPS endpoint note give practical invocation context but not selection guidance.

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