Skip to main content
Glama

lookup_cbam_cn_codes

Look up / search EU Combined Nomenclature (CN) codes for CBAM. Find the 8-digit code for a product, check whether it is currently subject to CBAM (cbam_phase1=true) and which sector, then pass the cn_code to calculate_cbam_liability.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoSearch by code prefix or description, e.g. 'steel', 'cement', '7206'
limitNoMax results (default 100, max 1000)
sectorNoFilter: cement | aluminium | iron_steel | fertilisers | hydrogen
cbam_onlyNoDefault true (CBAM Phase 1 codes only). Pass false to search all 9,812 CN 2026 codes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It discloses the core behavior: searching by code or description, finding the 8-digit code, and determining CBAM status and sector. However, it does not mention return format, error handling, pagination, or rate limits, leaving some gaps in transparency.

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?

The description is concise, comprising two sentences that front-load the purpose and then outline the workflow. Every clause adds value, from 'look up / search' to 'pass the cn_code to calculate_cbam_liability', with no redundancy.

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?

Given the tool's simplicity and a rich schema, the description is largely complete. It communicates the search process and implied result fields (code, CBAM status, sector). The lack of an output schema means the return structure is not explicitly described, but the description still provides enough context for basic usage.

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?

The input schema covers all 4 parameters with 100% description coverage, including examples and defaults. The description adds only the workflow context of passing cn_code to calculate_cbam_liability, which is useful but does not enhance parameter-level semantics beyond what the schema already provides.

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?

The description clearly states the tool's function: looking up EU CN codes for CBAM, finding the 8-digit code, checking CBAM phase 1 status and sector, and passing the code to calculate_cbam_liability. This specific verb+resource combination distinguishes it from siblings like lookup_cbam_carbon_prices and lookup_emission_factors.

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?

The description provides clear context for when to use this tool: as the precursor to calculate_cbam_liability, for checking CN codes and CBAM status. It implicitly excludes other lookup tools by focusing on CN code search, but does not explicitly name alternatives or exclusion conditions.

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