Skip to main content
Glama

Digital Product Passport (DPP) & ESPR Payload Validator

dpp_payload_validator
Read-onlyIdempotent

[Deterministic ESPR & DPP validation. Pure calculation, read-only, side-effect free]. Audits Digital Product Passport (DPP) payloads under EU ESPR Regulation 2024/1781, validates GS1 Digital Link URIs, verifies REACH Art. 33 Candidate List SVHC thresholds (>0.1% w/w), and scores circularity & repairability index. Usage: Use this tool to validate product passport schemas for batteries, textiles, electronics, and construction products before EU market entry. Returns: JSON object with { isValidDpp: boolean, digitalLinkValidation: object, svhcCompliance: object, circularityMetrics: object, carbonMetrics: object, esprComplianceStatus: string }.

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": {
      "productCategory": "<productCategory>",
      "gtin": "<gtin>"
    },
    "name": "dpp_payload_validator"
  }
}

Input Schema

NameRequiredDescriptionDefault
gtinYesGTIN-13 or GTIN-14 barcode identifier
serialNumberNoUnique item serial number
digitalLinkUriNoGS1 Digital Link URI string
productCategoryYesTarget product sector under ESPR / Battery Regulation
repairabilityScoreNoRepairability score from 0.0 to 10.0
carbonFootprintKgCo2eNoProduct lifecycle carbon footprint (kg CO2e)
expectedLifespanYearsNoExpected functional lifespan in years
recycledContentPercentageNoCertified recycled content percentage (0-100)
substancesOfVeryHighConcernNoREACH Candidate List SVHC substances
recycledCertificationStandardNoCertification scheme (e.g. GRS, ISCC PLUS, RecyClass)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered; the description adds that execution is deterministic and a "pure calculation," which matters for reproducibility expectations. It also enumerates the return object despite having no output schema, which is genuinely additive. It does not state what happens on a failing payload (exception vs isValidDpp=false) or any rate/size limits.

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?

Structure is good: bracketed one-line characterization, then domain coverage, then a labeled "Usage" block, then a labeled "Returns" block, so the reader can stop early. Minor waste exists in restating the title's scope and in the annotations-echoing "read-only, side-effect free" phrase, but nothing is padded.

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?

For a 10-parameter validator with no output schema, the description supplies the return shape, the regulatory basis, and the market-entry purpose, which is close to what an agent needs. The remaining gap is failure semantics: whether a non-compliant payload returns isValidDpp=false with details or aborts, which matters for a tool whose whole job is producing verdicts.

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 coverage is 100%, so the baseline is 3; the description earns above it by attaching the actual regulatory rule to a parameter, the REACH SVHC >0.1% w/w threshold that governs substancesOfVeryHighConcern, and by tying digitalLinkUri to GS1 Digital Link validity rather than mere string format. It does not explain the 0-10 repairability scale or how carbonFootprintKgCo2e feeds carbonMetrics.

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 against a specific resource set: "Audits Digital Product Passport (DPP) payloads," "validates GS1 Digital Link URIs," "verifies REACH Art. 33 ... SVHC thresholds," "scores circularity & repairability." Named regulations (ESPR 2024/1781, REACH Art. 33) and the sector list make it clearly distinguishable from siblings like clp_ufi_code_validator or eudamed_udi_di_validator.

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?

"Use this tool to validate product passport schemas for batteries, textiles, electronics, and construction products before EU market entry" gives a clear triggering context and timing. It stops short of explicit exclusions or naming a sibling to use instead when the payload is a CLP hazard mixture or a UDI submission, so it lacks the when-not half of the guidance.

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