Skip to main content
Glama

ScorpTech x402 Tools

Tetranacci

tetranacci
Read-onlyIdempotent

The nth Tetranacci number. T0, T1, and T2 are 0, T3 is 1, and each later term is the sum of the previous four. T(10) is 56. An optional modulus reduces the term, and zero is rejected. n runs from 0 to 4096. Past 15 digits the value is a decimal string. 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/tetranacci

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

Input Schema

NameRequiredDescriptionDefault
nYes
modNo

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 establish readOnly/idempotent/destructive=false, and the description adds genuinely new behavior: the accepted n range 0–4096, the >15-digit decimal-string return rule, the JSON shape {n, value}, and the $0.001 USDC x402 payment plus the equivalent HTTPS endpoint. The one weak spot is 'zero is rejected', which is ambiguous — n=0 is legal per the schema (minimum 0), so it presumably refers to mod=0, but the description does not say so.

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 definition, then constraints, then return format, then cost/transport — a sensible order with little waste. The pricing and endpoint sentences are commercially relevant rather than filler, though the description is on the longer side for a two-parameter function.

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, so the description properly covers the return value (JSON with n and value) and the large-value string encoding. Combined with the range bound, modulus semantics and payment/transport notes, an agent has nearly everything needed; only error behavior beyond 'zero is rejected' is left unstated.

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 carries the full parameter burden, and it largely does: it explains n's indexing convention and 0–4096 bound, and explains that mod optionally reduces the term and that zero is rejected. It does not explain that mod is a string of up to 600 digits (big-integer form for values past native range), which the schema's pattern implies but never states.

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 states a precise verb+resource: it computes the nth Tetranacci number, and it pins down the recurrence (sum of previous four), base cases (T0/T1/T2=0, T3=1) and a worked example T(10)=56. It does not distinguish itself from siblings like tetranacci_mod or tetranacci_index, which is the only thing keeping it from a 5.

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: an agent can infer this is the tool for a single nth term, but there is no explicit when-to-use or when-not guidance. Most importantly, the description says 'an optional modulus reduces the term' while a sibling named tetranacci_mod exists, and it never says when to pick one over the other, leaving a real routing ambiguity.

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