Skip to main content
Glama

validate_gs1_identifier

Read-only

Use this tool to verify a GTIN/EAN barcode number (check digit, GS1 mod-10) or a GS1 Digital Link URL (the QR standard behind Sunrise 2027 retail QR codes and DPP data carriers). Returns whether the identifier is valid, the normalised GTIN-14, and the exact error if not. Use it before printing labels or QR codes so they conform to GS1. Deterministic, no account needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gtinNoGTIN/EAN-8/12/13/14 to validate.
digital_linkNoGS1 Digital Link URL to validate (e.g. https://id.example.com/01/09506000134352/21/SER123).

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses that the tool is deterministic, requires no account, and returns the validity status, normalized GTIN-14, and exact error on failure. This gives the agent a strong model of what to expect without needing to invoke the tool.

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?

The description is efficient: three sentences, with the main purpose front-loaded and supporting behavior placed at the end. Some parenthetical detail about Sunrise 2027 and DPP is informative but not strictly necessary, keeping it from a perfect score.

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

Completeness4/5

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

The description covers the tool's inputs, outputs, and usage timing, which is strong given there is no output schema. It does not explicitly state what happens when both gtin and digital_link are provided or when neither is provided, which is a minor gap for a tool with zero required parameters.

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%, so the description adds no essential parameter meaning beyond what the schema already documents. It does clarify that only one identifier type (GTIN or Digital Link) is expected at a time, but the individual parameter descriptions already carry the semantic load.

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 names a specific verb ('verify') and a clear resource scope (GTIN/EAN barcode numbers and GS1 Digital Link URLs). It also states the return value and error behavior, which makes the tool's purpose unambiguous and distinguishes it from sibling creation/DPP-readiness tools.

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

Usage Guidelines4/5

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

The description gives explicit guidance: use it before printing labels or QR codes to ensure GS1 conformance. It does not name alternative tools or state exclusions, but the context is clear enough for an agent to know when this validation step is appropriate.

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

A4.3/5.0
Disambiguation4/5

Each tool has a distinct role in a DPP/twin creation workflow, but create_product_twin and create_data_carrier both produce twin-resolving URLs and could be confused by an agent focused on QR generation. Similarly, check_dpp_requirements and validate_dpp_readiness are adjacent, though their descriptions clearly separate regulatory information from catalogue readiness.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern using check_, create_, or validate_. The naming makes the action and object clear across the entire set.

Tool Count5/5

Six tools cover the DPP lifecycle scope from requirements lookup through readiness validation, twin creation, DPP issuance, and data carrier generation. The set is well-scoped and each tool earns its place.

Completeness4/5

The core DPP/twin creation workflow is covered end-to-end, including pre-validation, GS1 identifier checks, twin creation, DPP issuance, and QR carrier generation. The set lacks read/update/delete operations for existing twins or DPPs, which is a minor but notable gap if lifecycle management is expected.

Resources