Skip to main content
Glama

Moedux — Finanças Brasileiras

calcular_financiamento

Read-onlyIdempotent

Parcela de um financiamento com juros fixos: calcula pela Tabela Price a parcela, o total pago, os juros e a renda mínima que a parcela exige (até 30% da renda familiar), a partir do valor do imóvel, da entrada, do prazo em anos e da taxa anual do contrato. Use quando o usuário perguntar quanto fica a parcela de um financiamento de imóvel ou de veículo, quanto vai pagar de juros ou se a parcela cabe no orçamento. Informe o valor do bem e o prazo em anos; entrada é opcional (0 sem entrada) e a taxa anual é opcional (padrão 10,75% ao ano, a mesma do exemplo da calculadora — troque pela taxa do contrato). Não é consórcio, que não tem juros e cobra taxa de administração: para consórcio use simular_consorcio; para empréstimo sem bem use simular_emprestimo_pessoal. Devolve a parcela, o total, os juros 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": {
      "valor_imovel": "<valor_imovel>",
      "prazo_anos": "<prazo_anos>"
    },
    "name": "calcular_financiamento"
  }
}

Input Schema

NameRequiredDescriptionDefault
entradaNoQuanto a pessoa paga à vista, em reais. Padrão: 0
prazo_anosYesPrazo do contrato em anos
taxa_anualNoTaxa de juros nominal do contrato em % ao ano. Padrão: 10.75 (exemplo da calculadora)
valor_imovelYesValor total do bem, em reais

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuine behavioral context beyond that: the 30%-of-income affordability rule, which parameters are required vs optional, and a warning that the 10.75% default is only the calculator's example and should be replaced with the contract rate.

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?

Ordered sensibly: purpose and outputs first, then user intents, then required/optional parameters, then sibling exclusions, then return values. It is dense and slightly long, but every clause carries information; no filler or repetition of the title.

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?

Even without an output schema, the description states what is returned (parcela, total, juros, link da calculadora preenchido), and it covers inputs, defaults, and sibling boundaries. Only minor gaps remain, such as whether seguros/taxas administrativas are included in the parcela.

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. The description still adds interpretive value by restating the minimum inputs (valor do bem e prazo em anos), clarifying entrada=0 means sem entrada, and flagging that the default taxa_anual is an editorial example rather than a real contract rate — guidance the schema does not express.

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?

Names a specific verb and resource (calcula pela Tabela Price a parcela de um financiamento com juros fixos) and enumerates the concrete outputs: parcela, total pago, juros, renda mínima. It also explicitly states what it is not (consórcio) and names the sibling tools that cover those cases.

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

Usage Guidelines5/5

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

Gives explicit when-to-use triggers in user-intent language (quanto fica a parcela, quanto vai pagar de juros, se cabe no orçamento) and explicitly routes away two alternatives: simular_consorcio for consórcio and simular_emprestimo_pessoal for empréstimo sem bem. Nothing is left to 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.