calcular_simples_nacional
Calcula DAS Simples Nacional usando a fórmula da LC 123/2006: alíquota efetiva = ((RBT12 × aliquota_nominal) − parcela_a_deduzir) / RBT12. DAS = RPA × alíquota_efetiva. Suporta os 5 anexos + Fator R (anexo V → III quando folha ≥ 28% RBT12). Retorna alíquota efetiva, faixa, DAS, e detalhes do Fato...
This record as markdown: /tools/io-github-lfhillesheim-contai-mcp-server/calcular-simples-nacional.md
What calcular_simples_nacional does on Contaí — Calculadoras Fiscais Brasileiras
AI agents call calcular_simples_nacional 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 |
|---|---|---|---|
anexo | string | Yes | Anexo do Simples: I=comércio, II=indústria, III=serviços (consultoria, salão, etc.), IV=construção/limpeza/vigilância, V=serviços intelectuais (advocacia, medic |
rpaCents | integer | Yes | Receita do Período de Apuração (mês atual) em centavos |
rbt12Cents | integer | Yes | Receita Bruta Total dos últimos 12 meses (RBT12) em centavos |
aplicarFatorR | boolean | — | Se true, anexo V com folha ≥ 28% do RBT12 vira anexo III (alíquota menor). Vale para serviços intelectuais. |
folhaPagamento | array | — | Benefícios CLT últimos 12 meses categorizados (plano_saude, vale_alimentacao, vale_refeicao, vale_transporte, auxilio_creche, previdencia_privada_empresarial, g |
proLaboreCents | integer | — | Pro-labore total dos sócios últimos 12 meses (centavos). Detalha o numerador do Fator R. |
folhaSalariosClt | integer | — | Salários CLT brutos últimos 12 meses (centavos). Detalha o numerador do Fator R. |
folhaSalariosUltimos12MesesCents | integer | — | Folha agregada (pro-labore + salários + benefícios) últimos 12m. Necessário se aplicarFatorR=true OU forneça os campos detalhados (proLaboreCents + folhaSalario |
Parameters from the server's own tool schema.
Why calcular_simples_nacional is rated Low
This is a calculation tool that takes financial parameters and applies Brazilian tax formulas (LC 123/2006) to compute and return tax-related values. It does not create, modify, delete, or execute any data or operations—it retrieves or derives read-only computational results.
From the tool's definition Tool description states it 'Calcula' (calculates) and 'Retorna' (returns) tax rates and DAS amounts using legal formulas.
Risk signalsHigh parameter count (11 properties)
Attacks that exploit this kind of access
The rule that runs calcular_simples_nacional 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_simples_nacional, this is the rule to start with:
calcular_simples_nacional 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_simples_nacional call is checked against it from then on.
Questions about calcular_simples_nacional
Calcula DAS Simples Nacional usando a fórmula da LC 123/2006: alíquota efetiva = ((RBT12 × aliquota_nominal) − parcela_a_deduzir) / RBT12. DAS = RPA × alíquota_efetiva. Suporta os 5 anexos + Fator R (anexo V → III quando folha ≥ 28% RBT12). Retorna alíquota efetiva, faixa, DAS, e detalhes do Fator R quando aplicado. Fonte: LC 123/2006 + LC 155/2016. It is categorised as a Read tool in the Contaí — Calculadoras Fiscais Brasileiras MCP Server, which means it retrieves data without modifying state.
calcular_simples_nacional accepts 8 parameters: anexo, rpaCents, rbt12Cents, aplicarFatorR, folhaPagamento, proLaboreCents, folhaSalariosClt, folhaSalariosUltimos12MesesCents. Required: anexo, rpaCents, rbt12Cents. 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_simples_nacional: 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_simples_nacional 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_simples_nacional 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_simples_nacional. 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_simples_nacional 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