Skip to main content
Glama

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. Price: $0.001 USDC per successful call (x402, 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 establish read-only, idempotent, open-world, and non-destructive behavior. The description adds material context beyond that: a $0.001 USDC x402/Solana price per successful call, an HTTPS endpoint, and the a+b cap. It does not explicitly say the tool returns J(a+b), but the formula strongly implies it.

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 rule and formula are front-loaded, followed by the cap and then pricing/endpoint details. It is compact and each sentence carries useful information, though the pricing and endpoint clause is slightly appended rather than integrated.

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 two-parameter math computation with no output schema, the description gives the identity, the key domain constraint, the cost, and an alternate HTTPS endpoint. The main omission is an explicit statement that the return value is the Jacobsthal number J(a+b).

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 the load. It assigns a and b roles in the L/J formula and adds an important a+b <= 8192 constraint that the schema's per-parameter maxima do not express. It still does not explicitly define what J and L denote or spell out that a and b are Jacobsthal indices.

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 the operation ('Jacobsthal addition rule') and supplies the exact identity, making it clear the tool computes J(a+b) from two indices. It does not explicitly distinguish this from siblings like jacobsthal, jacobsthal_sum, or jacobsthal_lucas, so sibling differentiation is only implied.

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?

The only usage condition given is the 'a+b must be at most 8192' cap. There is no guidance on when to choose this over jacobsthal, jacobsthal_sum, or jacobsthal_power despite many closely related siblings.

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