calcular_banco_de_horas
Calcula o saldo do banco de horas CLT: horas credoras (empresa deve), devedoras (empregado deve), valor em dinheiro se compensado em folga (1:1) ou com adicional quando o prazo vencer. Saldo = Credoras − Devedoras. HoraNormal = Salário ÷ Divisor. HoraExtra = HoraNormal × (1 + Adicional/100). Font...
This record as markdown: /tools/io-github-lfhillesheim-contai-mcp-server/calcular-banco-de-horas.md
What calcular_banco_de_horas does on Contaí — Calculadoras Fiscais Brasileiras
AI agents call calcular_banco_de_horas 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 |
|---|---|---|---|
divisorHoras | integer | — | Divisor mensal padrão. Default 220h (44h/sem). 200h = 40h/sem. |
prazoVencido | boolean | — | true se o banco expirou sem compensação (prazo máximo 6 meses por acordo individual, 1 ano por convenção coletiva). Quando true e há saldo credor, empresa deve |
horasCredoras | number | Yes | Horas acumuladas que o empregador deve ao empregado |
horasDevedoras | number | — | Horas que o empregado deve compensar (trabalhou menos que o normal). Default 0. |
adicionalPercent | number | — | Adicional para pagamento de saldo não compensado (%). Default 50% (mínimo CLT). Convenções coletivas podem prever adicional maior. |
salarioBrutoCents | integer | Yes | Salário bruto mensal em centavos |
Parameters from the server's own tool schema.
Why calcular_banco_de_horas is rated Low
This is a computational/informational tool that reads CLT labor law rules and performs arithmetic on user-supplied inputs to generate a report. It has no side effects—no data is created, modified, deleted, or persisted. No external systems are triggered.
From the tool's definition Tool performs calculations on banking hours ("Calcula o saldo do banco de horas") based on input parameters.
Attacks that exploit this kind of access
The rule that runs calcular_banco_de_horas 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_banco_de_horas, this is the rule to start with:
calcular_banco_de_horas 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_banco_de_horas call is checked against it from then on.
Questions about calcular_banco_de_horas
Calcula o saldo do banco de horas CLT: horas credoras (empresa deve), devedoras (empregado deve), valor em dinheiro se compensado em folga (1:1) ou com adicional quando o prazo vencer. Saldo = Credoras − Devedoras. HoraNormal = Salário ÷ Divisor. HoraExtra = HoraNormal × (1 + Adicional/100). Fonte: CLT art. 59 §2° e Lei 13.467/2017 (Reforma Trabalhista). It is categorised as a Read tool in the Contaí — Calculadoras Fiscais Brasileiras MCP Server, which means it retrieves data without modifying state.
calcular_banco_de_horas accepts 6 parameters: divisorHoras, prazoVencido, horasCredoras, horasDevedoras, adicionalPercent, salarioBrutoCents. Required: horasCredoras, 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_banco_de_horas: 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_banco_de_horas 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_banco_de_horas 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_banco_de_horas. 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_banco_de_horas 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