Skip to main content
Glama

ScorpTech x402 Tools

Pell Sum

pell_sum
Read-onlyIdempotent

The sum of Pell numbers, or companion Pell-Lucas numbers, from lo through hi inclusive. seq is p or q. lo must not pass hi. Each index runs from 0 to 8192. Returns JSON with: lo, hi, seq, 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/pell-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": "pell_sum"
  }
}

Input Schema

NameRequiredDescriptionDefault
hiYes
loYes
seqNop

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, open-world, so the safety profile is covered. The description still adds real value beyond them: the exact output fields (lo, hi, seq, count, value), the hard index bound, and the payment model ($0.001 USDC per successful call via x402, plus an equivalent HTTPS endpoint). Only the failure/error behavior when lo > hi is unstated.

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 — the operation and parameter semantics come first, then return shape, then pricing/endpoint. Sentences are short and each carries information, though the trailing pricing and URL lines read as appended metadata rather than integrated 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 description compensates by listing the exact JSON return keys. Combined with range bounds, ordering constraint, and cost, an agent has enough to call this correctly; only error behavior and the distinguishing meaning of p vs q are missing.

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 parameter meaning and it largely does: lo and hi are defined as an inclusive index range bounded at 0–8192 with an ordering constraint. The seq parameter is only restated as 'p or q' without explaining what each sequence variant means, which is the one meaningful gap.

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 computation (sum of Pell numbers or companion Pell-Lucas numbers over an inclusive index range) with a clear verb-like operation and resource. It is distinguishable from a plain 'pell' sibling because it explicitly says 'sum ... from lo through hi inclusive'. It stops short of naming which sibling to use instead for single-term or other sequence queries.

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 constraints are stated: lo must not pass hi and each index runs 0 to 8192, which tells the agent how to call it legally. However, there is no guidance on when to pick this over sibling tools such as pell, pell_lucas, or alt_sum, so the routing decision is left to inference.

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