Skip to main content
Glama

Tarifa de energia por distribuidora (ANEEL)

tarifas_energia
Read-onlyIdempotent

Tarifa residencial de energia elétrica por distribuidora (ANEEL, dados abertos, ODbL 1.0), desde 2010: TUSD e TE em R$/MWh, SEM tributos (ICMS, PIS e COFINS ficam de fora), subgrupo B1 convencional. ABERTO, sem chave. Sem argumentos: a tarifa mais recente de cada distribuidora, com a variação do total contra o reajuste anterior (conta nossa) e o resumo (mais barata, mediana, mais cara entre as que têm tarifa em vigor). cnpj (14 dígitos) devolve todas as vigências de UMA distribuidora, recortadas por de/ate (AAAA-MM-DD, início da vigência). O campo ticker só vem preenchido quando o CNPJ completo da distribuidora é o de uma empresa com papel negociado; do contrário é nulo, porque a distribuidora costuma ser subsidiária da companhia listada e o grupo não é deduzido pelo nome. Número da ANEEL; a resposta traz a fonte, a licença e a citação. Não é recomendação de investimento.

Input Schema

NameRequiredDescriptionDefault
deNo
ateNo
cnpjNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and non-open-world, and the description still adds real substance: no API key required, taxes (ICMS/PIS/COFINS) deliberately excluded, the `ticker` field is often null because distributors are subsidiaries, and the response carries source, license and citation. It doesn't discuss pagination or result cardinality limits, which is the remaining gap.

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?

Front-loaded with what the data is (source, units, tax basis) before the call modes, and every sentence carries operational or interpretive value. It is dense and slightly long, particularly the `ticker` explanation, but nothing is filler.

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?

No output schema exists, so the description must describe returns — and it names the fields, the summary block (cheapest/median/priciest), the ticker nullability rule, and the included source/license/citation. An agent can call this correctly and interpret the response without further docs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry all param meaning — and it does: `cnpj` is 14 digits and returns all validity periods of a single distributor, while `de`/`ate` are AAAA-MM-DD bounding the start of validity. It also defines the default no-argument behavior, which the schema cannot express.

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 precise verb+resource: residential electricity tariff per distributor from ANEEL open data, in R$/MWh, subgrupo B1 conventional, since 2010. It also distinguishes its two operating modes (no arguments = latest tariff per distributor; `cnpj` = all validity periods for one distributor), so an agent knows exactly which behavior it will get.

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?

Explicit context for both call patterns: no-arg for a cross-distributor snapshot with summary stats, `cnpj` for a single distributor's history sliced by `de`/`ate`. It also excludes a likely mis-expectation ("Não é recomendação de investimento"). No sibling tool overlaps in domain, so there are no alternatives to name — which is the only thing keeping this from a 5.

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.