Skip to main content
Glama

Moedux — Finanças Brasileiras

calcular_fgts

Read-onlyIdempotent

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.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is covered. The description still adds real value beyond them by disclosing the calculation model (8% of gross salary per month worked) and, since no output schema exists, what comes back: the deposited balance plus a calculator link pre-filled with the numbers. It stops short of noting any rounding or truncation behavior for partial months.

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?

The definition is front-loaded with the core answer, then use cases, then the exclusion, then the return value. Each sentence carries distinct information — formula, trigger phrases, sibling redirect, output shape — with no restatement of the tool name or filler.

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 read-only calculator with no output schema, the description covers purpose, triggers, the formula, the sibling boundary, and the return contents, which is close to everything an agent needs. The only minor gap is that the two-piece return (number plus link) is described but not characterized in structure, though that is small for a tool this simple.

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 genuine semantic linkage by explaining that the balance is derived from gross salary and months worked at 8% per month, clarifying how the two inputs combine rather than just naming them. Month cap (480) and zero-floor on salary remain schema-only, which is fine since they are already documented there.

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 in the very first words ('Quanto tenho de FGTS ... o saldo depositado pela empresa'), and goes further by giving the underlying rule (8% of gross salary per month worked). It explicitly distinguishes itself from calcular_saque_aniversario_fgts, so an agent can route between the two without opening a 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?

Enumerates the concrete user phrasings that should trigger it ('quanto tem de FGTS', 'quanto a empresa depositou', 'quanto dá de FGTS em um tempo de casa') and then names an explicit exclusion with the alternative to use instead ('Não calcula o saque: ... use calcular_saque_aniversario_fgts'). This is the when/when-not/alternative pattern at full strength.

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.