Skip to main content
Glama

ScorpTech x402 Tools

Prime Triplet Count

prime_triplet_count
Read-onlyIdempotent

How many prime-triplet starters are at most n. Through 3 there are none, through 5 there is 1, through 13 there are 4, and through 17 there are 5. n runs from 1 to 5000. 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/prime-triplet-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": "prime_triplet_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
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 declare read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuinely new context: the output shape (n, value), a per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint — all things an agent needs before invoking a paid tool.

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 computation, then examples, then domain, then return shape and cost — a sensible front-loaded order with no filler. The sentences are packed and slightly run-on, but each carries information.

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 correctly enumerates the returned fields (n, value), and it discloses the paid-call model and alternate transport. For a single-integer, single-result computation that is close to complete; only the relationship to sibling prime tools is left unstated.

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 the load for the single parameter. It restates the 1–5000 domain already encoded in minimum/maximum, but the worked examples do add meaning by showing how n maps to output values, which is more than the schema alone conveys.

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 computation ('How many prime-triplet starters are at most n') with a clear resource and a counting verb, so it is distinguishable from a listing-style sibling like prime_triplet. It stops short of naming that sibling explicitly, so differentiation is inferable rather than stated.

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 counting framing and the worked examples (n=3 → 0, n=5 → 1, n=13 → 4, n=17 → 5), which show what kind of question this answers. There is no explicit when-to-use or when-not-to-use guidance relative to the many other prime-counting 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