calcular_quanto_para_aposentar
Calcula o patrimônio necessário para aposentadoria e o aporte mensal necessário. Usa a Regra da Taxa Segura de Saque (Trinity Study): patrimônioAlvo = (gasto × 12) / taxa_saque. Suporta gasto categorizado (DESPESA_PESSOAL) — passe gastosCategorizadosCents para quebrar por moradia/saude/lazer/etc....
This record as markdown: /tools/io-github-lfhillesheim-contai-mcp-server/calcular-quanto-para-aposentar.md
What calcular_quanto_para_aposentar does on Contaí — Calculadoras Fiscais Brasileiras
AI agents call calcular_quanto_para_aposentar to retrieve information from Contaí — Calculadoras Fiscais Brasileiras without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
idadeAtual | integer | Yes | Idade atual em anos inteiros (18 a 80) |
patrimonioAtualCents | integer | Yes | Patrimônio financeiro atual em centavos |
taxaRealAnualPercent | number | Yes | Taxa de retorno real anual (descontada inflação) em % (ex: 5.0) |
aporteMensalAtualCents | integer | Yes | Aporte mensal atual para investimentos em centavos |
idadeMetaAposentadoria | integer | Yes | Idade alvo para aposentadoria em anos inteiros (35 a 90) |
taxaSeguraSaquePercent | number | Yes | Taxa segura de saque anual em % (regra 4% = 4.0) |
gastoMensalDesejadoCents | integer | Yes | Renda/gasto mensal desejado na aposentadoria em centavos (usado quando gastosCategorizadosCents é vazio) |
gastosCategorizadosCents | array | — | Gastos meta na aposentadoria por categoria (DESPESA_PESSOAL). Quando NÃO-vazio, a soma substitui gastoMensalDesejadoCents para o cálculo do patrimônio-alvo. Cat |
Parameters from the server's own tool schema.
Why calcular_quanto_para_aposentar is rated Low
This is a financial calculator that retrieves and computes retirement planning metrics using the Trinity Study formula. It takes user-provided financial parameters and returns projections—purely analytical with no side effects.
From the tool's definition Tool performs calculations based on input parameters (gasto, taxa_saque, gastosCategorizadosCents) and returns computed results: patrimônio-alvo, aporte necessário, projeção, tempo até independência financeira.
Risk signalsHigh parameter count (11 properties)
Attacks that exploit this kind of access
The rule that runs calcular_quanto_para_aposentar safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Contaí — Calculadoras Fiscais Brasileiras, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For calcular_quanto_para_aposentar, this is the rule to start with:
calcular_quanto_para_aposentar is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Contaí — Calculadoras Fiscais Brasileiras, apply this rule, and every calcular_quanto_para_aposentar call is checked against it from then on.
Questions about calcular_quanto_para_aposentar
Calcula o patrimônio necessário para aposentadoria e o aporte mensal necessário. Usa a Regra da Taxa Segura de Saque (Trinity Study): patrimônioAlvo = (gasto × 12) / taxa_saque. Suporta gasto categorizado (DESPESA_PESSOAL) — passe gastosCategorizadosCents para quebrar por moradia/saude/lazer/etc. Trabalha em reais de hoje (taxa real descontada de inflação). Retorna: patrimônio-alvo, aporte necessário, projeção com aporte atual, tempo até independência financeira. It is categorised as a Read tool in the Contaí — Calculadoras Fiscais Brasileiras MCP Server, which means it retrieves data without modifying state.
calcular_quanto_para_aposentar accepts 8 parameters: idadeAtual, patrimonioAtualCents, taxaRealAnualPercent, aporteMensalAtualCents, idadeMetaAposentadoria, taxaSeguraSaquePercent, gastoMensalDesejadoCents, gastosCategorizadosCents. Required: idadeAtual, patrimonioAtualCents, taxaRealAnualPercent, aporteMensalAtualCents, idadeMetaAposentadoria, taxaSeguraSaquePercent, gastoMensalDesejadoCents. 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_quanto_para_aposentar: 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_quanto_para_aposentar 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_quanto_para_aposentar 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_quanto_para_aposentar. 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_quanto_para_aposentar 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.
More on Contaí — Calculadoras Fiscais Brasileiras, and thousands of servers like it.
Across the catalogue