Skip to main content
Glama

Moedux — Finanças Brasileiras

calcular_salario_liquido

Read-onlyIdempotent

Quanto cai na conta: salário líquido a partir do salário bruto, com o desconto de INSS e o IRRF de 2026 (redutor da Lei 15.270) separados. Use quando o usuário perguntar quanto vai receber líquido, quanto sobra do salário ou qual o desconto de INSS e Imposto de Renda. Devolve o salário líquido, o INSS, o IRRF e o link da calculadora com o salário preenchido.

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>"
    },
    "name": "calcular_salario_liquido"
  }
}

Input Schema

NameRequiredDescriptionDefault
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 cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds real context beyond them: the specific return fields, the tax year (2026), and the legal basis for the IRRF reducer. The gap is scope disclosure — it never says that other deductions (dependents, pension, transport voucher) are ignored, so an agent may over-trust the result as a full payroll figure.

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 short sentences ordered sensibly: what it computes, when to call it, what it returns. The colloquial opener 'Quanto cai na conta' frames the domain quickly rather than wasting space, though 'separados' and the parenthetical law citation add minor density.

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 no output schema, the description correctly spells out the four returned values including the calculator deep link, which an agent needs to present results. What remains missing is caveat information about applicability (e.g., CLT employees only, deductions not modeled), which matters for a financial calculation tool.

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 the single parameter is already documented as 'Salário bruto mensal em reais'. The description only restates 'a partir do salário bruto', adding no format, range, or currency nuance beyond the schema, so the baseline 3 applies.

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+resource pair ('salário líquido a partir do salário bruto') and enumerates the exact deductions applied (INSS and 2026 IRRF with the Lei 15.270 reducer), which distinguishes it from narrower siblings like calcular_inss and calcular_irpf that isolate one tax.

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 three concrete user-intent triggers ('quanto vai receber líquido', 'quanto sobra do salário', 'qual o desconto de INSS e Imposto de Renda'), which is clear positive guidance. It stops short of exclusions — it never says to use calcular_inss or calcular_irpf when only one tax is wanted — so routing between overlapping siblings still requires 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.