Skip to main content
Glama

Em miúdos: ITCMD e custas (Brasil)

Alíquotas do ITCMD de um estado

aliquotas_itcmd
Read-onlyIdempotent

Devolve a tabela de alíquotas do ITCMD (ITCD em alguns estados) de UM estado: faixas em reais para herança e para doação, modo de cálculo e isenções por valor. Use quando a pergunta for sobre a alíquota ou a tabela, sem um valor para calcular. Um estado por chamada; não existe consulta de todos os estados de uma vez. Não cobre isenções que dependem de condição (parentesco, tipo de bem), multa nem juros. Traz "pagina_para_pessoas": a calculadora do estado no navegador, com a mesma fonte, para indicar a quem fez a pergunta. A resposta traz "fonte" (lei, artigo, link oficial, data de conferência) e "limites" (o que o cálculo não cobre): cite os dois. Fora da cobertura devolve "cobre": false com o motivo e sem número; nesse caso não estime.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "uf": "<uf>"
    },
    "name": "aliquotas_itcmd"
  }
}

Input Schema

NameRequiredDescriptionDefault
ufYesSigla do estado. Com dado conferido hoje: BA, CE, DF, ES, GO, MA, MG, MS, MT, PA, PB, PE, PR, RJ, RN, RS, SC, SP. Os demais devolvem "cobre": false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, closed-world), and the description still adds substantive behavior: out-of-coverage calls return "cobre": false with a reason and no number, and the agent is told not to estimate. It also discloses the returned fields (fonte, limites, pagina_para_pessoas) and instructs citing fonte and limites.

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 purpose, then usage, then coverage limits and return fields; nearly every sentence carries actionable information. It is dense with quoted field names and could be tightened slightly, 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 does (fonte, limites, pagina_para_pessoas, cobre:false). Combined with the coverage limits and the no-estimation instruction, an agent has everything needed to call it and to report results correctly.

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% and the enum description already lists which UFs are verified, so the schema carries most of the load. The description adds per-call cardinality ('Um estado por chamada') and the behavioral consequence for unsupported UFs (cobre: false), which is meaning beyond the enum list itself.

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 ('Devolve a tabela de alíquotas do ITCMD ... de UM estado') plus the exact scope of contents (faixas em reais, modo de cálculo, isenções por valor). The 'UM estado' emphasis and the sibling name calcular_itcmd's domain ('sem um valor para calcular') make it distinguishable without opening the 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?

Explicitly says when to use it ('quando a pergunta for sobre a alíquota ou a tabela, sem um valor para calcular'), which implicitly routes calculation questions elsewhere. It also names a hard exclusion ('não existe consulta de todos os estados de uma vez') and a content exclusion (isenções condicionais, multa, juros), which is exactly the when-not guidance an agent needs.

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.