calcular_ferias
Calcula férias CLT + 1/3 constitucional. Bruto = salário × (dias/30) + 1/3. Abono pecuniário permite vender até 1/3 (10 dias) — esses dias somam ao bruto sem alterar o gozo. INSS e IRRF incidem sobre férias + 1/3, abono é isento (Lei 9.250/95). Tabelas 2026. Fonte: CLT arts. 129-153 + Lei 8.036/9...
This record as markdown: /tools/io-github-lfhillesheim-contai-mcp-server/calcular-ferias.md
What calcular_ferias does on Contaí — Calculadoras Fiscais Brasileiras
AI agents call calcular_ferias 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 |
|---|---|---|---|
diasFerias | integer | — | Dias de férias (1/3 abono = 20 dias gozados + 10 vendidos). Default 30. |
currentDate | string | — | Data de referência YYYY-MM-DD para tabelas fiscais (INSS/IRRF/IOF/etc.). Default: hoje. |
dependentes | integer | — | Dependentes IRRF |
abonoPecuniario | boolean | — | Se true, vende 1/3 das férias (10 dias). Não pode passar 1/3 do total. |
outrosDescontos | array | — | Descontos sobre o pagamento de férias agrupados por categoria. Cada item: { categoria, valorCents, descricao? }. |
eventosOpcionais | array | — | Adicionais conforme convenção coletiva, vendas de férias, descontos extras (não confundir com acréscimos habituais — Súmula 253). Cada item: { tipo, modoValor, |
salarioBrutoCents | integer | Yes | Salário base mensal em centavos (sem acréscimos) |
acrescimosMediaMensalCents | array | — | Média mensal dos acréscimos habituais (Súmula 253 TST integram base das férias). Cada item: { categoria, valorCents, descricao? }. |
Parameters from the server's own tool schema.
Why calcular_ferias is rated Low
This tool performs calculations for Brazilian labor law (CLT holidays, constitutional additional third, INSS/IRRF taxation) based on input parameters. It retrieves or computes derived values without creating, modifying, deleting, or executing any irreversible operations. The tool provides informational output (fiscal calculations) similar to a search or fetch operation. Lowest risk category applies.
From the tool's definition Tool description states it 'Calcula férias CLT + 1/3 constitucional' — describes calculation and retrieval of tax/labor values based on salary inputs. No modification, deletion, or execution of external code.
Risk signalsHigh parameter count (22 properties)
Attacks that exploit this kind of access
The rule that runs calcular_ferias 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_ferias, this is the rule to start with:
calcular_ferias 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_ferias call is checked against it from then on.
Questions about calcular_ferias
Calcula férias CLT + 1/3 constitucional. Bruto = salário × (dias/30) + 1/3. Abono pecuniário permite vender até 1/3 (10 dias) — esses dias somam ao bruto sem alterar o gozo. INSS e IRRF incidem sobre férias + 1/3, abono é isento (Lei 9.250/95). Tabelas 2026. Fonte: CLT arts. 129-153 + Lei 8.036/90 + Lei 9.250/95. It is categorised as a Read tool in the Contaí — Calculadoras Fiscais Brasileiras MCP Server, which means it retrieves data without modifying state.
calcular_ferias accepts 8 parameters: diasFerias, currentDate, dependentes, abonoPecuniario, outrosDescontos, eventosOpcionais, salarioBrutoCents, acrescimosMediaMensalCents. Required: salarioBrutoCents. 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_ferias: 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_ferias 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_ferias 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_ferias. 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_ferias 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