Skip to main content
Glama

Moedux — Finanças Brasileiras

calcular_decimo_terceiro

Read-onlyIdempotent

Quanto recebo de décimo terceiro: valor bruto, 1ª e 2ª parcelas já com os descontos de INSS e Imposto de Renda, a partir do salário bruto e dos meses trabalhados no ano. Use quando o usuário perguntar quanto vai receber de décimo terceiro, de 13º salário, ou por que a segunda parcela vem menor. Devolve o bruto, as duas parcelas, os descontos 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_decimo_terceiro"
  }
}

Input Schema

NameRequiredDescriptionDefault
mesesYesMeses trabalhados no ano (1 a 12)
salario_brutoYesSalário bruto mensal em reais

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds value beyond them by disclosing that INSS and IRPF deductions are already applied inside the installments and that a pre-filled calculator link is returned alongside the numbers. It doesn't say whether the deductions are exact tabled rates or estimates, which is the one behavioral detail an agent might still need.

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?

Three sentences, front-loaded with the payoff and covering use case and return contents. There is mild redundancy: the first and third sentences both enumerate the bruto, parcelas and descontos, so one of them could be trimmed.

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?

With only two required parameters and no output schema, the description carries the return-value burden and does so by naming every returned figure plus the calculator link. Complete enough to call correctly; only the estimation basis of the deductions is left unstated.

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%, with both parameters documented including the 1–12 bounds on 'meses', so the baseline of 3 applies. The description only restates the inputs ('a partir do salário bruto e dos meses trabalhados no ano') without adding domain semantics such as the 15-day rule that determines whether a month counts.

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 ('Quanto recebo de décimo terceiro') and enumerates the exact outputs: valor bruto, 1ª e 2ª parcelas com descontos de INSS e IRPF, a partir de salário bruto e meses trabalhados. That is precise enough to separate it from the sibling component calculators (calcular_inss, calcular_irpf, calcular_salario_liquido) 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?

'Use quando o usuário perguntar quanto vai receber de décimo terceiro, de 13º salário, ou por que a segunda parcela vem menor' gives concrete trigger phrasings, including the common synonym and an edge-question variant. It stops short of exclusions or pointing to a sibling for related questions (e.g. férias or rescisão), so it is clear context but not full when/when-not guidance.

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.