Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-prime

Prime: Prime number utilities — check, generate, factorize. 🆓 5 free trial calls per signed wallet

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": {
      "number": "<number>"
    },
    "name": "x402-prime"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "number"
      +]
  2. Changed1 schema field changed
    • removedInput schema / properties / number / description
      Removed value: -"Number to process"
  3. First observed

TDQS

C2.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add one genuinely useful behavioral fact — a quota of 5 free trial calls per signed wallet, implying an authenticated wallet requirement and a rate limit — but says nothing about what the call returns, how errors surface, or whether the operation is read-only and deterministic.

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?

Two short, front-loaded fragments with no wasted prose, and the core purpose appears first. The emoji and marketing-style pricing line are slightly off-register for a tool definition but occupy little space.

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

Completeness2/5

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

With no annotations, no output schema, and zero parameter documentation, the description is the only information source and it is insufficient: an agent cannot tell what a call returns, which of the three advertised operations it invokes, or what input format is legal. Given the dense sibling set of primality-test tools, this leaves too much unresolved.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single 'number' parameter, and the description does not compensate: it never explains whether the value is a single integer, a range, a count for generation, or a comma-separated list. The word 'string' in the schema plus 'factorize' in the description actively leaves the format ambiguous.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a resource (prime number utilities) and three verbs — check, generate, factorize — but never says which one a given call performs, and with a single 'number' parameter it is unclear how generation or factorization is selected. It offers no differentiation from close siblings such as x402-is-prime, x402-prime-factors, or x402-prime-series, which appear to cover the same ground.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: no statement of what input this tool expects versus the many specialized siblings (is-fermat-prime, is-mersenne-prime, prime-factors), and no exclusions. The only conditional content is a pricing note about free trial calls, which is not usage guidance.

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.