Skip to main content
Glama

Em miúdos: ITCMD e custas (Brasil)

Custo total do inventário em cartório (SP, MG e RJ)

custo_inventario
Read-onlyIdempotent

Calcula quanto custa fazer um inventário em cartório (extrajudicial) em São Paulo, Minas Gerais ou Rio de Janeiro: ITCMD, emolumentos da escritura de inventário e partilha e honorário do advogado, com total mínimo e máximo (em SP os dois são iguais: honorário de 6% do monte-mor com mínimo de R$ 4.344,80, OAB-SP 2026 item 6.25; em MG, intervalo da OAB-MG). Use quando a pergunta for quanto custa herdar ou fazer o inventário, e não só o imposto. Cada parcela vem em "parcelas" com a sua fonte: a lei do ITCMD, a tabela de emolumentos (Lei 11.331/2002 em SP, Lei 15.424/2004 com a Portaria 8.664/CGJ/2025 em MG, Portaria CGJ-RJ 516/2026 no RJ) e a tabela de honorários da OAB, com artigo ou item, link e data de conferência. Não cobre inventário judicial, meação, registro de imóveis, ISS, certidões, multa nem juros do ITCMD; em MG, acima de R$ 3.200.000 (última faixa conferida) devolve "cobre": false. O honorário é referência da tabela da OAB, não o contrato. No RJ (Portaria CGJ-RJ 516/2026) a escritura é cobrada bem a bem, com 2%, fundos de 46%, selo e teto de R$ 120.560,91, e o honorário NÃO vem (honorario_incluido false: a tabela da OAB-RJ não tem item para o extrajudicial); mande "bens" com o valor de cada imóvel. 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>",
      "valor": "<valor>"
    },
    "name": "custo_inventario"
  }
}

Input Schema

NameRequiredDescriptionDefault
ufYesSigla do estado. Com custo conferido hoje: SP, MG, RJ. Os demais devolvem "cobre": false.
bensNoOpcional, só RJ. Valor de cada bem em reais (para imóvel, o maior entre declarado e venal; bens móveis somados como um item). A soma tem de ser igual a valor.
tipoNoOpcional. O inventário é sempre herança; sem ele a resposta diz isso em "assumido".causa_mortis
valorYesValor total declarado dos bens do inventário, sem a meação. Em reais, com ponto decimal (500000 ou 1234.56).
venalNoOpcional. Valor venal dos imóveis; em SP a base é o maior entre o declarado e o venal. Em MG não muda a base. No RJ, sem "bens", a escritura usa o maior entre valor e venal. Em reais, com ponto decimal (500000 ou 1234.56).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / tipo
      Added value: +{
      +  "default": "causa_mortis",
      +  "description": "Opcional. O inventário é sempre herança; sem ele a resposta diz isso em \"assumido\".",
      +  "enum": [
      +    "causa_mortis"
      +  ],
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / bens
      Added value: +{
      +  "description": "Opcional, só RJ. Valor de cada bem em reais (para imóvel, o maior entre declarado e venal; bens móveis somados como um item). A soma tem de ser igual a valor.",
      +  "items": {
      +    "exclusiveMaximum": 1000000000000,
      +    "exclusiveMinimum": 0,
      +    "type": "number"
      +  },
      +  "maxItems": 50,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / properties / uf / description
      Previous value: -"Sigla do estado. Com custo conferido hoje: SP, MG. Os demais devolvem \"cobre\": false."New value: +"Sigla do estado. Com custo conferido hoje: SP, MG, RJ. Os demais devolvem \"cobre\": false."
    • changedInput schema / properties / venal / description
      Previous value: -"Opcional. Valor venal dos imóveis; em SP a base é o maior entre o declarado e o venal. Em MG não muda a base. Em reais, com ponto decimal (500000 ou 1234.56)."New value: +"Opcional. Valor venal dos imóveis; em SP a base é o maior entre o declarado e o venal. Em MG não muda a base. No RJ, sem \"bens\", a escritura usa o maior entre valor e venal. Em reais, com ponto decimal (500000 ou 1234.56)."
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: discloses the per-item output shape ("parcelas" with fonte), the MG upper-band cutoff at R$ 3.200.000 returning cobre:false, the RJ per-asset charging model (2%, 46% fundos, selo, teto R$ 120.560,91) with honorario_incluido false, and the no-number/no-estimate behavior outside coverage.

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?

Purpose, trigger condition, exclusions, and per-state caveats are front-loaded and each clause carries real information. It is dense and repeats the source list (leis/portarias appear twice), which keeps it from being maximally tight.

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?

For a five-parameter, multi-jurisdiction calculator with no output schema, the description covers return fields ("parcelas", "fonte", "limites", "cobre", "honorario_incluido"), the citation requirement, and the limits of the calculation — everything an agent needs to call and interpret it.

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?

Schema coverage is 100%, so the baseline is 3. The description reinforces the critical RJ input ("mande 'bens' com o valor de cada imóvel") and the venal-base rule, but those points are already spelled out in the schema property descriptions, so little new meaning is added.

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 ("Calcula quanto custa fazer um inventário em cartório"), scopes it to SP/MG/RJ, and enumerates the cost components (ITCMD, emolumentos, honorário). It also distinguishes itself from the tax-only sibling by saying to use it "quando a pergunta for quanto custa herdar ou fazer o inventário, e não só o imposto".

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 names the triggering question and the case it is not for (só o imposto, which points at calcular_itcmd). It lists exclusions (inventário judicial, meação, registro, ISS, certidões, multa, juros), states the MG ceiling where it returns cobre:false, and instructs "fora da cobertura... não estime".

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.