Skip to main content
Glama

ScorpTech x402 Tools

Jacobsthal Sum

jacobsthal_sum
Read-onlyIdempotent

The sum of Jacobsthal numbers, or Jacobsthal-Lucas numbers, from lo through hi inclusive. seq is j or l. 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/jacobsthal-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": "jacobsthal_sum"
  }
}

Input Schema

NameRequiredDescriptionDefault
hiYes
loYes
seqNoj

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered externally. The description adds useful context beyond that: the return fields, the inclusive-range semantics, and the pricing/payment model, though it omits error behavior for invalid ranges.

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?

Compact and front-loaded: the core operation leads, followed by constraints, return shape, then pricing/endpoint. The pricing and HTTPS URL sentences are secondary but short enough not to bury the essentials.

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 3-parameter read tool with a clear math purpose, the description covers inputs, constraints, and the returned JSON fields, compensating for the absent output schema. Nothing critical to correct invocation is 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?

With 0% schema description coverage, the description carries the burden well: it explains lo/hi as an inclusive range bounded at 0–8192, states the lo<=hi ordering constraint, and clarifies seq's meaning ('j or l' = Jacobsthal vs Jacobsthal-Lucas). Only minor gaps remain (no explicit statement of what count/value represent).

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?

States a specific verb+resource: sum of Jacobsthal (or Jacobsthal-Lucas) numbers from lo through hi inclusive. It clearly distinguishes the two sequences via the seq flag, though it does not route the agent away from sibling tools like jacobsthal or jacobsthal_lucas.

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?

Provides inline constraints (lo must not pass hi, indices 0–8192, seq is j or l) that implicitly tell the agent the valid call shape, but there is no explicit when-to-use guidance or comparison against the many sibling sum tools.

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