x402-is-congruent
Is Congruent: Checks whether value modulo 48 falls in a fixed 23-entry residue set, returning a boolean 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No |
Is Congruent: Checks whether value modulo 48 falls in a fixed 23-entry residue set, returning a boolean 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| value | No |
Changes observed during successful MCP inspections.
Input schema / properties / value / descriptionRemoved value: -"Value to process"Input schema / properties / valueAdded value: +{
+ "description": "Value to process",
+ "type": "string"
+}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 disclose the return type (boolean) and the cost model ('5 free trial calls per signed wallet'), which is genuinely useful context for a paid x402 endpoint. However it omits whether the operation is pure/side-effect free, what happens with non-numeric strings, and what the fixed residue set actually is.
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?
One sentence, front-loaded with the computation and ending with the return type; the 'Is Congruent:' prefix is redundant with the name but costs little. The appended pricing emoji is compact and does not bloat the definition.
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 pure predicate with no output schema, the description covers the input meaning, the computation, and the boolean return. What is still missing is the definition of the residue set itself (an agent cannot interpret or trust a result without it) and behavior for the optional parameter being omitted.
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 description coverage is 0% for the single 'value' parameter, so the description must compensate. Saying 'value modulo 48' clarifies that 'value' is a number, which is not obvious from the untyped string schema, but it does not say whether decimals are accepted, how large values are handled, or what the default is given that 'value' is not required.
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?
States a specific predicate ('checks whether value modulo 48 falls in a fixed 23-entry residue set') plus the return type ('a boolean'), which is far more precise than the sibling names like x402-is-congruent imply. An agent can tell instantly that this is a numeric membership predicate, not a generic math evaluator.
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 when-to-use guidance or mention of an alternative among the many is-* siblings, and no explanation of what the 23-entry residue set represents or which problem it solves. The agent knows how it computes but not when it should reach for it.
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.