Calcula o DARF mensal da B3 considerando MÚLTIPLAS operações em swing trade (15%, isenção R$ 20k/mês), day trade (20%) e FII (20%) numa única chamada. Compensa prejuízos por modalidade e deduz IRRF retido. Retorna: porModalidade (resultado individual com DARF/IR/lucro tributável de cada modalidad...
AI agents call calcular_ir_renda_variavel_b3 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 |
|---|---|---|---|
operacoes | array | Yes | Lista de operações do mês (1 a 100). Cada item: { modalidade, tipo, valorCents, irrfCents? }. BREAKING: v2.0.0 — antes 1 chamada por modalidade. Agora a engine |
prejuizoAcumuladoDayCents | integer | — | Prejuízo acumulado de meses anteriores em day trade (centavos). Default 0 |
prejuizoAcumuladoFiiCents | integer | — | Prejuízo acumulado de meses anteriores em FII (centavos). Default 0 |
prejuizoAcumuladoSwingCents | integer | — | Prejuízo acumulado de meses anteriores em swing trade (centavos). Default 0 |
Parameters from the server's own tool schema.
This is a calculation/query tool that takes trading operation data as input and returns computed tax liability figures (DARF, IR owed, taxable profit). It performs no writes to external systems, no destructions, no actual financial transactions, and no code execution—only mathematical computation and data retrieval.
From the tool's definition Tool description: 'Calcula o DARF mensal da B3' and 'Retorna: porModalidade, darfTotalCents, irDevidoTotalCents, lucroTributavelTotalCents'.
Attacks that exploit this kind of access
Calcula o DARF mensal da B3 considerando MÚLTIPLAS operações em swing trade (15%, isenção R$ 20k/mês), day trade (20%) e FII (20%) numa única chamada. Compensa prejuízos por modalidade e deduz IRRF retido. Retorna: porModalidade (resultado individual com DARF/IR/lucro tributável de cada modalidade), darfTotalCents, irDevidoTotalCents, lucroTributavelTotalCents. 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_renda_variavel_b3 accepts 4 parameters: operacoes, prejuizoAcumuladoDayCents, prejuizoAcumuladoFiiCents, prejuizoAcumuladoSwingCents. Required: operacoes. 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_renda_variavel_b3: 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_renda_variavel_b3 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_renda_variavel_b3 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_renda_variavel_b3. 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_renda_variavel_b3 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 →