Skip to main content
Glama

x402-credit-card-type

Credit Card Type: Checks a card number with the Luhn algorithm and returns valid, type and length 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
cardNo
numberNo

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

B3/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. It does disclose the underlying algorithm (Luhn) and the return fields (valid, type, length), plus the trial-call constraint, which is genuine behavioral context. It says nothing about handling of malformed input, error responses, or authentication beyond the wallet hint.

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?

Effectively one line, front-loaded with the operation and result, with no padding in the core sentence. The emoji and trial-call promotion are minor noise but do not bury the substance.

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 validator with no output schema, the description usefully hints at the return shape (valid, type, length), which partially fills the gap. However, the unexplained two-parameter input and absent usage context leave an agent guessing on how to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and there are two undocumented parameters, 'card' and 'number', whose distinction is left completely unexplained. The description says 'card number' as if it were one input, so it does not compensate for the ambiguity it should resolve.

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?

Names a specific verb (checks/validates) and resource (card number) and even names the algorithm (Luhn) and return fields (valid, type, length). It does not, however, distinguish itself from the many near-identical siblings such as x402-credit-card-validate, x402-is-credit-card, x402-card-validator, or x402-luhn, so an agent cannot tell from the text alone which one to pick.

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 named alternative despite a large cluster of overlapping card-validation siblings. The only extra clause is a pricing/trial note ('5 free trial calls per signed wallet'), which is marketing rather than routing guidance.

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