Skip to main content
Glama

ScorpTech x402 Tools

Goldbach

goldbach
Read-onlyIdempotent

The Goldbach split of an even n with the smallest prime p, so n = p+q and p <= q. 10 gives 3 and 7. 20 gives 3 and 17. 4 gives 2 and 2. n is even, from 4 to 10000. Returns JSON with: n, p, q. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/goldbach

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

Input Schema

NameRequiredDescriptionDefault
nYes

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 cover the safety profile (readOnly, idempotent, non-destructive, open-world). The description adds genuinely non-obvious behavior: a per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint. That payment requirement materially affects whether and how an agent calls this tool, which is exactly the kind of context worth crediting.

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 core definition is front-loaded in the first sentence, followed by compact examples, return shape, price and endpoint. The three numeric examples are slightly redundant but small and clarifying; no sentence is filler.

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 still specifies the return payload (n, p, q), the input domain, the deterministic tie-break (smallest p), and the payment model. For a single-parameter pure-computation tool this is nearly self-sufficient; only the practical error behavior on invalid input is unstated.

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 parameter's meaning, and it does: n must be even and lies between 4 and 10000, plus it defines the output relationship n = p + q with p <= q. The parity constraint is absent from the schema, so this is real added meaning rather than restatement.

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 states a specific operation: return the Goldbach split of an even n, choosing the smallest prime p with p <= q, and it names the returned fields (n, p, q). An agent can tell this produces a decomposition rather than a boolean check or a count. It does not explicitly distinguish itself from siblings like goldbach_check or goldbach_count, so it stops short of a 5.

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 by the domain constraint 'n is even, from 4 to 10000' and by three worked examples (10, 20, 4), which let an agent infer valid input shape. There is no explicit when-to-use or when-not-to-use guidance and no reference to alternative tools for verification or counting.

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