Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-is-circular-prime

Is Circular Prime: Checks whether every rotation of the digits of a number forms a prime 🆓 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-circular-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. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses a commercial trait — 5 free trial calls per signed wallet — which is real behavioral context an agent cannot get from the schema, but it says nothing about the returned value (presumably a boolean), error behavior for non-numeric input, or what happens after the free tier.

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 sentence defining the predicate plus a short pricing note — front-loaded and free of padding. The emoji/trial banner is slightly noisy but carries genuine information.

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, the reader can call it, but the description omits the result shape and input-format expectations, which matters because the parameter is a string rather than a number. Adequate but with clear gaps for a math-predicate tool.

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% for the single parameter, so the description must compensate; it only conveys that the argument is a number whose digit rotations are examined. It does not clarify that the parameter is typed as a string, whether leading zeros or sign characters are allowed, or how malformed input is handled.

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 gives a specific predicate verb and defines the property in-line ("Checks whether every rotation of the digits of a number forms a prime"), which clearly separates it from siblings like is-prime or is-palindromic-prime. It does not explicitly name a sibling to contrast with, 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?

The definition implies the appropriate use case (testing a number for the circular-prime property), but there is no explicit when-to-use/when-not guidance or pointer to alternative prime predicates among the many siblings. The agent must infer selection from the mathematical definition alone.

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.