Skip to main content
Glama

specgrid-eu-compliance

EU GPSR (2023/988) Compliance Pack & Safety QR

gpsr_compliance_pack
Read-onlyIdempotent

Validate Regulation (EU) 2023/988 General Product Safety Regulation (GPSR) Art. 9/16/19 manufacturer and EU-27 Responsible Person records, block prohibited marketing tracking URL parameters (utm_*, fbclid, gclid, msclkid, _ga), and emit a clean tracking-free safety QR SVG. Stateless, deterministic, read-only with zero storage; returns valid, regulation, normalized complianceRecord, and printable qrSvg (returns isError=true if EU RP country is outside EU-27, URL is non-HTTPS, or tracking params exist). Use for Amazon EU, Shopify, and hardware product safety packaging labels; unrelated to tax invoicing tools.

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": {
      "productName": "<productName>",
      "modelOrSku": "<modelOrSku>",
      "manufacturer": "<manufacturer>",
      "euResponsiblePerson": "<euResponsiblePerson>",
      "safetySheetUrl": "<safetySheetUrl>",
      "warningsByLang": "<warningsByLang>"
    },
    "name": "gpsr_compliance_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelOrSkuYesProduct model number, SKU, or type identifier required by EU GPSR Art. 9(5) (e.g. "SG-HUB-X4").
productNameYesConsumer or industrial product name shown on the GPSR compliance label (e.g. "Industrial Sensor Hub X4").
manufacturerYesProduct manufacturer contact details required by EU GPSR Art. 9(6).
batchOrSerialNoOptional batch, lot, or serial traceability code (e.g. "BATCH-2026-11").STANDARD
safetySheetUrlYesClean HTTPS URL pointing to multilingual safety instructions; must not include utm_*, fbclid, gclid, msclkid, or _ga parameters.
warningsByLangYesMap of ISO 639-1 EU language codes to mandatory safety warnings (at least 1 entry, e.g. {"en": "Disconnect power before servicing.", "es": "Desconectar antes de manipular."}).
euResponsiblePersonYesMandatory EU-27 economic operator / Responsible Person under EU GPSR Art. 16 & 19.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / batchOrSerial / default
      Added value: +"STANDARD"
    • addedInput schema / properties / batchOrSerial / description
      Added value: +"Optional batch, lot, or serial traceability code (e.g. \"BATCH-2026-11\")."
    • addedInput schema / properties / euResponsiblePerson / description
      Added value: +"Mandatory EU-27 economic operator / Responsible Person under EU GPSR Art. 16 & 19."
    • addedInput schema / properties / euResponsiblePerson / properties
      Added value: +{
      +  "countryCode": {
      +    "description": "ISO 3166-1 alpha-2 country code of an EU-27 Member State (e.g. \"DE\", \"ES\", \"FR\", \"NL\").",
      +    "type": "string"
      +  },
      +  "electronicAddress": {
      +    "description": "Email address or HTTPS contact URL of the EU Responsible Person.",
      +    "type": "string"
      +  },
      +  "name": {
      +    "description": "EU Responsible Person legal name.",
      +    "type": "string"
      +  },
      +  "postalAddress": {
      +    "description": "Full physical postal address inside the EU.",
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / euResponsiblePerson / required
      Added value: +[
      +  "name",
      +  "postalAddress",
      +  "countryCode",
      +  "electronicAddress"
      +]
    • addedInput schema / properties / manufacturer / description
      Added value: +"Product manufacturer contact details required by EU GPSR Art. 9(6)."
    • addedInput schema / properties / manufacturer / properties
      Added value: +{
      +  "electronicAddress": {
      +    "description": "Email address or HTTPS contact URL for consumer safety inquiries.",
      +    "type": "string"
      +  },
      +  "name": {
      +    "description": "Manufacturer legal or registered trade name.",
      +    "type": "string"
      +  },
      +  "postalAddress": {
      +    "description": "Full physical postal address of manufacturer.",
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / manufacturer / required
      Added value: +[
      +  "name",
      +  "postalAddress",
      +  "electronicAddress"
      +]
    • addedInput schema / properties / modelOrSku / description
      Added value: +"Product model number, SKU, or type identifier required by EU GPSR Art. 9(5) (e.g. \"SG-HUB-X4\")."
    • addedInput schema / properties / productName / description
      Added value: +"Consumer or industrial product name shown on the GPSR compliance label (e.g. \"Industrial Sensor Hub X4\")."
    • addedInput schema / properties / safetySheetUrl / description
      Added value: +"Clean HTTPS URL pointing to multilingual safety instructions; must not include utm_*, fbclid, gclid, msclkid, or _ga parameters."
    • addedInput schema / properties / warningsByLang / additionalProperties
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / warningsByLang / description
      Added value: +"Map of ISO 639-1 EU language codes to mandatory safety warnings (at least 1 entry, e.g. {\"en\": \"Disconnect power before servicing.\", \"es\": \"Desconectar antes de manipular.\"})."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already declare read-only, idempotent, non-destructive, and closed-world behavior, but the description adds substantial context beyond them: statelessness, determinism, zero storage, returned fields, and precise isError=true conditions for non-EU-27 RP countries, non-HTTPS URLs, and tracking parameters.

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 dense but front-loaded, moving from core validation and QR generation to return values and error conditions. It contains no filler, though the first sentence is long and could be split for easier scanning.

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 complex tool with seven parameters, nested objects, and no output schema, the description is complete enough to call correctly. It explains the returned fields and the exact error conditions, so an agent does not need an output schema to understand the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description still adds value by naming the prohibited tracking parameters and explaining the validation failures tied to the EU Responsible Person country and safetySheetUrl, which clarifies parameter constraints beyond the schema text.

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 uses specific verbs and resources: validate EU GPSR manufacturer and Responsible Person records, block prohibited tracking parameters, and emit a tracking-free safety QR SVG. It also explicitly distinguishes the tool from tax invoicing siblings, so an agent can identify its purpose without opening the schema.

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?

It gives clear usage context for Amazon EU, Shopify, and hardware product safety packaging labels, and explicitly states it is unrelated to tax invoicing tools. It does not name a specific alternative tool, but the exclusion is sufficient to steer away from the tax-focused siblings.

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