Skip to main content
Glama

x402-is-lucas-prime

Is Lucas Prime: Checks whether the integer value is prime and returns the boolean in result 🆓 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

C2.9/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, and it does disclose two useful traits: the answer is returned as a boolean in the 'result' field, and there is a per-wallet trial/payment constraint (5 free calls per signed wallet). However, it says nothing about invalid input handling (the value is typed as a string), negative/large-number behavior, or what a non-prime or non-Lucas result looks like, leaving meaningful behavioral gaps.

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?

Front-loaded single sentence stating the operation and return shape, followed by a short trial/pricing tag. No filler or repetition, though the emoji/trial boilerplate is generic across this family of tools rather than tool-specific.

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 one-parameter predicate with no output schema, the description covers the return location ('result') and the payment constraint, which is adequate baseline coverage. It falls short by never defining what a Lucas prime is or how the input must be formatted, so an agent could reasonably confuse it with the plain primality sibling.

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% – the single 'value' parameter is an undescribed string. The description partially compensates by specifying that the value is an integer, which is the key semantic clarification given the string type. It adds no format details (range limits, leading zeros, whitespace) beyond that.

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 states a verb and resource ('checks whether the integer value is prime and returns the boolean'), but it describes generic primality, not Lucas primality, while the tool name and sibling x402-is-prime both exist. An agent cannot tell from this text why it should call x402-is-lucas-prime instead of x402-is-prime, so the stated purpose is ambiguous at best and arguably misleading.

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 prerequisites, and no mention of the obvious alternative x402-is-prime or related siblings (x402-lucas-number, x402-lucas-series, x402-is-lucas-prime). The only extra context is a pricing/trial note, which does not help tool selection.

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