Skip to main content
Glama

ScorpTech x402 Tools

Fine Sum

fine_sum
Read-onlyIdempotent

The sum of Fine numbers from lo through hi inclusive. The sum from F(0) through F(6) is 85. lo must not pass hi. Each index runs from 0 to 80. Past 15 digits the value is a decimal string. 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/fine-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": "fine_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?

The annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The definition adds value beyond that: past 15 digits the value becomes a decimal string, the response shape (lo, hi, count, value) is described, and the cost is disclosed. It does not give the failure mode for out-of-range or inverted inputs beyond the stated constraint, which keeps it from a 5.

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 dense and front-loaded: purpose first, then constraints, then precision behavior, then return shape, then pricing and the alternative HTTPS endpoint. Nothing is obviously redundant, although the pricing and URL sentences are logistics rather than invocation guidance.

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 definition still lists the returned fields, so the agent knows what to expect, and it covers precision, range limits, and cost. The remaining gap is that 'Fine numbers' is never defined, so an agent unfamiliar with the sequence cannot verify semantics without calling the tool.

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 coverage is 0%, so the description must compensate, and it does: it explains that lo and hi are indices into the Fine sequence, that the range is inclusive, that each index runs from 0 to 80, and that lo must not exceed hi, a constraint absent from the schema. The worked example F(0) through F(6) = 85 also grounds the parameters. This is adequate but does not fully define what a Fine number is.

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 definition says exactly what the tool does: a sum over Fine numbers over an inclusive index range, so the verb and resource are unambiguous. It does not distinguish the tool from sibling sum tools such as alt_sum or fine, especially the close sibling fine, which most likely produces individual terms, so an agent cannot infer routing from the text 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?

The definition gives real preconditions: lo must not pass hi, and each index runs from 0 to 80. However, it never states when to prefer this tool over the other *_sum siblings or over fine for individual terms, so usage guidance is implied by the name rather than stated.

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