Skip to main content
Glama

AGOS European Compliance & Operations

EU CBAM Definitive Regime Calculator & XML Generator (Reg. 2025/2083)

calculate_eu_cbam
Read-onlyIdempotent

Assesses EU customs import portfolios under the CBAM Definitive Regime (Reg. (EU) 2023/956 + Omnibus Reg. (EU) 2025/2083): CN code Annex I scoping across 6 sectors, 50-tonne mass de minimis threshold (zero threshold for Hydrogen/Electricity), Annex III origin exemptions (CH/NO/IS/LI), 2026–2034 phase-in schedule, certificate liability & Article 9 carbon-price deductions, statutory penalty exposure, and optional EU CBAM XML export.

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": {
      "shipments": "<shipments>"
    },
    "name": "calculate_eu_cbam"
  }
}

Input Schema

NameRequiredDescriptionDefault
declarantNoOptional authorised CBAM declarant metadata used when includeXml=true.
shipmentsYesArray of customs import shipment lines to assess.
includeXmlNoIf true, generates a CBAM Registry-aligned XML report in xml.
etsPriceEurNoEU ETS reference certificate price in EUR/tCO2e (default: 72 assumed scenario; pass explicitly for exact modeling).
reportingYearNoCBAM reporting calendar year (default: 2026).
defaultMarkupPctNoOptional markup percentage applied on top of EU default SEE values (0–500, default: 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered; the description goes further by disclosing the substantive rules the calculation applies (50-tonne de minimis with zero threshold for Hydrogen/Electricity, Annex III CH/NO/IS/LI exemptions, Art. 9 carbon-price deductions, penalty exposure) and that XML is only produced when requested. It omits runtime traits such as behavior at the 10,000-shipment cap and that the ETS price defaults to an assumed scenario, but the domain disclosure is well beyond the annotations.

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?

A single front-loaded sentence that names the regime and its regulations first, then the enumerated scope — dense but each clause maps to a real capability. The listing is long enough that some items (penalty exposure, XML export) read as a feature dump rather than guidance, but nothing is redundant filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex regulatory calculator with no output schema, the description specifies inputs and the regulatory model thoroughly but says nothing about the response shape — what liability figures, per-shipment breakdowns or warnings come back. An agent knows when to call it and roughly what it computes, but not what it will receive.

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 that by supplying the regulatory meaning behind otherwise mechanical parameters — netMassTonnes/quantity relate to the 50-tonne de minimis, originCountry relates to Annex III exemptions rather than mere geography, and includeXml is tied to a Registry-aligned export. It stops short of per-parameter guidance (e.g. when to prefer actualSeeDirect over EU defaults, or the defaultMarkupPct interaction).

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 ('Assesses') and a precisely bounded resource ('EU customs import portfolios under the CBAM Definitive Regime'), then enumerates exactly what the assessment covers: Annex I scoping, de minimis thresholds, origin exemptions, phase-in, certificate liability, Art. 9 deductions, penalties, and XML export. No sibling in the catalog overlaps this domain, so an agent can route here unambiguously.

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

Usage Guidelines3/5

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

The use case is implied clearly by 'EU customs import portfolios' and the 2026–2034 phase-in framing, so an agent can infer when the tool applies. However, there is no explicit when-to-use trigger, no exclusion (e.g. definitive vs. transitional regime), and no named alternative for related questions such as deadline computation, which is left to 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.

Resources