Skip to main content
Glama

ScorpTech x402 Tools

Jacobsthal Add

jacobsthal_add
Read-onlyIdempotent

The Jacobsthal addition rule. (L(a)*J(b) + J(a)*L(b)) / 2 is J(a+b). a+b must be at most 8192. Returns JSON with: a, b, 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/jacobsthal-add

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": {
      "a": "<a>",
      "b": "<b>"
    },
    "name": "jacobsthal_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
bYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantive context beyond them: a paid x402 call at $0.001 USDC per successful call on Base or Solana, the joint bound on a+b, and an explicit list of returned fields. That cost and billing disclosure is exactly the kind of behavior an agent cannot infer from annotations.

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 mathematical definition is front-loaded and the constraint, return shape, and pricing follow in a tight sequence with almost no filler. The absolute HTTPS URL is somewhat bulky but is functional information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 enumerating the response keys (a, b, n, value), and it covers the payment model and the input bound. For a two-parameter pure-computation tool, nothing needed to invoke it correctly is missing.

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 description coverage is 0%, so the burden shifts to the description, which does clarify that the 8192 limit applies to the sum a+b rather than to each argument independently — a real constraint the per-property schema cannot express. However, it says nothing about null/zero handling or the semantic meaning of the returned 'n' field.

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 and even states the defining identity, (L(a)*J(b) + J(a)*L(b)) / 2 = J(a+b), so an agent knows exactly what is computed. It does not explicitly distinguish itself from near-neighbors like jacobsthal_sum or jacobsthal_lucas, which costs it a point.

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?

It states the domain precondition a+b <= 8192, which is genuinely useful, but gives no guidance on when to choose this over sibling tools such as jacobsthal_sum or jacobsthal_lucas. The HTTPS/pricing sentence is a transport alternative, not tool-selection guidance.

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