Skip to main content
Glama

Moedux — Brazilian Personal Finance & Salary Calculator

calcular_rescisao

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. Added

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden and does disclose the return payload: total, per-item breakdown, and a pre-filled calculator link. It does not state that the operation is read-only/purely computational, nor that motivo defaults to demissao-sem-justa-causa, leaving gaps a mutation-averse agent would want closed.

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 dense sentences: the first front-loads what is computed and from which inputs, the second covers when to use it and what comes back. No filler or repetition; every clause carries information.

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, no-annotation calculator with no output schema, the definition covers inputs, use cases, and the shape of the response (total, breakdown, link). Only minor context is missing, such as the default motivo behavior and currency/rounding assumptions.

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

Parameters4/5

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

Schema description coverage is 100%, so baseline is 3, and the description adds a little by tying the calculation explicitly to 'salário bruto' and 'meses trabalhados' as the driving inputs. It adds nothing about the motivo enum's effect on the result beyond what the schema already documents.

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 the specific calculation (severance payout) and enumerates the exact components it covers: saldo de salário, 13º proporcional, férias com 1/3, aviso prévio and the 40% FGTS fine. That enumeration clearly separates it from siblings such as calcular_seguro_desemprego or projetar_saldo_12_meses, so an agent can tell which tool handles a severance question 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 conditions: 'Use quando o usuário perguntar quanto vai receber ao ser demitido, pedir demissão ou só da multa do FGTS', and those scenarios map neatly onto the motivo enum values. There is no explicit exclusion or named alternative for adjacent questions (e.g. unemployment insurance), which keeps it below a 5.

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.