Skip to main content
Glama

check_ean_safety

Validate an EAN, GTIN, or barcode against the EU Safety Gate/RAPEX recall database to screen products for safety alerts. Returns no-hit results with the required disclaimer.

Instructions

Validates an EAN, GTIN, or barcode against the official EU Safety Gate / RAPEX database. Important: Contains mandatory disclaimer when no hits are found.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_ean_safety"
  }
}

Input Schema

NameRequiredDescriptionDefault
eanNoEAN, GTIN or Barcode to verify against the EU Safety Gate / RAPEX database (e.g. 8, 12, 13, 14 digits)
barcodeNoOptional alternative barcode alias parameter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one non-obvious behavior: a mandatory disclaimer accompanies zero-hit results, which matters because 'no hits' is not the same as 'safe'. However, it says nothing about rate limits, permissions, result shape, or what a positive hit returns — gaps that matter for a compliance-check 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?

Two short sentences, nothing padded, and the core purpose is front-loaded. The second sentence is slightly vague ('Contains mandatory disclaimer' — contained where? in the response?), but it is not wasted space.

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?

For a two-parameter read-only check with no annotations and no output schema, the definition covers the what but not the return semantics — an agent cannot tell what a match record looks like or how to interpret an empty result beyond the disclaimer note. Adequate but leaves real interpretive gaps.

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 both parameters are already documented, and the description adds no format or precedence detail beyond them. In particular it does not explain the relationship between 'ean' and the alternative 'barcode' alias, which is the one ambiguity the schema leaves open.

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 (validates) and a specific resource (EAN/GTIN/barcode) against a named external database (EU Safety Gate / RAPEX). It is distinguishable from generic siblings like search_product_recalls, but it never explicitly contrasts itself with check_amazon_product or check_product_batch, which also take product identifiers.

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 alternatives, and no prerequisites (e.g. whether this is EU-only coverage or when a batch check is preferable). Usage is only implied by the verb 'validates'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.