Skip to main content
Glama

x402-ean

EAN: Validate EAN barcodes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoCode to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden and contributes almost nothing beyond the bare verb 'validate'. It does not disclose the return format (boolean vs. result object), which EAN variants are accepted (EAN-8 vs. EAN-13), or whether the input tolerates formatting like spaces or hyphens.

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?

One short sentence, front-loaded, with no wasted words. However, the brevity borders on under-specification rather than deliberate conciseness, given how much behavioral information is absent.

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?

Adequate for a minimal single-parameter validator, but incompletely specified: no output schema or annotations exist, and the description omits the return value and the scope of EAN formats covered. The near-identical siblings also create selection ambiguity that a complete definition would have resolved.

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?

Schema description coverage is 100%, so the schema already documents the single 'code' parameter. The description adds only the implicit context that the code should be an EAN barcode, which is marginal value; baseline 3 applies since the schema does the heavy lifting.

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 action ('Validate') and resource ('EAN barcodes'), so the core purpose is clear. However, it does not distinguish itself from near-identical siblings like x402-ean-validate, x402-is-ean, and x402-ean13-check, which all appear to perform the same validation. The phrasing is mildly tautological since 'EAN' appears both in the name and description.

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?

Provides no guidance on when to use this tool versus the several overlapping siblings (x402-ean-validate, x402-is-ean, x402-ean13-check). No exclusions, alternatives, or selection conditions are given, so an agent must guess which of the near-duplicate EAN validators to pick.

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