x402-is-ugly
Is Ugly: Check whether a number is ugly: positive with only 2, 3, and 5 as prime factors. Provide value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Value to process |
Is Ugly: Check whether a number is ugly: positive with only 2, 3, and 5 as prime factors. Provide value.
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Value to process |
Changes observed during successful MCP inspections.
Input schema / properties / valueAdded value: +{
+ "description": "Value to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full behavioral burden, but "check whether" does communicate that this is a non-destructive predicate with no side effects. It still omits the result shape (boolean vs. explanation) and error behavior for invalid input, though those gaps are small for a pure predicate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The core definition is front-loaded in a single tight clause, and the whole description is two short sentences. The trailing "Provide value" is largely filler that restates the schema and could be cut.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter mathematical predicate with no output schema, the description supplies the full definition needed to call it correctly. The only minor gap is behavior on out-of-domain inputs (zero, negatives, non-numerics), which the definition implies but does not state.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents the single parameter; baseline 3 applies. The description adds modest value by stating the input conceptually is "a number" even though the schema types it as a string, but "Provide value" duplicates the schema's "Value to process" rather than adding format details.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives a specific verb ("check whether") and, crucially, defines what an "ugly" number is mathematically (positive, prime factors only 2, 3, 5), so an agent does not need external knowledge. It does not, however, differentiate this tool from the near-identical sibling x402-is-ugly-number, which appears to do the same thing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to choose this tool versus the nearly identical x402-is-ugly-number sibling, and no stated edge-case behavior for non-integer, zero, or negative inputs. "Provide value" gestures at supplying input but is not usage guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.