Skip to main content
Glama

FalaZuki Finance BR

calculate_payroll_loan

Calcula empréstimo consignado: quanto o banco libera dentro da margem, a parcela, e se um valor pedido cabe na margem e no prazo da categoria. Parâmetros obrigatórios: available_income, months, monthly_rate. Opcionais: category, requested_amount. Use exatamente estes nomes, em inglês.

Input Schema

NameRequiredDescriptionDefault
monthsYesPrazo em meses
categoryNoCLT tem margem de 35% e prazo de até 96 meses; aposentado ou pensionista do INSS tem a margem e o prazo vigentes na data (desde 01/09/2026, 35% para empréstimo e até 108 parcelas).clt
monthly_rateYesTaxa de juros mensal em decimal, ex: 0.018 = 1,8% ao mês
available_incomeYesRemuneração disponível em R$, o que sobra depois dos descontos obrigatórios. A margem incide sobre isto, não sobre o bruto.
requested_amountNoValor que se quer pegar, em R$. Deixe em zero para só descobrir o teto que a margem permite.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / category / description
      Previous value: -"CLT tem margem de 35% e prazo de até 96 meses; aposentado ou pensionista do INSS tem 40% e até 108 meses desde a MP 1.355/2026."New value: +"CLT tem margem de 35% e prazo de até 96 meses; aposentado ou pensionista do INSS tem a margem e o prazo vigentes na data (desde 01/09/2026, 35% para empréstimo e até 108 parcelas)."
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden, and it does add domain context: the margin is computed over available income rather than gross, and category drives margin/term rules. However, it never states that this is a side-effect-free calculation, nor how results are presented or what inputs cause failures.

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-loaded with what is computed, then the parameter list, all in compact sentences with no filler. Slightly repetitive in that the required/optional enumeration largely duplicates what the schema already marks.

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 carries the return-value burden and does describe the outputs (available limit, installment, fit check). It is nearly complete for a pure calculator, though it omits how the outputs are keyed or the failure case when the requested amount does not fit.

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 description coverage is 100%, including detailed per-parameter notes on categories, rates and income, so the baseline is 3. The description only restates which parameters are required versus optional and instructs the agent to use the exact English names, adding no semantics beyond the schema.

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 (calcula empréstimo consignado) and enumerates the concrete outputs: how much the bank releases within the margin, the installment, and whether a requested amount fits the margin and the category term. 'Consignado' is a distinct product that separates it from generic siblings like calculate_installment or compare_loans.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the described outputs and by the note that leaving requested_amount at zero yields just the ceiling, but there is no explicit when-to-use, when-not-to-use, or routing to alternatives such as compare_loans. An agent can infer the use case but gets no guidance on choosing between this and adjacent loan tools.

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