Skip to main content
Glama

ScorpTech x402 Tools

Jacobi

jacobi
Read-onlyIdempotent

The Jacobi symbol (a/n). n must be odd and positive. The value is -1, 0, or 1. An even or non-positive n is rejected. Returns JSON with: value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/jacobi

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>",
      "n": "<n>"
    },
    "name": "jacobi"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description adds genuinely new behavioral context: the rejection rule for invalid n, the shape of the response ('Returns JSON with: value'), the cost ($0.001 USDC per successful call, x402 on Base or Solana), and an alternate HTTPS endpoint. It stops short of describing what an error response looks like when n is rejected, which is the remaining behavioral gap.

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 short and front-loaded with the definition and the domain constraint, then the return shape, then pricing and the endpoint. Every sentence carries information, though the pricing/HTTPS sentence is somewhat promotional and could be trimmed if brevity were the priority.

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?

There is no output schema, but the description compensates by stating the response field ('value') and its possible values, plus the invalid-input behavior. For a two-parameter pure-computation tool with strong annotations, only the semantics of parameter a and the error payload format are 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 description must carry parameter meaning. It explains n's constraint (must be odd and positive) but says nothing about a — not that a may be any integer, negative, or up to 200 digits per the pattern. Half the parameters are therefore left to inference from the formula notation alone.

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 precise mathematical function with its notation '(a/n)', its codomain (-1, 0, or 1), and the domain restriction on n. An agent knows exactly what is computed; the only shortfall is that it does not contrast with any sibling (e.g. other number-theoretic symbol tools), which is a minor gap given the function name is unambiguous.

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 is implied through the validity constraint 'n must be odd and positive' and 'An even or non-positive n is rejected', which tells the agent the preconditions for calling. However, it gives no guidance on when to prefer this tool over an alternative symbol or factorization tool, and no exclusion guidance beyond the n constraint.

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