Skip to main content
Glama

Start preparing a Due Diligence Statement

eudr_prepare_dds
Destructive

Compile and sign an Annex II Due Diligence Statement. For a yes or no answer about forest loss on a plot, use eudr_check_plots instead: it needs no HS code and no quantity, and it is free. This WRITES: it stores a compile task holding the operator and supplier details you pass, and sends the plot geometry, HS code, country and quantity to emem.dev to be measured and independently signed. Operator and supplier identity are not forwarded upstream. Returns a task handle; read the outcome with eudr_get_dds. For an organisation's statement it also makes one revocable share link, valid for 7 days, so report_url opens in a browser that is not signed in to eudr.dev; the organisation can withdraw it from its account. Nothing is filed with any authority. Confirm the details with the user first. Costs 5 credits from the organisation's wallet (from 30 October 2026, plus 1 for each plot after the first), refunded automatically if the compile fails; every other tool here is free.

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": "<operator>",
      "supplier": "<supplier>",
      "product": "<product>",
      "geolocation": "<geolocation>"
    },
    "name": "eudr_prepare_dds"
  }
}

Input Schema

NameRequiredDescriptionDefault
productYesWhat is being placed on the market: its HS code, what it is in words, and its net mass (Annex II point 2).
operatorYesWho places the goods on the EU market and answers for this statement (Annex II point 1). Not forwarded to the satellite service.
producerNoThe primary producer, where that is not the supplier.
supplierYesWho the goods were bought from, as the operator's own records name them. Not forwarded to the satellite service.
geolocationYesWhere it was produced and when it was harvested (Annex II point 3). The plot geometry, country, HS code and quantity are the only things sent to the satellite service.

Output Schema

NameRequiredDescriptionDefault
stateNo
task_idYes
report_urlYes
next_actionYes
data_stored_hereYes
read_outcome_withYes
data_sent_upstreamYes
report_link_expires_atNo
filed_with_any_authorityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / geolocation / properties / additional_plots / items / properties / supplier
      Added value: +{
      +  "description": "Only when another supplier than the consignment's supplied this plot. The filing names it as this plot's producer, and its legality assessment is checked on its own.",
      +  "properties": {
      +    "id": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "name",
      +    "id"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / geolocation / properties / additional_plots / items / properties / plot_geojson / description
      Previous value: -"GeoJSON Polygon, MultiPolygon or Point in WGS84."New value: +"GeoJSON Polygon, MultiPolygon or Point in WGS84. A MultiPolygon of two parts or more is checked part by part: the statement lists the parts as `<plot_id>.part-1`, `<plot_id>.part-2`, in the order sent, and shares the quantity of the plot over them by area. Each part counts against the plot limit of a statement. A MultiPolygon of one part is the same plot as its Polygon."
    • changedInput schema / properties / geolocation / properties / plot_geojson / description
      Previous value: -"GeoJSON Polygon, MultiPolygon or Point in WGS84."New value: +"GeoJSON Polygon, MultiPolygon or Point in WGS84. A MultiPolygon of two parts or more is checked part by part: the statement lists the parts as `<plot_id>.part-1` (`plot-1.part-1` when no plot_id is given), `<plot_id>.part-2`, in the order sent, and shares the quantity of the plot over them by area. Each part counts against the plot limit of a statement. A MultiPolygon of one part is the same plot as its Polygon."
  3. Changed2 schema fields changed
    • changedInput schema / properties / operator / properties / role / enum
      Previous value: -[
      -  "operator",
      -  "trader_as_operator",
      -  "downstream_operator",
      -  "sme_trader"
      -]New value: +[
      +  "operator",
      +  "non_sme_trader",
      +  "downstream_operator",
      +  "sme_trader"
      +]
    • addedInput schema / properties / product / properties / scope_evidence
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Needed when the HS code meets an \"ex\" Annex I row (live cattle, palm oil, most wood and rubber) or is wider than its row: the document that shows the product is, or is not, what the row describes. The compile refuses such a code without it and names the row.",
      +  "properties": {
      +    "annex_i_code": {
      +      "description": "The row as printed, e.g. 1511.",
      +      "type": "string"
      +    },
      +    "document_id": {
      +      "type": "string"
      +    },
      +    "within_clause": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "document_id",
      +    "annex_i_code",
      +    "within_clause"
      +  ],
      +  "type": "object"
      +}
  4. Changed2 schema fields changed
    • changedInput schema / properties / operator / properties / role / enum
      Previous value: -[
      -  "operator",
      -  "non_sme_trader",
      -  "downstream_operator",
      -  "sme_trader"
      -]New value: +[
      +  "operator",
      +  "trader_as_operator",
      +  "downstream_operator",
      +  "sme_trader"
      +]
    • removedInput schema / properties / product / properties / scope_evidence
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "Needed when the HS code meets an \"ex\" Annex I row (live cattle, palm oil, most wood and rubber) or is wider than its row: the document that shows the product is, or is not, what the row describes. The compile refuses such a code without it and names the row.",
      -  "properties": {
      -    "annex_i_code": {
      -      "description": "The row as printed, e.g. 1511.",
      -      "type": "string"
      -    },
      -    "document_id": {
      -      "type": "string"
      -    },
      -    "within_clause": {
      -      "type": "boolean"
      -    }
      -  },
      -  "required": [
      -    "document_id",
      -    "annex_i_code",
      -    "within_clause"
      -  ],
      -  "type": "object"
      -}
  5. Changed2 schema fields changed
    • changedInput schema / properties / operator / properties / role / enum
      Previous value: -[
      -  "operator",
      -  "trader_as_operator",
      -  "downstream_operator",
      -  "sme_trader"
      -]New value: +[
      +  "operator",
      +  "non_sme_trader",
      +  "downstream_operator",
      +  "sme_trader"
      +]
    • addedInput schema / properties / product / properties / scope_evidence
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Needed when the HS code meets an \"ex\" Annex I row (live cattle, palm oil, most wood and rubber) or is wider than its row: the document that shows the product is, or is not, what the row describes. The compile refuses such a code without it and names the row.",
      +  "properties": {
      +    "annex_i_code": {
      +      "description": "The row as printed, e.g. 1511.",
      +      "type": "string"
      +    },
      +    "document_id": {
      +      "type": "string"
      +    },
      +    "within_clause": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "document_id",
      +    "annex_i_code",
      +    "within_clause"
      +  ],
      +  "type": "object"
      +}
  6. Changed2 schema fields changed
    • addedOutput schema / properties / report_link_expires_at
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / report_url / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  7. Changed1 schema field changed
    • changedInput schema / properties / geolocation / properties / plot_id / description
      Previous value: -"The primary plot's own identifier (a field, cadastral or cooperative code)."New value: +"The primary plot's own identifier (a field, cadastral or cooperative code) — never a person's name: it is carried into a signed, public, append-only fact at the evidence provider."
  8. Changed4 schema fields changed
    • addedInput schema / properties / geolocation / description
      Added value: +"Where it was produced and when it was harvested (Annex II point 3). The plot geometry, country, HS code and quantity are the only things sent to the satellite service."
    • addedInput schema / properties / operator / description
      Added value: +"Who places the goods on the EU market and answers for this statement (Annex II point 1). Not forwarded to the satellite service."
    • addedInput schema / properties / product / description
      Added value: +"What is being placed on the market: its HS code, what it is in words, and its net mass (Annex II point 2)."
    • addedInput schema / properties / supplier / description
      Added value: +"Who the goods were bought from, as the operator's own records name them. Not forwarded to the satellite service."
  9. Changed2 schema fields changed
    • addedInput schema / properties / geolocation / properties / additional_plots
      Added value: +{
      +  "description": "Every further plot of the consignment. Each is measured and filed on its own; the consignment is negligible only if every plot is.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "country": {
      +        "description": "Only when the plot lies in another country than the consignment's.",
      +        "pattern": "^[A-Za-z]{2}$",
      +        "type": "string"
      +      },
      +      "harvest_window": {
      +        "type": "string"
      +      },
      +      "plot_geojson": {
      +        "description": "GeoJSON Polygon, MultiPolygon or Point in WGS84.",
      +        "type": "object"
      +      },
      +      "plot_id": {
      +        "maxLength": 64,
      +        "type": "string"
      +      },
      +      "quantity_kg": {
      +        "description": "This plot's share; omitted, the rest of the consignment is split evenly.",
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "plot_id",
      +      "plot_geojson"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 500,
      +  "type": "array"
      +}
    • addedInput schema / properties / geolocation / properties / plot_id
      Added value: +{
      +  "description": "The primary plot's own identifier (a field, cadastral or cooperative code).",
      +  "maxLength": 64,
      +  "type": "string"
      +}
  10. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true, openWorldHint=true, idempotentHint=false), the description discloses exactly what is written and where: a compile task holding operator/supplier details, plot geometry, HS code, country and quantity sent to emem.dev. It adds that identity is not forwarded upstream, that nothing is filed with an authority, that a revocable 7-day share link is created, and that a compile failure is auto-refunded.

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?

It is front-loaded with the action, then the alternative, then the behavior and cost, so the important content comes first and every sentence carries information. It is a dense single block without visual separation, which makes the cost and share-link clauses harder to scan than they could be.

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, costly, multi-step mutation with nested objects, the description covers the write scope, the upstream data flow, the follow-up tool, the side effect (share link), the credit cost with a refund rule, and the legal boundary (nothing is filed). With an output schema present, return values need not be spelled out, and the task-handle mention is a bonus.

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% with rich nested descriptions, so the schema does the heavy lifting and the baseline would be 3. The description still adds meaning the schema cannot: which specific fields leave the system (geometry, HS code, country, quantity) and that operator and supplier identity stay local, which matters for selecting and populating those objects.

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 opening sentence states a specific verb and artifact: 'Compile and sign an Annex II Due Diligence Statement.' It immediately distinguishes itself from eudr_check_plots by naming the alternative and the exact inputs that differ (HS code, quantity, cost).

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

Usage Guidelines5/5

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

Explicit routing is given: use eudr_check_plots for a yes/no forest-loss answer, and read the outcome of this tool with eudr_get_dds. It also adds a procedural precondition — 'Confirm the details with the user first' — which is real when-to-use guidance rather than inference.

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.