Compara financeiramente alugar vs. comprar um imóvel usando Valor Presente Líquido (VPL). Calcula o custo total em valor presente de cada cenário pelo horizonte informado, usando como taxa de desconto o custo de oportunidade do capital (renda fixa). Veredicto: "comprar" (PV compra < PV aluguel), ...
AI agents call calcular_aluguel_vs_compra_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.
| Parameter | Type | Required | Description |
|---|---|---|---|
horizonteAnos | integer | Yes | Horizonte de análise em anos (1 a 35). Período considerado para comparar os dois cenários. Ex: 10 = analisar os próximos 10 anos |
entradaPercent | number | Yes | Percentual de entrada sobre o valor do imóvel (0 a 100). Ex: 20 = entrada de 20% |
iptuMensalCents | integer | Yes | Valor mensal do IPTU em centavos (valor anual dividido por 12). Ex: IPTU R$ 2.400/ano → 20000/mês |
valorImovelCents | integer | Yes | Valor de mercado do imóvel em centavos. Ex: R$ 500.000 → 50000000 |
aluguelMensalCents | integer | Yes | Valor do aluguel mensal atual de um imóvel equivalente, em centavos. Ex: R$ 2.500 → 250000 |
custosVendaPercent | number | Yes | Percentual do valor do imóvel para cobrir custos de venda ao final do horizonte: corretagem + impostos. Referência típica: 6-8%. Ex: 6.0 = 6% |
condominioMensalCents | integer | Yes | Taxa de condomínio mensal em centavos. Use 0 para imóvel sem condomínio. Ex: R$ 600/mês → 60000 |
custosTransacaoCompra | array | — | Custos one-shot detalhados da COMPRA, agrupados por categoria. Cada item: { categoria, valorCents, descricao? }. Categorias: itbi, registro_cartorio, escritura, |
irSobreAluguelPercent | number | — | Alíquota de IR (%) aplicada sobre o aluguel — modelo simplificado de Carnê-Leão (faixas 0–27,5%). Quando informado, o engine reduz o fluxo de aluguel pelo fator |
custosAquisicaoPercent | number | Yes | Percentual do valor do imóvel para cobrir custos de aquisição: ITBI + cartório + corretagem. Referência típica: 4-8%. Ex: 6.5 = 6,5% do valor do imóvel |
manutencaoAnualPercent | number | Yes | Percentual anual do valor do imóvel destinado a manutenção e reparos (0 a 10%). Referência: 1% a.a. para apartamentos novos; 2-3% a.a. para casas ou imóveis ant |
prazoFinanciamentoMeses | integer | Yes | Prazo do financiamento em meses (12 a 420 = até 35 anos). Ex: 360 = 30 anos |
Parameters from the server's own tool schema.
This is a computational/analytical tool that accepts inputs (property parameters, time horizon, discount rate) and returns calculated outputs and recommendations. It performs net present value (VPL) analysis and scenario comparison—pure calculation with no side effects.
From the tool's definition Tool performs financial comparison and calculation ('Compara financeiramente', 'Calcula o custo total', 'Fórmula: Price', 'série anual') based on user-provided parameters. Returns analysis results ('Veredicto', 'break-even', 'série anual de patrimônio vs.
Risk signalsHigh parameter count (19 properties)
Attacks that exploit this kind of access
Compara financeiramente alugar vs. comprar um imóvel usando Valor Presente Líquido (VPL). Calcula o custo total em valor presente de cada cenário pelo horizonte informado, usando como taxa de desconto o custo de oportunidade do capital (renda fixa). Veredicto: "comprar" (PV compra < PV aluguel), "alugar" (PV aluguel < PV compra) ou "neutro" (diferença < 5% do maior PV). Inclui break-even (mês em que comprar passa a valer mais) e série anual de patrimônio vs. custo. Fórmula: Price (parcela constante), aluguel com correção pela inflação, VPL dos fluxos. It is categorised as a Read tool in the Contaí — Calculadoras Fiscais Brasileiras MCP Server, which means it retrieves data without modifying state.
calcular_aluguel_vs_compra_imovel accepts 12 parameters: horizonteAnos, entradaPercent, iptuMensalCents, valorImovelCents, aluguelMensalCents, custosVendaPercent, condominioMensalCents, custosTransacaoCompra, irSobreAluguelPercent, custosAquisicaoPercent, manutencaoAnualPercent, prazoFinanciamentoMeses. Required: horizonteAnos, entradaPercent, iptuMensalCents, valorImovelCents, aluguelMensalCents, custosVendaPercent, condominioMensalCents, custosAquisicaoPercent, manutencaoAnualPercent, prazoFinanciamentoMeses. The full parameter table on this page comes from the server's own tool schema.
Register the Contaí — Calculadoras Fiscais Brasileiras MCP server in PolicyLayer and add a rule for calcular_aluguel_vs_compra_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.
calcular_aluguel_vs_compra_imovel is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the calcular_aluguel_vs_compra_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.
Set action: deny in the PolicyLayer policy for calcular_aluguel_vs_compra_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.
calcular_aluguel_vs_compra_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.
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 →