Skip to main content
Glama

Calcular verbas trabalhistas

labor_calculate
Read-onlyIdempotent

Calcula verbas rescisórias e horas extras de um contrato de trabalho, com fundamento e fórmula de cada parcela e total. Use os valores devolvidos nos pedidos líquidos.

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": {
      "admissionDate": "<admissionDate>",
      "terminationDate": "<terminationDate>",
      "monthlySalary": "<monthlySalary>",
      "terminationType": "<terminationType>",
      "noticeIndemnified": "<noticeIndemnified>",
      "vacationPeriodsNotTaken": "<vacationPeriodsNotTaken>",
      "fgtsBalance": "<fgtsBalance>",
      "fgtsDeposited": "<fgtsDeposited>",
      "unpaidSalaryMonths": "<unpaidSalaryMonths>",
      "severancePaid": "<severancePaid>",
      "overtime": "<overtime>",
      "timecards": "<timecards>",
      "timecardDivisor": "<timecardDivisor>",
      "hazardPay": "<hazardPay>"
    },
    "name": "labor_calculate"
  }
}

Input Schema

NameRequiredDescriptionDefault
overtimeYes
hazardPayYes
timecardsYesHoras extras e noturnas mês a mês, tiradas dos cartões de ponto; quando houver, overtime fica nulo.
fgtsBalanceYesSaldo do FGTS, se informado.
admissionDateYesAAAA-MM-DD; se a advogada só informou mês e ano, AAAA-MM (não invente o dia).
fgtsDepositedYesfalse se o empregador não depositou o FGTS.
monthlySalaryYes
severancePaidYesfalse só quando a pessoa disse que as verbas rescisórias não foram pagas (entram as multas dos arts. 477 e 467); sem essa informação, nulo.
terminationDateYesÚltimo dia trabalhado: AAAA-MM-DD, ou AAAA-MM se só o mês foi informado.
terminationTypeYes
timecardDivisorYes
noticeIndemnifiedYesNulo: indenizado na dispensa pelo empregador.
unpaidSalaryMonthsYes
vacationPeriodsNotTakenYesPeríodos de férias completos não gozados.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / severancePaid / description
      Previous value: -"false se as verbas rescisórias não foram pagas."New value: +"false só quando a pessoa disse que as verbas rescisórias não foram pagas (entram as multas dos arts. 477 e 467); sem essa informação, nulo."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds useful behavior beyond that: the result includes the legal basis and formula for each line item plus a total. It says nothing, however, about how partial or null inputs are handled across the 14 required fields.

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?

Two tightly written sentences, front-loaded with what is computed and followed by what the output contains. No filler or repetition of the title; the only weakness is that the second sentence is a usage hint rather than substantive 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?

There is no output schema, so the description rightly explains that results include the legal basis, per-item formula and total. But for a 14-required-parameter tool with nested overtime/hazardPay inputs and a null-handling convention, the description does not help an agent assemble a valid call or understand what happens when optional-looking fields are omitted.

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 57%, above the midpoint, so several fields (admissionDate, terminationDate, fgtsDeposited, severancePaid, timecards, vacationPeriodsNotTaken) already carry meaningful guidance. The description itself contributes no parameter meaning at all, and fully undocumented fields like monthlySalary, timecardDivisor, overtime and hazardPay are left to inference. Baseline 3 holds, but the description does no compensating work.

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

Purpose4/5

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

The description names a specific verb ('Calcula') and specific resources ('verbas rescisórias e horas extras de um contrato de trabalho'), plus the output shape (fundamento e fórmula de cada parcela e total). This clearly separates it from the other domain calculators (alimony, retirement, debt, etc.), though it never names or contrasts a sibling explicitly.

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

Usage Guidelines2/5

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

The only guidance is 'Use os valores devolvidos nos pedidos líquidos', which is a downstream-consumption hint, not a when-to-use rule. Nothing states prerequisites (e.g. that it needs a complete contract dataset) or when a different calculator in the catalog would be the right call.

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