Skip to main content
Glama

Moedux — Calculadoras financeiras e trabalhistas do Brasil

calcular_decimo_terceiro

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?

With no annotations and no output schema, the description carries the disclosure burden and does well: it names the deduction types applied, the two-installment structure, and that a calculator link with pre-filled numbers comes back. Minor accuracy gap: '1ª e 2ª parcelas já com os descontos' is imprecise since Brazilian law puts the deductions on the second installment only, which partially conflicts with its own 'por que a segunda parcela vem menor' framing.

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 dense sentences, front-loaded with the output summary, then usage triggers, then the return payload — an agent can extract the essentials in one pass. The final sentence repeats the gross/installments/deductions list already given in sentence one, which is a small amount of waste.

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 pure-calculation tool with no output schema, the description covers inputs, outputs, deductions and usage triggers adequately. It omits computation assumptions (no dependents, no other discounts, rounding) and the legal nuance that installment one is undeducted, which would help an agent explain results.

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 both parameters already document units, ranges and meaning. The description restates the same two inputs ('salário bruto e dos meses trabalhados no ano') without adding format, rounding, or edge-case guidance, so the schema does the heavy lifting.

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 computation (décimo terceiro / 13º salário) and enumerates exactly what is produced: gross value, both installments with INSS and IR deductions, plus the pre-filled calculator link. The resource is unambiguous against siblings like calcular_inss or calcular_fgts, and the alias '13º salário' widens matching.

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?

Gives explicit trigger conditions: use when the user asks how much 13th salary they will receive, or why the second installment is smaller. It does not state when-not to use it or point to the sibling to call for a partial question (e.g., only the INSS deduction), so it stops short of the full when/when-not/alternatives pattern.

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