Skip to main content
Glama

ScorpTech x402 Tools

Goldbach Count

goldbach_count
Read-onlyIdempotent

How many Goldbach splits an even n has, with p <= q. 10 has 2, 20 has 2, and 100 has 6. n is even, from 4 to 10000. Returns JSON with: 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/goldbach-count

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_count"
  }
}

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 declare readOnly/idempotent/non-destructive, so the description's added value is what it contributes: a per-call price ($0.001 USDC via x402 on Base or Solana), an equivalent HTTPS endpoint, and the exact returned fields. Those payment/auth details are material to invocation and are not in the annotations. It does not say what happens on odd or out-of-range input, keeping it below a 5.

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 definition leads with the meaning and constraint, then examples, then output shape and cost. Dense and front-loaded; only the endpoint URL and price sentence add bulk, and both are operationally relevant.

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 names the returned fields (n, value) and the payment model, which covers what an agent needs to call and pay. The remaining gap is error/edge behavior for odd or out-of-range n.

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?

The single parameter has 0% schema description coverage, so the description must carry the meaning; it does by adding the parity constraint (n must be even) that the schema does not encode, plus the p <= q pairing convention that defines what is being counted. The range 4–10000 merely repeats the schema bounds.

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 precise verb and resource: counting Goldbach splits of an even n with the convention p <= q. Worked examples (10→2, 20→2, 100→6) pin down the counting convention. It does not explicitly contrast with related sibling tools like goldbach or goldbach_check, 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?

Applicability is implied by the domain constraint (n even, 4–10000), which tells the agent when the tool is valid, but there is no explicit statement of when to prefer this over sibling tools such as goldbach_check or odd_goldbach, and no handling guidance for invalid input.

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