Skip to main content
Glama
Keremozdemirra

io.github.Keremozdemirra/eu-ets-mcp

company_by_lei

Retrieve all EU ETS installations for a company identified by LEI, with their latest verified emissions, free allocation, surrendered units, and yearly totals.

Instructions

All installations whose current Union Registry account holder registered this LEI (20 characters; dashes and spaces are ignored), each with its latest verified emissions, plus yearly totals summed over them (derived): verified emissions (t CO2e), free allocation (allowances) and surrendered units. Only about a fifth of installations carry an LEI here (it is withheld where the holder may be a natural person) and the registry does not validate it, so no match does not prove the company holds no installation; earlier years may belong to a previous operator. detail=true adds each installation's years. from_year and to_year limit the years.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leiYesLegal Entity Identifier, e.g. 529900FGOWZKLBZ81V67
detailNoinclude each installation's years (default false)
to_yearNolast year to include
from_yearNofirst year to include

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does well: it discloses that values are derived, that the LEI field is withheld where the holder may be a natural person, that the registry does not validate LEIs, and that historical years may reflect a prior operator. It omits any note on auth or result size limits, but for a read-only lookup this is solid.

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 dense paragraph that is front-loaded with the core purpose before the caveats and parameter behavior. Every sentence carries information, though it is packed tightly and could be broken up for scannability.

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?

With no output schema, the description must describe returns, and it does: latest verified emissions plus yearly totals for verified emissions, free allocation and surrendered units, with the derived nature flagged. Combined with the data-quality caveats, an agent has what it needs to call and interpret this tool.

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 already 100%, but the description still adds meaning: LEI must be 20 characters with dashes/spaces ignored, detail=true adds each installation's years, and from_year/to_year bound the year range. This goes beyond the schema's terse field descriptions.

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?

States a specific verb+resource: returning all installations whose current Union Registry account holder registered a given LEI, along with their emissions data. The scope is precise and unambiguous. It does not explicitly contrast itself with the sibling search_installations, so it lands at 4 rather than 5.

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?

Gives genuine usage context: 'no match does not prove the company holds no installation' because only ~a fifth of installations carry an LEI, and earlier years may belong to a previous operator. This tells the agent how to interpret results, though it never names alternative tools (e.g. search_installations) for the case where an LEI lookup fails.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.