Skip to main content
Glama

Moedux — Brazilian Personal Finance & Salary Calculator

calcular_horas_extras

Quanto valem as horas extras: valor da hora normal, valor das horas extras com o adicional de 50% (dias úteis) ou 100% (domingos e feriados) e o DSR que o banco de horas costuma esquecer, a partir do salário bruto, da jornada mensal e das horas extras do mês. Use quando o usuário perguntar quanto vale a hora extra, quanto ele recebe por horas extras ou quanto dá de horas extras no mês. Não calcula adicional noturno nem banco de horas acumulado. Devolve o valor da hora, o total das horas extras, o DSR e o link da calculadora com os números preenchidos.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "salario_bruto": "<salario_bruto>",
      "horas_mensais": "<horas_mensais>",
      "horas_extras": "<horas_extras>"
    },
    "name": "calcular_horas_extras"
  }
}

Input Schema

NameRequiredDescriptionDefault
percentualNoAdicional: 50 para dias úteis (padrão) ou 100 para domingos e feriados
horas_extrasYesHoras extras no mês; aceita frações, como 10,5
horas_mensaisYesJornada mensal em horas (44h por semana = 220)
salario_brutoYesSalário bruto mensal em reais

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations at all, the description carries the full burden and does disclose the return set (valor da hora, total das horas extras, DSR, link da calculadora preenchido) and the calculation scope limits. What it does not state is that this is a stateless, side-effect-free calculation with no persistence or auth requirement, which is exactly the kind of behavioral fact that annotations would normally supply.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the value proposition and the computation scope, followed by usage triggers and exclusions, then returns — a sensible order. The trigger sentence is repetitive (three near-synonymous phrasings of "quanto vale a hora extra"), which costs a little density but aids matching.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers inputs, computed fields, scope exclusions, and typical user phrasings for a 4-parameter tool with no output schema and no annotations. The remaining gap is behavioral rather than computational: nothing tells the agent the call is a pure calculation whose returned link is the only artifact.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all four parameters including the 50/100 enum and the 220-hour default are already documented in the schema. The description restates the input set and the dias úteis vs domingos/feriados meaning of the percentage, but adds no format, rounding, or default assumptions beyond what the schema already carries. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource (horas extras) and precisely enumerates what is computed: valor da hora normal, adicional de 50%/100%, and DSR. It also names the input basis (salário bruto, jornada mensal, horas extras do mês) and the outputs, so an agent can tell this apart from the other folha-de-pagamento calculators (férias, rescisão, INSS) without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit trigger phrasings ("quanto vale a hora extra", "quanto ele recebe por horas extras", "quanto dá de horas extras no mês") plus explicit when-not conditions ("Não calcula adicional noturno nem banco de horas acumulado"). The boundary conditions are concrete enough that the agent knows when to route elsewhere.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.