Skip to main content
Glama

EuroCompliance Studio & Ultrathink Edge MCP (36 Tools)

validate_cbam_xml

Read-onlyIdempotent

Check EU CBAM Annex I CN-code scope, compute direct & indirect embedded emissions (tCO2e) & certificate exposure, and generate EU CBAM Quarterly XML.

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": "validate_cbam_xml"
  }
}

Input Schema

NameRequiredDescriptionDefault
cnCodeNo
massTonnesNo
importerEoriNo
originCountryNo
euEtsPriceEurPerTNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, and the description does not contradict them — returning generated XML is consistent with a read-only computation. Beyond that it adds useful scope ('Annex I CN-code scope', 'direct & indirect embedded emissions', 'certificate exposure') but says nothing about which emission factors or default values are used, data provenance, or what the certificate-exposure output looks like. Notably, all five parameters are optional, yet the computation logically requires inputs — the description does not flag that behavior.

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 with three parallel clauses that mirror the tool's three functions; no filler. It is dense but slightly over-packed, compressing three distinct operations into one unpunctuated clause list.

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

Completeness2/5

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

For a five-parameter tool with 0% schema coverage, no output schema, and no required parameters, the one-sentence description leaves too much unstated: which inputs are needed for each of the three functions, what happens with missing inputs, and what the XML output contains. The multi-function design makes this gap material.

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 description coverage is 0%, so the description carries the full burden, and five parameters are entirely undocumented in the schema. The description only maps loosely to cnCode ('CN-code scope'), massTonnes and euEtsPriceEurPerT (via 'embedded emissions (tCO2e)' and 'certificate exposure'); importerEori and originCountry are never mentioned, nor are units or formats.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names three concrete operations (scope check of Annex I CN-codes, embedded-emissions/certificate computation, quarterly XML generation) on a specific regulatory resource, which is far more specific than the name alone. It does not explicitly distinguish itself from XML-oriented siblings like validate_einvoice_xml or generate_einvoice_xml, relying on 'EU CBAM' to carry that separation.

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

Usage Guidelines2/5

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

There is no statement of when to use this versus alternatives, no prerequisites (e.g. must have shipment CN-code and mass data), and no indication of whether XML generation is always performed or only under some condition. The word 'Quarterly' hints at a filing context but gives no actionable when/when-not guidance.

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.