Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-card-validator

Card Validator: Validate a credit card number (Luhn). 🆓 5 free trial calls per signed wallet

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "number": "<number>"
    },
    "name": "x402-card-validator"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "number"
      +]
  2. Changed1 schema field changed
    • removedInput schema / properties / number / description
      Removed value: -"Number to process"
  3. Changed1 schema field changed
    • addedInput schema / properties / number
      Added value: +{
      +  "description": "Number to process",
      +  "type": "string"
      +}
  4. First observed

TDQS

B3.2/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 behavioral burden. It does add genuine context that annotations could not: that validation is a Luhn checksum test (format check, not a real-card or liveness check), and that a signed wallet and per-call billing are involved. It stops short of saying what the tool returns (boolean vs. object), how it handles non-numeric input, or what happens when the free trial is exhausted.

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?

The operative clause comes first and the whole definition is two short sentences with no filler. The pricing/emoji tail is marketing rather than invocation guidance, a minor inefficiency but not distracting.

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 simple one-parameter tool this covers the core action, but with no output schema the description should state the return shape, and with no annotations it should note errors or input constraints. It is adequate to call the tool but leaves the agent guessing at results and edge cases.

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?

The single parameter is undocumented in the schema (0% coverage), and the description only implies it is the card number to check. It does not specify acceptable formats (spaces, dashes, length bounds) or whether the value is normalized before the Luhn check, so the agent must guess at input shape.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource - 'Validate a credit card number' - and even names the algorithm (Luhn), so the agent knows exactly what operation is performed. However, it does not distinguish itself from the many near-identical siblings such as x402-credit-card-validate, x402-is-credit-card-valid, and x402-validate-credit-card, so an agent choosing among them gets no help.

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 guidance on when to use this tool versus the several other credit-card validators in the catalog, and no stated preconditions or exclusions. The only usage-adjacent content is a promotional note about free trial calls, which does not help the agent select the tool.

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