Skip to main content
Glama

ScorpTech x402 Tools

Apery Prime

apery_prime
Read-onlyIdempotent

Whether the Apery number A(n) is prime. A(1) and A(2) are prime. A(0), A(3), A(5), and A(8) are not. n runs from 0 to 11. 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/apery-prime

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": "apery_prime"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuine context beyond them: the return fields (n, value), the $0.001 USDC x402 payment requirement, and an equivalent HTTPS endpoint. However it does not clarify whether 'value' is a boolean or a formatted string, which is the key behavioral unknown for an agent parsing the result.

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?

Front-loaded with the core predicate, then examples, bounds, return shape and cost, with no filler. The URL and pricing sentences are long but earn their place for a paid endpoint.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description carries the return-value burden and only names the fields 'n, value' without stating what 'value' contains. Bounds, cost model and transport are covered, but the ambiguity of 'value' and the undefined Apery sequence leave gaps for a one-parameter numeric predicate.

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 coverage is 0% — the single parameter n has only integer bounds with no description. The description compensates by restating the 0–11 range and giving example values, but never defines what an Apery number is or what 'n' indexes, so the agent must guess the underlying sequence.

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?

States a specific predicate: whether the Apery number A(n) is prime, with concrete example outputs for n=0,1,2,3,5,8. That makes the operation unmistakable and distinguishes it from the sibling 'apery' (which presumably returns the value itself), though it never says so explicitly.

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?

The description pins the domain (n from 0 to 11) and shows sample results, which implicitly tells the agent when the tool applies. It gives no explicit when-to-use vs alternative guidance — e.g. that 'apery' returns A(n) rather than primality — and no exclusions.

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