Skip to main content
Glama

EAN-13 check

ean13_check
Read-onlyIdempotent

Validate an EAN-13 barcode by its mod-10 checksum (odd positions x1, even positions x3).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes13-digit EAN-13 barcode; spaces/dashes allowed.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolNo
scopeNo
validYes
reasonYes
countryNo
normalizedNo

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent behavior. The description adds algorithmic transparency by specifying the exact checksum calculation (odd positions x1, even positions x3), making it clear the tool only mathematically validates the barcode rather than confirming real-world product existence.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, tightly worded sentence that front-loads the core purpose and immediately gives the algorithmic detail. There is no filler or repetition of the schema or annotations.

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

Completeness5/5

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

For a simple single-parameter validator with full schema coverage, an output schema, and read-only/idempotent annotations, the description provides enough context. The checksum algorithm is specified, and no critical behavioral detail needed to call the tool correctly is missing.

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 coverage is 100%; the parameter `code` is fully described in the schema as a 13-digit EAN-13 barcode with spaces/dashes allowed. The tool description adds no new parameter meaning beyond what the schema already provides, so the baseline score of 3 is appropriate.

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

Purpose5/5

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

The description states a specific verb ('Validate'), a specific resource ('an EAN-13 barcode'), and the validation mechanism ('mod-10 checksum'). This clearly distinguishes it from generic check tools like luhn_check by specifying odd/even position multipliers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use the tool: when validating an EAN-13 barcode. However, it does not explicitly state when not to use it or mention alternatives such as luhn_check or ean-specific registry checks, leaving some routing to inference.

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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool targets a distinct identifier type or specific function (e.g., IBAN vs. EIN vs. block info), with no overlap even among similar validation routines. The batch and rental tools combine distinct sub-checks without ambiguity, making misselection unlikely.

Naming Consistency4/5

Tool names are uniformly snake_case and mostly follow a descriptive pattern, but the action verbs vary (e.g., 'check', 'format', 'info', 'guard', 'verdict') rather than a single verb_noun structure. While clearly readable, the pattern is not perfectly uniform.

Tool Count2/5

At 28 tools, the server feels like a broad utility pack rather than a focused domain. The count exceeds the 'heavy' threshold and includes three distinct sub-domains (financial identifiers, rental fraud, on-chain queries), making the surface area hard to navigate coherently.

Completeness4/5

The identifier validation coverage is thorough (most common checksums), rental checks cover risk, deposit, and verdict, and on-chain tools handle balances, activity, and settlement history. Minor gaps exist (e.g., no token transfer history, no generic identifier detection) but agents can likely work around them.

Resources