Skip to main content
Glama

Look up country risk, Annex I commodities, ports and trade lanes

eudr_lookup_reference
Read-onlyIdempotent

Look up the country benchmark tier under Implementing Regulation (EU) 2025/1093, the Annex I commodity to HS-code mapping under Regulation (EU) 2023/1115, the seaports and airports a consignment can leave or enter through (UN/LOCODE), or which countries actually supply the Union with each commodity and in what volume (UN Comtrade 2023, with World Bank indicator prices). Returns the table this engine evaluates against, with its source and the date it was verified.

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": {
      "kind": "<kind>"
    },
    "name": "eudr_lookup_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes`country_risk` for the benchmark tiers, `commodities` for the Annex I codes the engine evaluates against, `ports` for UN/LOCODE seaports and airports, `trade` for who supplies the Union with what.
limitNoWith kind=ports, how many locations to return in one page.
cursorNoWith kind=ports, the `next_cursor` of the previous page. Omit it for the first page.
countryNoA country as an ISO 3166-1 alpha-2 code (`BR`), an alpha-3 code (`BRA`) or its English name (`Brazil`). Text that is not one country is refused, with the names it was near. With kind=country_risk, return just this country's tier instead of the whole table. With kind=ports, return just that country's seaports and airports instead of the Union's points of entry.
hs_codeNoWith kind=commodities, also return `scope` for this HS code (2 to 8 digits): in_scope, out_of_scope or needs_product_evidence, with the Annex I row it falls under and that row's clause.
commodityNoWith kind=trade, return just this Annex I commodity's import lanes instead of all seven.

Output Schema

NameRequiredDescriptionDefault
kindYes
noteNo
tierNo
basisNo
countNo
scopeNo
totalNo
countryNo
low_riskNo
high_riskNo
referenceNo
truncatedNo
commoditiesNo
next_cursorNo
simplified_due_diligence_availableNoTrue when the country is low risk, which is one condition of Art. 13(1). The operator must also have assessed the supply chain, the risk of circumvention and the risk of mixing with products of unknown or standard- or high-risk origin; see simplified_due_diligence_condition.
simplified_due_diligence_conditionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / hs_code
      Added value: +{
      +  "description": "With kind=commodities, also return `scope` for this HS code (2 to 8 digits): in_scope, out_of_scope or needs_product_evidence, with the Annex I row it falls under and that row's clause.",
      +  "type": "string"
      +}
    • changedInput schema / properties / kind / description
      Previous value: -"`country_risk` for the benchmark tiers, `commodities` for the Annex I mapping, `ports` for UN/LOCODE seaports and airports, `trade` for who supplies the Union with what."New value: +"`country_risk` for the benchmark tiers, `commodities` for the Annex I codes the engine evaluates against, `ports` for UN/LOCODE seaports and airports, `trade` for who supplies the Union with what."
    • addedOutput schema / properties / scope
      Added value: +{
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / simplified_due_diligence_available / description
      Added value: +"True when the country is low risk, which is one condition of Art. 13(1). The operator must also have assessed the supply chain, the risk of circumvention and the risk of mixing with products of unknown or standard- or high-risk origin; see simplified_due_diligence_condition."
    • addedOutput schema / properties / simplified_due_diligence_condition
      Added value: +{
      +  "type": "string"
      +}
  3. Changed9 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"With kind=country_risk, return just this country's tier instead of the whole table. With kind=ports, return just that country's seaports and airports instead of the Union's points of entry."New value: +"A country as an ISO 3166-1 alpha-2 code (`BR`), an alpha-3 code (`BRA`) or its English name (`Brazil`). Text that is not one country is refused, with the names it was near. With kind=country_risk, return just this country's tier instead of the whole table. With kind=ports, return just that country's seaports and airports instead of the Union's points of entry."
    • addedInput schema / properties / country / minLength
      Added value: +2
    • removedInput schema / properties / country / pattern
      Removed value: -"^[A-Za-z]{2}$"
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "With kind=ports, the `next_cursor` of the previous page. Omit it for the first page.",
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 50,
      +  "description": "With kind=ports, how many locations to return in one page.",
      +  "maximum": 500,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / count
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / next_cursor
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / total
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "type": "boolean"
      +}
  4. Changed9 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"A country as an ISO 3166-1 alpha-2 code (`BR`), an alpha-3 code (`BRA`) or its English name (`Brazil`). Text that is not one country is refused, with the names it was near. With kind=country_risk, return just this country's tier instead of the whole table. With kind=ports, return just that country's seaports and airports instead of the Union's points of entry."New value: +"With kind=country_risk, return just this country's tier instead of the whole table. With kind=ports, return just that country's seaports and airports instead of the Union's points of entry."
    • removedInput schema / properties / country / minLength
      Removed value: -2
    • addedInput schema / properties / country / pattern
      Added value: +"^[A-Za-z]{2}$"
    • removedInput schema / properties / cursor
      Removed value: -{
      -  "description": "With kind=ports, the `next_cursor` of the previous page. Omit it for the first page.",
      -  "type": "string"
      -}
    • removedInput schema / properties / limit
      Removed value: -{
      -  "default": 50,
      -  "description": "With kind=ports, how many locations to return in one page.",
      -  "maximum": 500,
      -  "minimum": 1,
      -  "type": "integer"
      -}
    • removedOutput schema / properties / count
      Removed value: -{
      -  "type": "integer"
      -}
    • removedOutput schema / properties / next_cursor
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / total
      Removed value: -{
      -  "type": "integer"
      -}
    • removedOutput schema / properties / truncated
      Removed value: -{
      -  "type": "boolean"
      -}
  5. Changed9 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"With kind=country_risk, return just this country's tier instead of the whole table. With kind=ports, return just that country's seaports and airports instead of the Union's points of entry."New value: +"A country as an ISO 3166-1 alpha-2 code (`BR`), an alpha-3 code (`BRA`) or its English name (`Brazil`). Text that is not one country is refused, with the names it was near. With kind=country_risk, return just this country's tier instead of the whole table. With kind=ports, return just that country's seaports and airports instead of the Union's points of entry."
    • addedInput schema / properties / country / minLength
      Added value: +2
    • removedInput schema / properties / country / pattern
      Removed value: -"^[A-Za-z]{2}$"
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "With kind=ports, the `next_cursor` of the previous page. Omit it for the first page.",
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 50,
      +  "description": "With kind=ports, how many locations to return in one page.",
      +  "maximum": 500,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / count
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / next_cursor
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / total
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "type": "boolean"
      +}
  6. Changed9 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"A country as an ISO 3166-1 alpha-2 code (`BR`), an alpha-3 code (`BRA`) or its English name (`Brazil`). Text that is not one country is refused, with the names it was near. With kind=country_risk, return just this country's tier instead of the whole table. With kind=ports, return just that country's seaports and airports instead of the Union's points of entry."New value: +"With kind=country_risk, return just this country's tier instead of the whole table. With kind=ports, return just that country's seaports and airports instead of the Union's points of entry."
    • removedInput schema / properties / country / minLength
      Removed value: -2
    • addedInput schema / properties / country / pattern
      Added value: +"^[A-Za-z]{2}$"
    • removedInput schema / properties / cursor
      Removed value: -{
      -  "description": "With kind=ports, the `next_cursor` of the previous page. Omit it for the first page.",
      -  "type": "string"
      -}
    • removedInput schema / properties / limit
      Removed value: -{
      -  "default": 50,
      -  "description": "With kind=ports, how many locations to return in one page.",
      -  "maximum": 500,
      -  "minimum": 1,
      -  "type": "integer"
      -}
    • removedOutput schema / properties / count
      Removed value: -{
      -  "type": "integer"
      -}
    • removedOutput schema / properties / next_cursor
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / total
      Removed value: -{
      -  "type": "integer"
      -}
    • removedOutput schema / properties / truncated
      Removed value: -{
      -  "type": "boolean"
      -}
  7. Changed9 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"With kind=country_risk, return just this country's tier instead of the whole table. With kind=ports, return just that country's seaports and airports instead of the Union's points of entry."New value: +"A country as an ISO 3166-1 alpha-2 code (`BR`), an alpha-3 code (`BRA`) or its English name (`Brazil`). Text that is not one country is refused, with the names it was near. With kind=country_risk, return just this country's tier instead of the whole table. With kind=ports, return just that country's seaports and airports instead of the Union's points of entry."
    • addedInput schema / properties / country / minLength
      Added value: +2
    • removedInput schema / properties / country / pattern
      Removed value: -"^[A-Za-z]{2}$"
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "With kind=ports, the `next_cursor` of the previous page. Omit it for the first page.",
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 50,
      +  "description": "With kind=ports, how many locations to return in one page.",
      +  "maximum": 500,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / count
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / next_cursor
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / total
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "type": "boolean"
      +}
  8. Changed2 schema fields changed
    • addedInput schema / properties / commodity
      Added value: +{
      +  "description": "With kind=trade, return just this Annex I commodity's import lanes instead of all seven.",
      +  "enum": [
      +    "cocoa",
      +    "coffee",
      +    "rubber",
      +    "soya",
      +    "oil_palm",
      +    "cattle",
      +    "wood"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / kind / description
      Previous value: -"`country_risk` for the benchmark tiers, `commodities` for the Annex I mapping."New value: +"`country_risk` for the benchmark tiers, `commodities` for the Annex I mapping, `ports` for UN/LOCODE seaports and airports, `trade` for who supplies the Union with what."
  9. Changed2 schema fields changed
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "country_risk",
      -  "commodities",
      -  "ports"
      -]New value: +[
      +  "country_risk",
      +  "commodities",
      +  "ports",
      +  "trade"
      +]
    • changedOutput schema / properties / kind / enum
      Previous value: -[
      -  "country_risk",
      -  "commodities",
      -  "ports"
      -]New value: +[
      +  "country_risk",
      +  "commodities",
      +  "ports",
      +  "trade"
      +]
  10. Changed3 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"With kind=country_risk, return just this country's tier instead of the whole table."New value: +"With kind=country_risk, return just this country's tier instead of the whole table. With kind=ports, return just that country's seaports and airports instead of the Union's points of entry."
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "country_risk",
      -  "commodities"
      -]New value: +[
      +  "country_risk",
      +  "commodities",
      +  "ports"
      +]
    • changedOutput schema / properties / kind / enum
      Previous value: -[
      -  "country_risk",
      -  "commodities"
      -]New value: +[
      +  "country_risk",
      +  "commodities",
      +  "ports"
      +]
  11. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety bar is low. The description adds real behavioral context: the exact legal sources and vintages each table comes from (2025/1093, 2023/1115, UN/LOCODE, UN Comtrade 2023, World Bank indicator prices) and that results carry source plus verification date. It does not say how stale the data can be or whether any kind paginates beyond ports.

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?

Front-loaded with the action and the four modes, and the final sentence adds the return contract. It is a long single run-on sentence and partially restates the kind enum already documented in the schema, so it is dense but not maximally economical.

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?

With an output schema present, return values need not be explained, and the description still specifies source attribution and verification dates. For a six-parameter, read-only reference tool this is nearly sufficient; the only gap is any note on data freshness limits or that pagination applies solely to ports.

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 the schema already explains kind, limit, cursor, country, hs_code and commodity in more operational detail than the description does. The description contributes only regulatory attribution (which regulation each kind maps to) rather than new parameter semantics, so the baseline of 3 applies.

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?

States a specific verb ('Look up') and enumerates exactly what resource each of the four kinds returns: benchmark tiers, Annex I HS mappings, UN/LOCODE entry points, and UN Comtrade supply lanes. The closing line ('Returns the table this engine evaluates against, with its source and the date it was verified') distinguishes it from the sibling tools that perform evaluation (eudr_check_plots, eudr_compliance_status).

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?

Clear context for each mode is embedded in the enumeration and reinforced by 'the table this engine evaluates against', which signals this is the reference-lookup tool rather than an assessment tool. It stops short of explicit contrasted guidance such as 'use this before calling eudr_compliance_status' or any exclusion, so 4 rather than 5.

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.