Skip to main content
Glama

ScorpTech x402 Tools

Trib Sum

trib_sum
Read-onlyIdempotent

The sum of Tribonacci numbers from lo through hi inclusive. The sum from T0 through T10 is 177. lo must not pass hi. Each index runs from 0 to 4096. Returns JSON with: lo, hi, count, 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-sum

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": {
      "lo": "<lo>",
      "hi": "<hi>"
    },
    "name": "trib_sum"
  }
}

Input Schema

NameRequiredDescriptionDefault
hiYes
loYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds context annotations cannot express: the exact return fields (lo, hi, count, value) and the priced, paid-call model with the $0.001 USDC x402 charge and mirror endpoint, which matters for planning repeated calls.

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?

The definition is front-loaded with the core semantics and the constraint, then the example, then the return shape and pricing. Every sentence carries information, though the HTTPS mirror URL and pricing could be separated from the computational semantics for faster scanning.

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?

With no output schema, the description compensates by enumerating the returned JSON fields, and it documents the paid-call cost and both transport endpoints. The only remaining gap is error behavior, such as what happens when lo exceeds hi beyond the stated prohibition.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry parameter meaning and it does: lo and hi are Tribonacci indices, both inclusive, bounded 0–4096, with lo less than or equal to hi. The worked example ('sum from T0 through T10 is 177') pins down the exact counting convention, which the bare integer schema cannot convey.

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 operation (sum) on a specific resource (Tribonacci numbers over an inclusive index range), and the phrasing 'from lo through hi inclusive' makes clear it aggregates a range rather than returning a single term. That distinguishes it from term-level siblings such as tribonacci or trib_index without needing to open their schemas.

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 states a precondition ('lo must not pass hi') and the valid index domain (0 to 4096), which is real usable guidance. However, it gives no explicit routing advice relative to the many sibling sum tools or term-level tools, so an agent must infer when this is the right choice over tribonacci or trib_index.

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