Skip to main content
Glama

x402-prime

Prime: Prime number utilities — check, generate, factorize.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numberNoNumber to process

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

C2.6/5.0
Behavior2/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 not disclose how the three modes are selected, what the response looks like, whether 'generate' produces a list or a single value, or any limits on input size — all of which an agent needs for a compute-heavy numeric tool.

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?

A single short, front-loaded sentence with no padding; the operation list is easy to scan. It is efficient, though the leading 'Prime:' label is redundant with the name and costs a few characters of value.

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 multi-mode tool with no annotations and no output schema, the description is too thin. It never maps the advertised operations onto the single input parameter, so an agent cannot form a correct call, and the overlap with dedicated prime siblings is left unresolved.

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 100% for the single 'number' parameter, which per the rubric sets a baseline of 3. The description adds no syntax, range, or format detail, and notably does not explain how 'check', 'generate', and 'factorize' are distinguished when only one numeric input exists.

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 concrete operations (check, generate, factorize) on a recognizable resource (prime numbers), so the general purpose is inferable. But it opens with a tautological restatement of the tool name and gives no differentiation from the many overlapping siblings such as x402-is-prime, x402-prime-factors, and x402-prime-series, so an agent cannot tell when this umbrella tool is preferred over those.

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, no exclusions, and no named alternative. Given that dedicated siblings exist for each of the three advertised functions, the absence of routing guidance is a real gap rather than an omission of nicety.

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