Skip to main content
Glama

Moedux — Finanças Brasileiras

calcular_ferias

Read-onlyIdempotent

Quanto recebo de férias: férias brutas (dias gozados + terço constitucional de 1/3), desconto de INSS e IRRF de 2026 e o total líquido. Informe também se vai vender 10 dias (abono pecuniário): o abono é isento de INSS e IR, então o líquido total sobe. Use quando o usuário perguntar quanto recebe de férias, quanto é o terço de férias ou se vale a pena vender dias. Devolve as linhas do cálculo 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>"
    },
    "name": "calcular_ferias"
  }
}

Input Schema

NameRequiredDescriptionDefault
diasNoDias de férias a que tem direito (padrão 30; 2,5 por mês trabalhado)
venderNotrue para vender 1/3 dos dias (abono pecuniário isento); padrão false
salario_brutoYesSalário bruto mensal em reais

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so safety is covered. The description adds behavior beyond that: it discloses the return shape ('linhas do cálculo e o link da calculadora com os números preenchidos') and explains the domain rule that the abono is INSS/IR exempt so the net rises. Rate limits or error behavior are not relevant for a stateless 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?

Front-loads the calculation scope, then the selling option, then the usage triggers, then the return value in four tight sentences. No filler, though the abono explanation is slightly repeated between the second and fourth sentences.

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 compensates by describing what is returned (calculation lines plus a prefilled calculator link). Combined with 100% schema coverage for the three simple, flat parameters, an agent has everything needed to call it correctly; only tax-rate assumptions (IRRF 2026) are left implicit.

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 is 3, but the description adds tax semantics the schema lacks: it explains what the 'vender' flag means in financial terms (abono pecuniário isento de INSS e IR, líquido total sobe). Naming '10 dias' as the sold amount maps to the 1/3 rule in the schema, adding meaning rather than restating it.

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 ('Quanto recebo de férias') and enumerates the outputs: férias brutas including the 1/3 constitutional third, INSS and IRRF 2026 deductions, and net total. It also names the abono pecuniário branch, which clearly separates it from sibling calculators like calcular_rescisao or calcular_salario_liquido.

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 phrases: 'Use quando o usuário perguntar quanto recebe de férias, quanto é o terço de férias ou se vale a pena vender dias.' This is clear when-to-use guidance with three concrete user intents. It does not name an alternative tool or state when NOT to use it (e.g., rescisão), so it stops short of a 5.

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.