Skip to main content
Glama
EUDR Compliance & TRACES-NT Agent

EUDR Compliance & TRACES-NT Agent

eudr_link_downstream_chain

Links a verified upstream TRACES-NT DDS reference to a downstream consignment under EUDR Article 4(8)/TARIC C082 rules, enabling reuse without farm coordinates; returns linked refs and taint status.

Instructions

Links an upstream EU TRACES-NT Due Diligence Statement (DDS) reference under EUDR Article 4(8) and TARIC C082 pass-through rules. Use for downstream operators or traders reusing a verified upstream DDS without re-submitting raw farm coordinates. Returns downstream_dds_ref, linked_upstream_ref, and taint_status.

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": {
      "operator_id": "<operator_id>",
      "operator_name": "<operator_name>",
      "operator_eori": "<operator_eori>",
      "upstream_dds_reference": "<upstream_dds_reference>",
      "consignment_mass_kg": "<consignment_mass_kg>"
    },
    "name": "eudr_link_downstream_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
operator_idYesInternal identifier for downstream operator.
operator_eoriYesDownstream operator EU EORI or VAT number (e.g. 'DE123456789012').
operator_nameYesLegal company name of the downstream operator or trader.
product_hs_codeNoOptional Harmonized System code of the finished product (e.g. '9403.30').
consignment_mass_kgYesNet mass of the downstream batch in kilograms (must be > 0).
product_descriptionNoOptional commercial description of the downstream finished goods.
upstream_dds_referenceYesOfficial EU TRACES-NT DDS reference number of upstream importer (e.g. 'EU-DDS-2026-ABC123XYZ').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.6
    • changedInput schema / properties / consignment_mass_kg / description
      Previous value: -"Net mass of the downstream batch in kilograms."New value: +"Net mass of the downstream batch in kilograms (must be > 0)."
    • addedInput schema / properties / consignment_mass_kg / minimum
      Added value: +0.01
    • changedInput schema / properties / operator_eori / description
      Previous value: -"Downstream operator EU EORI or VAT number."New value: +"Downstream operator EU EORI or VAT number (e.g. 'DE123456789012')."
    • changedInput schema / properties / product_hs_code / description
      Previous value: -"Optional Harmonized System code of the finished product."New value: +"Optional Harmonized System code of the finished product (e.g. '9403.30')."
  2. Addedv0.1.2

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It adds real context (the legal pass-through basis and the three returned fields), but it never says what happens when the upstream reference is unverified or invalid, whether the link is a persistent mutation that can be revoked, or what the 'taint_status' values mean – and 'taint_status' is unexplained jargon returned to the caller.

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?

Three sentences, no filler: purpose and legal basis first, then the use condition, then the return fields. Every sentence earns its place and nothing is buried.

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 seven-parameter write operation with no annotations and no output schema, the description covers the legal context, the use case, and the return fields, which is close to sufficient. The remaining gap is failure/idempotency behavior for a linking operation, which an agent would need before retrying or handling errors.

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 description coverage is 100%, so every one of the seven parameters is already documented with examples in the schema. The description adds no format, syntax, or constraint detail beyond that, which lands at the baseline for a fully documented schema.

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 and resource ('Links an upstream EU TRACES-NT Due Diligence Statement (DDS) reference') and grounds it in named legal instruments (EUDR Article 4(8), TARIC C082 pass-through). This is clearly distinct from generating a DDS or exporting TRACES XML among the siblings.

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 states the selecting condition precisely: 'Use for downstream operators or traders reusing a verified upstream DDS without re-submitting raw farm coordinates.' That tells an agent the actor role and the situation. It does not name an alternative for the opposite case (e.g., generating a fresh DDS via eudr_generate_dds) or state exclusions, so it falls short of a 5.

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