Skip to main content
Glama

x402-ean-validate

EAN Validate: Validate an EAN barcode. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
eanNo
codeNo
inputNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / code / description
      Removed value: -"Code to process"
    • removedInput schema / properties / ean / description
      Removed value: -"Ean to process"
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
  2. First observed

TDQS

C2.7/5.0
Behavior2/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 add one genuinely useful behavioral fact: a quota of 5 free trial calls per signed wallet, implying a wallet/auth requirement and a paywall beyond that. But it never says what 'validate' returns, whether check-digit correctness or format/length is checked, or what happens on malformed input or exhausted quota.

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?

Two short sentences, purpose front-loaded, nothing redundant. The emoji and trial-call line are marketing-flavored but do convey a real constraint, so they are not pure waste. Slightly terse relative to the ambiguity it leaves behind.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No annotations, no output schema, and three undocumented parameters mean the description should be doing substantial work, and it does not. An agent cannot determine response shape, which field to use, or failure behavior from this definition. Adequate only as a name restatement, not as a complete specification.

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 description coverage is 0% across three parameters (ean, code, input) with none required, which is a real ambiguity: an agent cannot know which of three overlapping string fields to populate. The description supplies no parameter meaning at all beyond the word 'EAN' in prose, so it fails to compensate for the coverage gap.

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?

States a specific verb and resource: 'Validate an EAN barcode.' An agent can immediately tell this is a barcode-validation tool. However, it does nothing to distinguish itself from closely named siblings such as x402-is-ean, x402-isbn, x402-validate-isbn, or x402-upc-validate, leaving the boundary between them unstated.

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 mention of which alternative to pick for ISBN/UPC/GTIN inputs, and no prerequisites. The only contextual statement is a pricing note about free trial calls, which is commercial rather than usage guidance. An agent must infer selection from the tool name alone.

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