Skip to main content
Glama

ScorpTech x402 Tools

Leonardo Sum

leonardo_sum
Read-onlyIdempotent

The sum of Leonardo numbers from lo through hi inclusive. The sum from L(0) through L(5) is 34. lo must not pass hi. Each index runs from 0 to 4096. Past 15 digits the value 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-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": "leonardo_sum"
  }
}

Input Schema

NameRequiredDescriptionDefault
hiYes
loYes

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 declare readOnly, idempotent, non-destructive, openWorld, so the safety profile is covered. The description adds behavior the annotations cannot: the return type changes to a decimal string past 15 digits, and every call costs $0.001 USDC via x402 on Solana with an HTTPS fallback endpoint. The only gap is that the failure mode for lo > hi is not described.

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 core definition, then constraints, then example, then output format, then payment details — a sensible ordering with no filler. The pricing and HTTPS-endpoint sentence is operationally useful but visually crowds out the semantics; otherwise every sentence earns its place.

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 correctly compensates by telling the agent the return is an integer normally and a decimal string past 15 digits, plus a concrete example result. For a two-integer pure-computation tool this is nearly complete; only error behavior and pagination-free return shape are left implicit.

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 must carry the parameter meaning, and it largely does: lo and hi are inclusive indices, both bounded 0..4096, with the ordering constraint 'lo must not pass hi' that appears nowhere in the schema (which only has min/max). It falls short of stating boundary behavior or what an out-of-order call returns.

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?

Opens with a precise verb-and-resource statement: 'The sum of Leonardo numbers from lo through hi inclusive', which tells an agent exactly what is computed and over what range. It includes a worked example (L(0)..L(5) = 34) that disambiguates the indexing convention. It does not name or distinguish itself from the leonardo_index / leonardo_mod / leonardo siblings, so an agent must infer which variant to use from the names alone.

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: an agent can tell this is the range-sum variant of the Leonardo family, and the 'lo must not pass hi' sentence gives a precondition. However, there is no explicit guidance on when to choose this over leonardo_index or leonardo, and no mention of what happens if lo > hi (error vs empty sum) beyond the prohibition itself.

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