Skip to main content
Glama

ScorpTech x402 Tools

Franel Sum

franel_sum
Read-onlyIdempotent

The sum of the Franel numbers F(0) through F(n). Through 0 it is 1, through 1 it is 3, through 4 it is 415, and through 6 it is 17851. n runs from 0 to 16. Returns JSON with: n, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/franel-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": {
      "n": "<n>"
    },
    "name": "franel_sum"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint:false, and openWorldHint, and the description adds genuinely non-obvious context: the exact USDC price per successful call, the x402 payment scheme, the supported chains, and a direct HTTPS endpoint. It does not explain behavior on failure, such as whether a failed call is billed or what happens when n is out of range beyond the schema's maximum.

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 description is front-loaded with the core definition, followed by a validation ladder of sample outputs, the domain, the return shape, and then pricing and an endpoint. The sample values are dense but each one serves to validate correct invocation; the pricing and URL sentences are compact. The structure is slightly list-like but adds no filler.

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 simple single-parameter numeric tool, the description covers the domain, sample values, return shape (n and value), and pricing, so an agent has what it needs. The main omissions are the output format details (field types, value magnitude) and error behavior, which are minor for a tool of this complexity.

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 coverage is 0% for the single parameter n, so the description must compensate, and it partly does: it states that n runs from 0 to 16 and gives concrete outputs at specific n values, which pins down the indexing convention. It does not explain whether n is an inclusive upper bound (implied by 'through') or clarify notation, so meaning is added but is not fully specified.

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 names a specific operation: the sum of the Franel numbers from F(0) through F(n), and it gives concrete values at n=0, 1, 4, and 6, so an agent can confirm the semantics. It does not explicitly distinguish this tool from the sibling `franel` (the non-sum version), but the verb 'sum' plus the term 'through' makes the distinction inferable rather than stated.

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 explicit guidance on when to choose this tool over `franel` or over the other *_sum siblings. The domain constraint (n from 0 to 16) and the sample values are indirect usage guidance, but nothing states when it is appropriate, what the prerequisites are, or which alternative to use instead.

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