Skip to main content
Glama

ScorpTech x402 Tools

Tribonacci

tribonacci
Read-onlyIdempotent

The nth Tribonacci number. T0 and T1 are 0, T2 is 1, and each later term is the sum of the previous three. 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/tribonacci

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

Input Schema

NameRequiredDescriptionDefault
nYes
modNo

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 declare a safe, idempotent, read-only computation, so the bar is lower, and the description still adds real behavior: JSON shape (n, value), the switch to a decimal string past 15 digits, and the $0.001 USDC x402 charge per successful call. Pricing detail is exactly the kind of non-obvious trait an agent needs, though the payment flow itself (how x402 settlement is triggered or fails) is left unexplained.

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?

Purpose and recurrence come first, then constraints, then return format and cost, so it is well front-loaded. It is dense and telegraphic but every sentence carries information; the HTTPS endpoint line is useful redundancy rather than filler.

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 two-parameter pure computation with no output schema, the description covers inputs, bounds, return encoding, and cost, which is close to sufficient. The remaining gap is that error behavior beyond mod=0 and the mechanics of paying per call are not described.

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?

With 0% schema description coverage the description must carry parameter meaning, and it does: it defines n's bounds and the sequence indexing, and explains that mod reduces the term and that zero is rejected even though the schema's pattern permits "0". It does not explain why mod is a string with up to 600 digits (arbitrary precision), so that parameter remains partly opaque.

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?

The description names a specific resource (the nth Tribonacci number) and immediately defines the sequence's seeds and recurrence, so an agent knows exactly what value comes back. It is unmistakable against sibling sequence tools such as apery or alternating_sum.

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?

It gives hard operating bounds (n from 0 to 4096), states that the modulus is optional and that zero is rejected, which is usable context. However, it never says when to prefer this tool over a sibling sequence tool or what to do instead when n is out of range or mod is invalid, leaving routing to inference.

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