Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-ean

EAN: Validate EAN barcodes. 🆓 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": {
      "code": "<code>"
    },
    "name": "x402-ean"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "code"
      +]
  2. Changed1 schema field changed
    • removedInput schema / properties / code / description
      Removed value: -"Code to process"
  3. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and mostly does not meet it. It discloses the billing model ('5 free trial calls per signed wallet'), which is genuinely useful operational context, but says nothing about what a validation result looks like, what happens on a malformed or non-EAN input, or whether errors are thrown or returned as invalid.

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 clauses, front-loaded with the verb and resource, with no wasted prose. The emoji-and-promo fragment is minor noise but does not obscure the purpose.

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?

With no annotations, no output schema, and an undocumented parameter, the description should explain the result shape and input format, and it does neither. For a validation tool where the return value is the entire point, that is a material gap.

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% and the single required 'code' parameter is undocumented. The description implies the parameter is the barcode string but adds no format detail such as accepted lengths (EAN-8 vs EAN-13), digit-only constraints, or checksum expectations, all of which an agent needs to call this correctly.

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 EAN barcodes'. An agent immediately knows the operation. However, it draws no distinction from near-identical siblings like x402-ean-validate and x402-is-ean, so the agent cannot tell which one to pick without opening schemas.

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 versus the several overlapping EAN siblings, nor any prerequisites beyond a vague pricing note. The only contextual sentence is about free trial calls, which is commercial information, not usage direction.

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.