Skip to main content
Glama

Fortitude21 Dangerous Goods, Packaging and CBAM Tools

EU CBAM certificates and cost

cbam_cost
Read-onlyIdempotent

Work out the EU CBAM certificates owed on imported goods after the free allocation adjustment, what they cost at the official certificate price, and where the importer stands against the 50-tonne annual threshold, on EU default values. Use when: the user asks what CBAM will cost on cement, fertiliser, iron and steel, aluminium or hydrogen imported into the EU. Instead: uk_cbam_cost for imports into the UK. Inputs: one line per goods and origin. cn is the CN code (4 to 10 digits); words such as "steel tubes" are matched against the official descriptions and return candidates when several fit. origin is an ISO code or an English country name; tonnes is the net mass. period is 2026-Q1 to 2026-Q4 or a year from 2027, defaulting to the current quarter; 2026 prices are quarterly and later ones weekly, so from 2027 the latest published price applies unless price is sent. other_tonnes adds CBAM goods not listed, for the threshold; unit_kg adds the cost per item. Behaviour: summary states the result in one sentence. Under 50 t a year (lines plus other_tonnes) owed is none and the totals show what becomes owed above it. A country without its own default values takes the table for other countries and territories, noted in assumed; origins in the EU, Iceland, Liechtenstein, Norway or Switzerland are refused as outside CBAM. Electricity and verified actual emissions are not covered; an estimate, not a declaration. Constraints: no authentication, key or headers. At most 10 requests per 10 seconds per IP address; above that HTTP 429, so space out repeated calls.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cbam_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
cnNoSingle line: CN code or words
pathNolaw (default): the free allocation phase-out in force. proposal: COM(2026) 616, not law
linesNoOne item per goods and origin. Or send cn, origin and tonnes for a single line
priceNoCertificate price in EUR, to override the published price
originNoSingle line: country of origin
periodNoQuarter of import for 2026, e.g. "2026-Q3", or a year from 2027, e.g. "2027". Default: the current quarter
tonnesNoSingle line: net mass in tonnes
unit_kgNoNet mass of one item in kg, e.g. 3.1 for a 20 L steel jerry can, for the cost per item
compare_withNoOptional second country of origin: the same lines made there, returned as comparison and never added to the totals
other_tonnesNoOther CBAM goods (cement, fertiliser, iron and steel, aluminium) imported this year, tonnes, for the 50 t threshold

Output Schema

NameRequiredDescriptionDefault
okNotrue with an answer. false when the tool needs one more input or cannot answer; error then says what to send
citeNoCredit line with a link, for quoting the answer
docsNoDocumentation for this tool
owedNoall, some (hydrogen only, under the threshold) or none
toolNoLink to the same answer on the interactive tool page
errorNoWhen ok is false: what is missing or could not be read, and what to send instead
linesNoPer line: cn, goods, country, default_table, default_value, mark_up, see_with_mark_up, benchmark, route, embedded_emissions, free_allocation_adjustment, certificates, cost_eur, cost_eur_per_unit_of_quantity, cost_eur_per_item with unit_kg, owed
totalNocertificates and cost_eur for all lines; owed_certificates and owed_cost_eur after the threshold
periodNoPeriod of import used
assumedNoEach value the tool inferred or defaulted, in words, so it can be checked with the user
summaryNoThe result in one sentence, threshold included
publisherNoWho publishes the tool, the Fortitude21 products that fit, with links, and quote_url, a link to ask for a quotation
thresholdNotonnes_this_year, limit_tonnes (50) and over
candidatesNoWhen ok is false for words or a heading: the codes to choose from
price_basisNoPublished for the period, given, or the latest published
free_allocationNocbam_factor, cscf and path for the year
price_eur_per_certificateNoPrice used, EUR

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / compare_with
      Added value: +{
      +  "description": "Optional second country of origin: the same lines made there, returned as comparison and never added to the totals",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is pre-supplied. The description nevertheless adds substantive behaviour: the sub-50 t outcome (owed is none, totals show what would become owed), the refusal of EU/Iceland/Liechtenstein/Norway/Switzerland origins, the fallback to 'other countries and territories' recorded in an 'assumed' field, and the 'estimate, not a declaration' caveat. It also discloses rate limiting (10 requests per 10 seconds per IP, HTTP 429) and that no authentication or headers are required, which is real operational context 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with a one-sentence statement of what is computed, then labelled blocks (Use when / Instead / Inputs / Behaviour / Constraints) that make skimming easy. Despite its length, nearly every clause carries decision-relevant information such as defaults, fallbacks and failure modes.

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?

An output schema exists, so return values need not be explained, and the threshold and fallback behaviours are covered. The only material omission is the path parameter's 'law vs proposal' choice, which matters for a compliance calculation yet appears only in the schema.

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, but the description adds meaning the schema does not: cn accepts free words like 'steel tubes' that are matched against official descriptions and return candidates when ambiguous; period drives whether quarterly 2026 or weekly 2027 prices apply, with price overriding the published value; other_tonnes exists purely for the threshold; unit_kg yields a per-item cost. One parameter, path (law vs proposal), is not mentioned in the description at all.

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?

Names a specific computation (EU CBAM certificates owed, their cost, and threshold position) applied to a well-scoped resource (cement, fertiliser, iron and steel, aluminium, hydrogen imports into the EU). It explicitly distinguishes itself from uk_cbam_cost, so an agent can route between the two without opening either schema.

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?

Provides an explicit 'Use when' trigger tied to the user's question and an explicit 'Instead: uk_cbam_cost' alternative for UK imports. Coverage gaps and exclusions are also stated (electricity and verified actual emissions not covered).

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