Skip to main content
Glama

Moedux — Finanças Brasileiras

calcular_rescisao

Read-onlyIdempotent

Quanto recebo de rescisão: saldo de salário, 13º proporcional, férias com 1/3, aviso prévio e multa de 40% do FGTS, a partir do salário bruto e dos meses trabalhados. Use quando o usuário perguntar quanto vai receber ao ser demitido, pedir demissão ou só da multa do FGTS. Devolve o total, a quebra por verba 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>",
      "meses_trabalhados": "<meses_trabalhados>"
    },
    "name": "calcular_rescisao"
  }
}

Input Schema

NameRequiredDescriptionDefault
motivoNodemissao-sem-justa-causa (padrão), pedido-demissao, multa-fgts ou aviso-previo
salario_brutoYesSalário bruto mensal em reais
meses_trabalhadosYesMeses trabalhados no emprego

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds behavior the annotations cannot: inputs used ('a partir do salário bruto e dos meses trabalhados') and the shape of the response (total, per-item breakdown, and a calculator link with the numbers pre-filled), which matters because there is no output schema.

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

Conciseness5/5

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

Two sentences, front-loaded with the benefit list, then usage triggers, then return value. Every clause carries information an agent needs; there is no filler or repetition of the tool name.

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?

For a three-parameter, annotation-covered calculator with no output schema, the definition covers purpose, triggers and return shape, which is close to sufficient. It stops short of stating caveats such as whether values are estimates, how the default motivo behaves, or any rounding assumptions, but nothing essential for calling it correctly is absent.

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% and the motivo enum is documented per value, so the schema carries the parameter burden. The description only implicitly maps scenarios to the motivo values (e.g., 'só da multa do FGTS' pointing at multa-fgts) and adds no numeric details such as rounding or how meses_trabalhados affects proportionality, so the baseline of 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?

The description states a specific verb and resource (calcular rescisão) and enumerates exactly what is computed: saldo de salário, 13º proporcional, férias com 1/3, aviso prévio e multa de 40% do FGTS. This composite scope is enough for an agent to separate it from narrower siblings such as calcular_ferias, calcular_decimo_terceiro and calcular_fgts 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 Guidelines4/5

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

It gives explicit trigger scenarios: when the user asks how much they will receive upon being fired, resigning, or only the FGTS fine. What is missing is an exclusion clause routing single-benefit questions to the sibling calculators, even though the phrase 'só da multa do FGTS' signals that the fine-only case is handled here.

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.