x402-is-credit-card-valid
Is Credit Card Valid: Checks whether the digits of value pass the Luhn mod-10 checksum, returning a boolean 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No |
Is Credit Card Valid: Checks whether the digits of value pass the Luhn mod-10 checksum, 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?
Annotations are absent, so the description carries the full behavioral burden. It usefully discloses the exact algorithm and boolean return, and hints at a pay-per-call model ('5 free trial calls per signed wallet'), but says nothing about input format expectations, edge cases, or error behavior.
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?
Front-loaded single sentence with the algorithm and return type stated immediately. The trailing '5 free trial calls per signed wallet' promotion is ancillary but brief and does not obscure the core meaning.
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 single-argument boolean utility with no output schema, the description adequately conveys the operation (Luhn check) and the return type, which is the key information an agent needs. Only minor gaps in input format guidance remain.
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 0% and the single 'value' parameter is undocumented in the schema. The description references 'value' and clarifies it is the digit string subjected to the checksum, which is meaningful but minimal and omits format/length expectations.
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 verb+resource ('Checks whether the digits of value pass the Luhn mod-10 checksum') and the return type (boolean). The explicit algorithm reference helps distinguish it from broader siblings like x402-credit-card-validate, though it doesn't name those alternatives directly.
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?
No when-to-use or when-not guidance. The agent must infer from the algorithm mention that this is a checksum-only check versus a full card validator/brand detector, but the description never routes between siblings such as x402-is-luhn or x402-credit-card-validate.
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.