Skip to main content
Glama

Export a finished statement in the shape another system wants

eudr_export_statement
Read-onlyIdempotent

Export a compiled statement as TRACES NT submission XML, signed Annex II JSON, or plot boundaries as GeoJSON. Exporting is not filing: nothing is submitted to any authority. TRACES export is refused for a non-negligible verdict, because Article 4(4) bars placing those goods and a non-filable assessment must not be handed out as a submission document.

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": {
      "task_id": "<task_id>",
      "format": "<format>"
    },
    "name": "eudr_export_statement"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYes`traces_xml` for the EUDR Information System submission shape, `annex_ii_json` for the signed statement, `plots_geojson` for the boundaries as a FeatureCollection.
task_idYesThe task_id of a completed compile.
activityNoTRACES activity type. Defaults to the activity the statement was compiled with.

Output Schema

NameRequiredDescriptionDefault
formatYes
task_idYes
activityNo
documentYesThe exported document. A string for traces_xml, an object for the other two.
verify_atNo
next_actionNo
receipt_cidNo
download_urlNo
dds_referenceNo
signer_pubkey_b32No
filed_with_any_authorityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), the description discloses the most consequential behavioral fact: nothing is submitted to any authority, so the agent will not trigger a regulatory filing. It also documents a conditional refusal path (non-negligible verdict blocks traces_xml) with the legal rationale, which annotations cannot express.

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?

Three sentences, front-loaded with the capability and then the two most important caveats; no filler. The final sentence runs long and carries a dense legal justification that could be tightened without losing the operational point.

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 3-parameter tool with full schema coverage and an output schema, the description supplies everything an agent needs: what gets produced, that nothing is filed, and the one condition that makes an export request fail. Return-value detail is correctly left to the output schema.

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%, with enum values already documented for format and activity, so the schema carries the parameter burden. The description reinforces the three formats but adds no new semantics for task_id or the activity override, leaving it 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 opens with a specific verb+resource ("Export a compiled statement") and enumerates the three concrete output shapes: TRACES NT submission XML, signed Annex II JSON, and plot-boundary GeoJSON. The clause "Exporting is not filing" draws a sharp line between this tool and the assessment/filing siblings, so an agent can distinguish it without opening another 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 states the prerequisite (a compiled statement, matching the task_id requirement) and gives an explicit when-not: TRACES export is refused for a non-negligible verdict. It does not name a sibling alternative for the refused case (e.g., where to go after a non-negligible verdict), so routing guidance is clear but not exhaustive.

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.