Skip to main content
Glama

x402-is-fermat-prime

Is Fermat Prime: Checks whether value is prime and value minus one is a power of two 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
valueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  2. Changed1 schema field changed
    • addedInput schema / properties / value
      Added value: +{
      +  "description": "Value to process",
      +  "type": "string"
      +}
  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 are provided, so the description carries the full burden. It does add real behavioral context — a 5-call free trial per signed wallet, implying a paid/rate-limited service — but says nothing about the return value (presumably boolean), input size limits, or failure behavior for non-decimal input.

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 compact clauses: the predicate definition front-loaded, then the trial/pricing note. No waste, though the emoji-prefixed pricing note is arguably promotional rather than operational.

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?

For a predicate tool with no annotations and no output schema, the description should state the boolean return and the accepted input format. Neither is present, and the string-typed numeric parameter is left ambiguous, so an agent cannot call it confidently.

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 coverage is 0% and the single 'value' parameter is typed only as a string with no description. The description references 'value' but never clarifies format (decimal? hex? arbitrary-precision?) despite the string type being a meaningful choice for what is numerically a number. This is a substantive gap.

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

Purpose5/5

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

States a specific predicate and spells out the exact mathematical condition ('value is prime and value minus one is a power of two'), which is more than a restatement of the name. An agent can distinguish this from siblings like x402-is-fermat or x402-is-mersenne-prime without opening the schema.

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 of the predicate implies when it applies, but there is no explicit when-to-use/when-not guidance and no sibling is named as an alternative (e.g. x402-is-fermat vs x402-is-fermat-prime-num). Adequate but leaves routing to inference.

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