Skip to main content
Glama

x402-is-safe-prime

Is Safe Prime: Is Safe Prime

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueNoValue to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / value
      Added value: +{
      +  "description": "Value to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

D1.9/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden and delivers none of it: no statement of the expected output (boolean? 0/1?), no input constraints, no edge-case behavior (negative numbers, zero, non-integers), and no indication of side effects. The description adds zero context beyond the name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but the brevity is under-specification rather than conciseness: a verbatim duplication of the name earns no place. There is no front-loaded explanation of what the tool does, so the size is not justified.

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

Completeness1/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 must define the concept (a prime p where (p-1)/2 is also prime), the accepted input form, and the return shape. None of that is present, leaving an agent unable to invoke the tool confidently.

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?

There is a single parameter with 100% schema description coverage, so the baseline of 3 applies. The description adds no semantics at all, and the schema's own text ("Value to process") is only marginally informative for a numeric primality test, but the reliable schema coverage keeps this at the baseline rather than lower.

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

Purpose2/5

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

The description is a pure tautology: "Is Safe Prime: Is Safe Prime" simply repeats the tool name twice with no verb, resource, or scope added. While the name itself hints at a primality check, the description contributes nothing an agent could not already infer from the identifier, and it never says what a safe prime is or what is returned.

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 guidance, no alternatives, no exclusions are given. The sibling set contains x402-is-prime, x402-is-prime-pair, x402-is-sophie-germain, x402-is-twin-prime and many other predicate tools, but nothing here helps an agent decide which predicate applies.

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