Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-is-semi-prime

Is Semi Prime: Checks whether value has exactly two prime factors counted with multiplicity, such as 4 or 6 🆓 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": {
      "value": "<value>"
    },
    "name": "x402-is-semi-prime"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "value"
      +]
  2. Changed1 schema field changed
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  3. Changed1 schema field changed
    • addedInput schema / properties / value
      Added value: +{
      +  "description": "Value to process",
      +  "type": "string"
      +}
  4. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it does add the non-obvious commercial detail of 5 free trial calls per signed wallet, which is genuinely useful behavior beyond the schema. However it never states the return value (presumably a boolean), error behavior for non-integer input, or any size/precision limits on the checked value.

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?

One front-loaded sentence gives the definition and examples immediately, followed by a short pricing note. The label prefix and free-call emoji are slightly noisy but cost almost nothing.

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?

For a single-parameter predicate with no output schema and no annotations, the definition of the predicate is adequate, but the input contract (string-encoded integer, acceptable range) and the shape of the result are left implicit. An agent knows what the tool tests but not precisely what it must send or will receive.

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% for the single 'value' parameter, whose type is 'string' with no description. The examples '4 or 6' give partial meaning by showing decimal integer inputs, but they illustrate qualifying results rather than the accepted input format, leaving ambiguity about negative values, leading zeros, or very large numbers as strings.

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 with its mathematical definition and worked examples (4 and 6), so an agent can distinguish it from siblings like x402-is-prime or x402-is-prime-pair without opening a schema. It stops short of naming any sibling explicitly for contrast.

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?

No when-to-use or when-not-to-use guidance; nothing says to prefer x402-prime-factors when the factorization itself is needed, or to use x402-is-brilliant for the stronger two-equal-length-factors case. The only context given is a free-trial quota, which is a cost signal rather than 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.

Resources