calcular_lucro_presumido
Calcula tributos do regime Lucro Presumido (apuração trimestral). IRPJ + CSLL sobre lucro presumido por % da receita. PIS 0.65% + COFINS 3% sobre faturamento. ISS/ICMS conforme atividade. Adicional IRPJ 10% sobre lucro presumido > R$ 60.000/trim. Útil pra comparar com Simples Nacional e Lucro Rea...
This record as markdown: /tools/io-github-lfhillesheim-contai-mcp-server/calcular-lucro-presumido.md
What calcular_lucro_presumido does on Contaí — Calculadoras Fiscais Brasileiras
AI agents call calcular_lucro_presumido 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 |
|---|---|---|---|
atividade | string | Yes | Tipo de atividade (define presunção IRPJ/CSLL): comercio_industria=8%/12%, servicos_geral=32%/32%, servicos_hospitalares=8%/12%, transporte_cargas=8%/12%, trans |
issIcmsPercent | number | — | Alíquota ISS (serviços) ou ICMS (comércio) %. Default 3. |
faturamentoTrimestralCents | integer | Yes | Faturamento do trimestre (3 meses somados) em centavos |
Parameters from the server's own tool schema.
Why calcular_lucro_presumido is rated Low
This tool performs read-only calculations of Brazilian tax obligations under the 'Lucro Presumido' (Presumed Profit) regime. It retrieves or computes derived values from input (revenue, activity type, etc.) without creating, modifying, deleting, or executing any irreversible action. No money is moved, no external systems are invoked, and no data is persisted.
From the tool's definition Tool name 'calcular_lucro_presumido' and description indicate calculation/computation of tax values (IRPJ, CSLL, PIS, COFINS, ISS/ICMS, Additional IRPJ).
Attacks that exploit this kind of access
The rule that runs calcular_lucro_presumido 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_lucro_presumido, this is the rule to start with:
calcular_lucro_presumido 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_lucro_presumido call is checked against it from then on.
Questions about calcular_lucro_presumido
Calcula tributos do regime Lucro Presumido (apuração trimestral). IRPJ + CSLL sobre lucro presumido por % da receita. PIS 0.65% + COFINS 3% sobre faturamento. ISS/ICMS conforme atividade. Adicional IRPJ 10% sobre lucro presumido > R$ 60.000/trim. Útil pra comparar com Simples Nacional e Lucro Real. Limite faturamento R$ 78M/ano. Fonte: Lei 9.249/95 + Lei 9.430/96 + IN RFB 1700/17. It is categorised as a Read tool in the Contaí — Calculadoras Fiscais Brasileiras MCP Server, which means it retrieves data without modifying state.
calcular_lucro_presumido accepts 3 parameters: atividade, issIcmsPercent, faturamentoTrimestralCents. Required: atividade, faturamentoTrimestralCents. 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_lucro_presumido: 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_lucro_presumido 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_lucro_presumido 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_lucro_presumido. 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_lucro_presumido 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