Skip to main content
Glama

ScorpTech x402 Tools

Trib Step

trib_step
Read-onlyIdempotent

The Tribonacci step T(n) = T(n-1) + T(n-2) + T(n-3). left is T(n-3), mid is T(n-2), and right is T(n-1). n runs from 3 to 4096. Past 15 digits a term is a decimal string. Returns JSON with: n, left, mid, right, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/trib-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": "trib_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover readOnly, idempotent, and non-destructive, yet the description adds substantial behavior the annotations cannot: the valid n window, the 15-digit threshold after which terms become decimal strings, the exact return keys, and the paid-call model ($0.001 USDC per successful call via x402 on Base or Solana). It also discloses an equivalent HTTPS endpoint, which is genuinely useful for an agent deciding how to invoke it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is front-loaded with the defining formula and parameter mapping, then proceeds to output shape and invocation cost — each sentence adds a distinct fact with no filler. Density is high but appropriate for a tool whose domain is arithmetic.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter, no-output-schema tool, the description supplies the recurrence, the parameter meaning and bounds, the return keys, the numeric-format caveat, and the payment/transport details. An agent has everything needed to decide to call it and to interpret the response without opening anything else.

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 has to carry the meaning of the single parameter — and it does, by defining n's role in the recurrence, its range of 3 to 4096, and how it indexes left/mid/right. Beyond the schema's min/max, it clarifies what n selects rather than just bounding it, though it doesn't explain what happens if n indexes a term not yet computable from context.

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 gives the exact recurrence T(n) = T(n-1) + T(n-2) + T(n-3) and maps left/mid/right to T(n-3)/T(n-2)/T(n-1), which is a precise verb-and-resource statement an agent can act on. It does not explicitly name the near-duplicate siblings (tribonacci, trib_index, trib_sum), so differentiation is left to inference from the formula.

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 implied rather than stated: it is a single-step evaluation of the recurrence for a given n, and the caller supplies n from 3 to 4096. There is no explicit 'use this instead of trib_sum/tribonacci' routing or precondition guidance, which is the main gap given how many tribonacci-family siblings exist.

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