calcular_ganho_capital_imovel

Calcula o IR sobre ganho de capital na venda de imóvel por pessoa física (DARF código 4600). Tabela progressiva 4 faixas (Lei 13.259/2016): 15% (até R$ 500k), 17,5% (R$ 500k–R$ 1M), 20% (R$ 1M–R$ 3M), 22,5% (>R$ 3M). Redutor histórico (Lei 11.196/2005): imóveis adquiridos antes de 01/01/1988 têm ...

Server Contaí — Calculadoras Fiscais Brasileiras @contai-evoluke/mcp-server
Category Read
Risk class Low
Parameters 94 required

What calcular_ganho_capital_imovel does on Contaí — Calculadoras Fiscais Brasileiras

AI agents call calcular_ganho_capital_imovel to retrieve information from Contaí — Calculadoras Fiscais Brasileiras without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
dataVenda string Yes Data de venda do imóvel no formato YYYY-MM-DD. Ex: "2026-03-15"
currentDate string Data de referência YYYY-MM-DD para tabelas fiscais (INSS/IRRF/IOF/etc.). Default: hoje.
custosVenda array Costs paid by the SELLER on the alienation (corretagem, escritura nova, ITBI complementar, etc.) that reduce the taxable capital gain (RFB GCAP / art. 123 RIR/2
isencaoTipo string Isenção aplicável: "nenhuma" | "unico_imovel" (venda ≤ R$ 440k, único imóvel nos últimos 5 anos) | "reinvestimento" (aplicar valor em imóvel residencial em 180
dataAquisicao string Yes Data de aquisição do imóvel no formato YYYY-MM-DD. Ex: "2010-03-15"
valorVendaCents integer Yes Preço de venda do imóvel em centavos. Ex: R$ 800.000 → 80000000
selicMensalPercent number Taxa Selic mensal para calcular juros de atraso (%). Default 1.0% ≈ Selic ~12% a.a.
valorAquisicaoCents integer Yes Custo de aquisição em centavos (inclui reformas com NF, ITBI, cartório). Ex: R$ 500.000 → 50000000
aplicarRedutorLei11196 boolean Aplicar redutor mensal Lei 11.196/05 art. 40 §1º (FR1 + FR2). FR1 = 1/1,0060^N1 (aquisição jan/1996 → nov/2005). FR2 = 1/1,0035^N2 (dez/2005 → alienação). Recom

Parameters from the server's own tool schema.

Why calcular_ganho_capital_imovel needs a policy

This tool computes and retrieves tax obligation amounts based on input parameters (property sale price, acquisition date, etc.). It performs read-like operations on tax law and financial data to produce informational output. Although the output relates to financial obligations, the tool itself does not move money, charge accounts, or commit financial transactions—it merely calculates what would be owed.

From the tool's definition Tool name and description indicate it 'Calcula' (calculates) the IR tax on real estate capital gains. The description details tax rate bands, exemptions, penalties, and interest calculations, but the tool performs computational analysis of financial data.

Risk signalsHigh parameter count (12 properties)

Questions about calcular_ganho_capital_imovel

What does the calcular_ganho_capital_imovel tool do? +

Calcula o IR sobre ganho de capital na venda de imóvel por pessoa física (DARF código 4600). Tabela progressiva 4 faixas (Lei 13.259/2016): 15% (até R$ 500k), 17,5% (R$ 500k–R$ 1M), 20% (R$ 1M–R$ 3M), 22,5% (>R$ 3M). Redutor histórico (Lei 11.196/2005): imóveis adquiridos antes de 01/01/1988 têm redução de 5%/ano (máx 100%). Isenções: único imóvel ≤ R$ 440.000 ou reinvestimento em 180 dias. Calcula multa por atraso (0,33%/dia, máx 20%) e juros Selic. Vencimento DARF: último dia do mês seguinte à alienação. Fonte: art. 21 Lei 8.981/1995, Lei 13.259/2016, Lei 11.196/2005. It is categorised as a Read tool in the Contaí — Calculadoras Fiscais Brasileiras MCP Server, which means it retrieves data without modifying state.

What parameters does calcular_ganho_capital_imovel accept? +

calcular_ganho_capital_imovel accepts 9 parameters: dataVenda, currentDate, custosVenda, isencaoTipo, dataAquisicao, valorVendaCents, selicMensalPercent, valorAquisicaoCents, aplicarRedutorLei11196. Required: dataVenda, dataAquisicao, valorVendaCents, valorAquisicaoCents. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on calcular_ganho_capital_imovel? +

Register the Contaí — Calculadoras Fiscais Brasileiras MCP server in PolicyLayer and add a rule for calcular_ganho_capital_imovel: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Contaí — Calculadoras Fiscais Brasileiras. Nothing to install.

What risk level is calcular_ganho_capital_imovel? +

calcular_ganho_capital_imovel is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit calcular_ganho_capital_imovel? +

Yes. Add a rate_limit block to the calcular_ganho_capital_imovel rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block calcular_ganho_capital_imovel completely? +

Set action: deny in the PolicyLayer policy for calcular_ganho_capital_imovel. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides calcular_ganho_capital_imovel? +

calcular_ganho_capital_imovel is provided by the Contaí — Calculadoras Fiscais Brasileiras MCP server (@contai-evoluke/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.