Skip to main content
Glama

ScorpTech x402 Tools

Leonardo Fib

leonardo_fib
Read-onlyIdempotent

The Leonardo identity L(n) = 2*F(n+1) - 1. F is the Fibonacci sequence with F(0) = 0 and F(1) = 1. For n = 10, L is 177 and F(11) is 89, so the difference is 0. n runs from 0 to 4096. Past 15 digits a term is a decimal string. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/leonardo-fib

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds real context beyond them: the 0-4096 domain limit, the output-type switch to a decimal string past 15 digits, a per-call price of $0.001 USDC via x402 on Solana, and an equivalent HTTPS endpoint. The only weakness is a slightly garbled example ('L is 177 and F(11) is 89, so the difference is 0'), which could confuse rather than clarify.

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 and each sentence carries information (formula, base cases, example, range, output format, price, endpoint). The odd 'difference is 0' example sentence is the one piece that fails to earn its place because it is not clearly interpretable.

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 single-parameter numeric tool with no output schema, the description covers definition, domain, result encoding, and payment/transport details, which is enough to call it correctly. The main omission is any relationship to the closely named sibling tools, which matters given the very large sibling set.

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%, so the description must carry parameter meaning; it does define n through the identity and example, and restates the 0-4096 bound already in the schema. It never explicitly states that n is the index argument or explains error behavior for out-of-range values, so it only partially compensates.

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 a precise mathematical definition, L(n) = 2*F(n+1) - 1, with a worked example, so an agent knows exactly what value is computed. It does not differentiate itself from siblings leonardo, leonardo_index, leonardo_mod, or leonardo_sum, which likely compute related quantities, leaving ambiguity about which Leonardo variant to pick.

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?

There is no when-to-use guidance: no statement of what problem this solves versus the many related sequence tools, and no exclusion or alternative named. The only contextual details given are the valid n range, pricing, and an HTTPS fallback, which inform cost/access but not tool selection.

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