Skip to main content
Glama

Fortitude21 Dangerous Goods, Packaging and CBAM Tools

UK CBAM liability

uk_cbam_cost
Read-onlyIdempotent

Work out the UK CBAM liability in pounds on goods imported from 1 January 2027: tonnes times the UK default embedded emissions for the commodity code times the CBAM rate for the sector, with the £50,000 threshold and, if an origin is sent, the EU CBAM cost of the same goods in 2027 for comparison. Use when: the user asks about UK CBAM on aluminium, cement, fertiliser, hydrogen, or iron and steel goods. Instead: cbam_cost for imports into the EU. Inputs: one line per commodity code: code (8 digits; a shorter code or words return candidates) and tonnes. value_gbp, the customs value of all CBAM goods over the last 12 months, tests the threshold. origin adds the EU comparison for that country. Behaviour: summary states the result in one sentence. The UK sets one default per code for every origin. Until HMRC publishes the first quarterly rates, the rates are the illustrative ones GOV.UK published on 16 October 2026, shown in rate_basis and noted in assumed. Imports before the threshold trigger date owe nothing. Default values only; an estimate, not a return. 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": "uk_cbam_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoSingle line: commodity code or words
linesNoOne item per commodity code. Or send code and tonnes for a single line
originNoOptional country of origin, e.g. "CN", to add the EU CBAM cost of the same goods in 2027
tonnesNoSingle line: net mass in tonnes
unit_kgNoNet mass of one item in kg, for the liability per item
value_gbpNoCustoms value of all CBAM goods imported over the last 12 months, GBP, for the £50,000 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
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: commodity_code, goods, sector, tonnes, uk_default, embedded_emissions, rate_gbp, rate_basis, liability_gbp
totalNoembedded_emissions and liability_gbp
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
thresholdNovalue_gbp_last_12_months, limit_gbp (50,000) and over
candidatesNoWhen ok is false for words or a heading: the codes to choose from
eu_comparison_2027NoWith origin: country, certificates, cost_eur and price_eur under EU CBAM in 2027

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations (readOnly/idempotent/non-destructive) it discloses substantive behavior: default values only, an estimate rather than a return, illustrative GOV.UK rates used until HMRC publishes quarterly rates (surfaced in rate_basis and assumed), threshold-date logic, candidate-return behavior for shortened codes, and a rate limit of 10 requests per 10 seconds per IP with HTTP 429. That is unusually rich; the only minor gap is nothing about latency or result size, which the output schema likely covers.

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?

The lead sentence is front-loaded with the formula, then Usage / Inputs / Behaviour / Constraints are cleanly separated, making it scannable. The 'Inputs' block largely restates schema descriptions, so it is somewhat longer than strictly necessary, but each line still carries operational detail.

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 calculation tool with six optional parameters and an output schema, the definition supplies everything needed to call it correctly: required inputs, threshold test, origin behavior, rate provenance, and the assumption that results are estimates. Reference to rate_basis and assumed fields aligns the description with the structured output.

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 real meaning: that a shorter code or words return candidates rather than an error, that value_gbp must cover the last 12 months to test the threshold, and that origin pulls the EU comparison for that country. It does not mention unit_kg (per-item liability), which the schema carries alone.

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 and resource ('Work out the UK CBAM liability in pounds on goods imported from 1 January 2027') and gives the actual computation (tonnes × UK default embedded emissions × sector CBAM rate). It explicitly contrasts with the sibling cbam_cost, so an agent can route between UK and EU variants 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?

Contains an explicit 'Use when' clause naming the covered sectors (aluminium, cement, fertiliser, hydrogen, iron and steel) and an explicit 'Instead: cbam_cost for imports into the EU' exclusion, plus the £50,000 threshold condition that decides whether liability applies. Both the positive and negative cases are routable.

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