Skip to main content
Glama

ScorpTech x402 Tools

Tetranacci Step

tetranacci_step
Read-onlyIdempotent

The Tetranacci step T(n) = T(n-1) + T(n-2) + T(n-3) + T(n-4). a is T(n-4), b is T(n-3), c is T(n-2), and d is T(n-1). n runs from 4 to 4096. Past 15 digits a term is a decimal string. Returns JSON with: n, a, b, c, d, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/tetranacci-step

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": "tetranacci_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, open-world), the description discloses the return shape (n, a, b, c, d, value), the large-number representation rule (decimal string past 15 digits), the per-call price, the payment rail (x402 on Base or Solana), and an equivalent HTTPS endpoint. Cost and payment requirements are exactly the kind of behavior annotations cannot express.

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?

Dense and front-loaded: formula first, then field mapping, then constraints, then output contract, then pricing/transport. No filler sentences, though the a/b/c/d mapping spends words on fields the caller cannot supply given a one-parameter 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?

There is no output schema, and the description supplies the full return field list, number-format caveat, valid range, price, and an alternate transport, which is a lot for a simple pure-math tool. The residual gap is that it never says where the base terms for indices below 4 come from or which value 'value' corresponds to.

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% for the single parameter, so the description must carry the meaning. It restates the range (already in the schema) and explains a/b/c/d, but those are output fields, not the input; it never explicitly says n is the index whose value is computed. Partial compensation only.

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

Purpose3/5

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

The description gives the recurrence and the a/b/c/d mapping, so the mathematical object is identifiable, but it never states the operative action plainly (e.g. 'computes the Tetranacci step for index n') and never distinguishes this tool from the sibling 'tetranacci'. An agent must infer the operation from the formula rather than read it.

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?

The only usage constraint offered is the valid range 'n runs from 4 to 4096', which the schema already encodes as minimum/maximum. There is no statement of when to prefer this tool over 'tetranacci', 'tetranacci_index', 'tetranacci_sum', or the other step tools in the family.

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