Calcula IR e IOF sobre investimentos de renda fixa (CDB, Tesouro Direto, LCI, LCA, CRI, CRA, Poupança). Tabela regressiva de IR (Lei 11.033/2004): 22,5% (≤180d) → 15% (≥721d). IOF regressivo (Decreto 6.306/2007): apenas CDB e Tesouro Direto nos primeiros 29 dias. Isenções PF: LCI, LCA, CRI, CRA i...
AI agents call calcular_ir_sobre_investimentos 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 |
|---|---|---|---|
produto | string | Yes | Tipo do produto de renda fixa: "cdb" (CDB — tributado, com IOF nos primeiros 29 dias), "tesouro_direto" (Tesouro Selic/Prefixado/IPCA+ — tributado, com IOF), "l |
prazoDias | integer | Yes | Prazo da aplicação em dias corridos (1 a 10.800). O IR diminui com o tempo (tabela regressiva): até 180d = 22,5%; 181–360d = 20%; 361–720d = 17,5%; ≥721d = 15% |
tipoPessoa | string | — | Tipo de pessoa: "pf" (pessoa física — aplica isenções de LCI/LCA/CRI/CRA) ou "pj" (pessoa jurídica — todos os produtos tributados, exceto poupança). Default: "p |
valorAplicadoCents | integer | Yes | Valor principal aplicado em centavos. Ex: R$ 10.000 → 1000000 |
taxaBrutaAnualPercent | number | Yes | Taxa bruta anual do investimento em % ao ano. Ex: 12.5 = 12,5% a.a. |
Parameters from the server's own tool schema.
This tool reads input parameters (investment type, amount, duration) and applies deterministic tax calculation formulas to return computed results. It has no side effects: it neither modifies user data, executes code/scripts, deletes records, nor moves money. The output is informational—tax liability estimates.
From the tool's definition Tool description states it 'Calcula' (calculates) and 'Retorna' (returns) tax and investment metrics. The verb 'calcular' combined with 'Retorna rendimento bruto, IR, IOF, rendimento líquido, valor final' indicates the tool performs calculations and…
Attacks that exploit this kind of access
Calcula IR e IOF sobre investimentos de renda fixa (CDB, Tesouro Direto, LCI, LCA, CRI, CRA, Poupança). Tabela regressiva de IR (Lei 11.033/2004): 22,5% (≤180d) → 15% (≥721d). IOF regressivo (Decreto 6.306/2007): apenas CDB e Tesouro Direto nos primeiros 29 dias. Isenções PF: LCI, LCA, CRI, CRA incentivados, debêntures de infraestrutura e poupança. Retorna rendimento bruto, IR, IOF, rendimento líquido, valor final e taxa efetiva líquida. It is categorised as a Read tool in the Contaí — Calculadoras Fiscais Brasileiras MCP Server, which means it retrieves data without modifying state.
calcular_ir_sobre_investimentos accepts 5 parameters: produto, prazoDias, tipoPessoa, valorAplicadoCents, taxaBrutaAnualPercent. Required: produto, prazoDias, valorAplicadoCents, taxaBrutaAnualPercent. 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_ir_sobre_investimentos: 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_ir_sobre_investimentos 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_ir_sobre_investimentos 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_ir_sobre_investimentos. 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_ir_sobre_investimentos 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 →