Skip to main content
Glama

Moedux — Calculadoras financeiras e trabalhistas do Brasil

calcular_fgts

Quanto tenho de FGTS: o saldo depositado pela empresa (8% do salário bruto por mês trabalhado) a partir do salário bruto e dos meses trabalhados. Use quando o usuário perguntar quanto tem de FGTS, quanto a empresa depositou ou quanto dá de FGTS em um tempo de casa. Não calcula o saque: para o valor liberado no saque-aniversário use calcular_saque_aniversario_fgts. Devolve o saldo depositado 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": "<meses>"
    },
    "name": "calcular_fgts"
  }
}

Input Schema

NameRequiredDescriptionDefault
mesesYesMeses trabalhados com carteira assinada
salario_brutoYesSalário bruto mensal em reais

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the underlying model (8% of gross salary per month worked), the scope limit (deposits only, not withdrawal) and the return payload (balance plus a prefilled calculator link). It does not state edge-case behavior or assumptions beyond the flat 8% rate, so it is strong but not exhaustive for a mutation-free calculator.

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 core definition is front-loaded in the first clause, followed by usage triggers, the exclusion, and the return value — a sensible order. It is dense with no filler sentences, though the parenthetical rate explanation makes the opening sentence long enough to require a second read.

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 two-parameter calculator with no output schema, the description covers inputs, derivation rule, return values, and the sibling it must not be confused with. Only minor gaps remain, such as behavior at the schema's 480-month ceiling or zero salary, which are unlikely to block correct invocation.

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 coverage is 100%, so the baseline would be 3, but the description adds the relationship the schema cannot express: the two inputs combine as 8% of gross salary times months worked. That tells the agent how the parameters interact rather than merely restating their units.

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 verb and resource — computes the FGTS balance deposited by the employer — and immediately delimits it from the sibling calculator: 'Não calcula o saque: para o valor liberado no saque-aniversário use calcular_saque_aniversario_fgts.' An agent can distinguish it from calcular_saque_aniversario_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 Guidelines5/5

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

Gives three explicit user-question triggers ('quanto tem de FGTS', 'quanto a empresa depositou', 'quanto dá de FGTS em um tempo de casa') plus an explicit exclusion routing to the named alternative tool. Both the when and the when-not are stated, leaving nothing to inference.

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