Skip to main content
Glama

Moedux — Calculadoras financeiras e trabalhistas do Brasil

calcular_ferias

Quanto recebo de férias: férias brutas (dias gozados + terço constitucional de 1/3), desconto de INSS e IRRF de 2026 e o total líquido. Informe também se vai vender 10 dias (abono pecuniário): o abono é isento de INSS e IR, então o líquido total sobe. Use quando o usuário perguntar quanto recebe de férias, quanto é o terço de férias ou se vale a pena vender dias. Devolve as linhas do cálculo 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>"
    },
    "name": "calcular_ferias"
  }
}

Input Schema

NameRequiredDescriptionDefault
diasNoDias de férias a que tem direito (padrão 30; 2,5 por mês trabalhado)
venderNotrue para vender 1/3 dos dias (abono pecuniário isento); padrão false
salario_brutoYesSalário bruto mensal em reais

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 disclosure burden and does a fair job: it states the calculation basis, the tax rules applied (INSS and IRRF 2026), the exemption of the abono pecuniário from INSS/IR, and that the result includes calculation lines plus a prefilled calculator link. It does not explicitly say the tool only computes and stores nothing, nor how the year/rates are fixed, which is a gap for a financially sensitive calculation.

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?

The purpose and output are front-loaded in the first sentences, with usage triggers placed last, which is a sensible order. It is dense but nearly every clause carries information; the only waste is repeating the abono exemption twice (once in the body, once implicitly in the guidance).

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

Completeness3/5

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

For a three-parameter, side-effect-free calculator with no annotations and no output schema, the description covers inputs, calculation logic and return shape reasonably well. It stops short of stating assumptions (2026 tables, default 30 days when the employee has less than a full period) that an agent would need to warn the user about.

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 coverage is 100%, so each parameter is already documented in the schema, making 3 the baseline. The description adds a little meaning by explaining the effect of selling days (the abono is tax-exempt, so the net total rises), but it also phrases it as 'vender 10 dias' while the schema defines it as one third of the days, a mismatch that could mislead on non-default day counts.

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?

The description names a specific verb and resource (compute vacation pay) and enumerates the components produced: gross vacation with the constitutional 1/3, INSS and IRRF 2026 deductions, and the net total. Because vacation pay is a distinct domain among the sibling calculators (décimo terceiro, FGTS, rescisão), an agent can distinguish it without consulting any other schema.

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

Usage Guidelines4/5

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

Explicit trigger conditions are given: use when the user asks how much vacation pay they receive, how much the vacation third is, or whether it is worth selling days. It lacks any exclusion or a named alternative (e.g. use calcular_rescisao when the vacation is being paid out on termination), so it is clear but one step short of full routing guidance.

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.

Resources