calcular_horas_extras_dsr
Calcula horas extras com DSR (Descanso Semanal Remunerado) reflexo, separando 50% (dia útil) e 100% (DSR/feriado). DSR = (HE × dias_dsr / dias_uteis) — Súmula TST 172. Útil pra folha de pagamento detalhada quando empregado faz HE em domingo/feriado. Mais granular que calcular_horas_extras. Fonte:...
This record as markdown: /tools/io-github-lfhillesheim-contai-mcp-server/calcular-horas-extras-dsr.md
What calcular_horas_extras_dsr does on Contaí — Calculadoras Fiscais Brasileiras
AI agents call calcular_horas_extras_dsr 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 |
|---|---|---|---|
diasDsr | integer | — | Dias de DSR no mês (domingos + feriados). Default 5. |
diasUteis | integer | — | Dias úteis no mês. Default 25. |
currentDate | string | — | Data de referência YYYY-MM-DD para tabelas fiscais (INSS/IRRF/IOF/etc.). Default: hoje. |
horasExtras50Pct | number | Yes | Horas extras 50% no mês (segunda a sábado, dias úteis) |
horasExtras100Pct | number | — | Horas extras 100% (DSR + feriados). Default 0. |
salarioBrutoCents | integer | Yes | Salário bruto mensal em centavos |
cargaHorariaMensal | number | — | Carga horária mensal padrão. Default 220h (44h/semana × 5 sem). |
Parameters from the server's own tool schema.
Why calcular_horas_extras_dsr is rated Low
This is a calculation/query tool that takes numeric inputs and returns computed results for payroll planning. It retrieves or derives data based on formula application; it does not create, modify, delete, or execute external operations. No reversible writes, destructive actions, or financial transactions occur—it merely performs mathematical operations and returns informational output for decision-making.
From the tool's definition Tool name and description indicate it 'Calcula' (calculates) hours extras with DSR reflexo, performing mathematical computations based on input parameters (HE, dias_dsr, dias_uteis) following statutory formulas (CLT art. 7º, Lei 605/49, Súmula TST 172).
Attacks that exploit this kind of access
The rule that runs calcular_horas_extras_dsr 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_horas_extras_dsr, this is the rule to start with:
calcular_horas_extras_dsr 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_horas_extras_dsr call is checked against it from then on.
Questions about calcular_horas_extras_dsr
Calcula horas extras com DSR (Descanso Semanal Remunerado) reflexo, separando 50% (dia útil) e 100% (DSR/feriado). DSR = (HE × dias_dsr / dias_uteis) — Súmula TST 172. Útil pra folha de pagamento detalhada quando empregado faz HE em domingo/feriado. Mais granular que calcular_horas_extras. Fonte: CLT art. 7º + Lei 605/49 + Súmula TST 172. It is categorised as a Read tool in the Contaí — Calculadoras Fiscais Brasileiras MCP Server, which means it retrieves data without modifying state.
calcular_horas_extras_dsr accepts 7 parameters: diasDsr, diasUteis, currentDate, horasExtras50Pct, horasExtras100Pct, salarioBrutoCents, cargaHorariaMensal. Required: horasExtras50Pct, 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_horas_extras_dsr: 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_horas_extras_dsr 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_horas_extras_dsr 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_horas_extras_dsr. 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_horas_extras_dsr 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