Skip to main content
Glama

Moedux — Finanças Brasileiras

calcular_pagar_minimo_cartao

Read-onlyIdempotent

Quanto custa pagar o mínimo do cartão: simula 12 meses pagando só o mínimo de 15% da fatura e devolve quanto sai da conta, quanto disso é juro, quanto ainda sobra de dívida e quanto tempo o saldo leva para cair pela metade. Use quando o usuário perguntar se pagar o mínimo compensa, quanto custa pagar o mínimo, por que a dívida do cartão não acaba ou se é melhor parcelar a fatura. A taxa padrão é a média do rotativo para pessoa física do Banco Central (15,29% ao mês, setembro de 2026); informe taxa_mensal se a fatura tiver outra taxa. Devolve também o link da calculadora.

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": {
      "fatura": "<fatura>"
    },
    "name": "calcular_pagar_minimo_cartao"
  }
}

Input Schema

NameRequiredDescriptionDefault
faturaYesValor total da fatura do cartão, em reais
taxa_mensalNoTaxa do rotativo ao mês em % (padrão: 15,29, a média do Banco Central para setembro de 2026)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/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 still adds real value by disclosing the fixed simulation horizon (12 months), the assumed 15% minimum payment, and the origin of the default rate (Banco Central, 15,29% a.m., setembro de 2026), plus the returned link. It does not flag caveats such as that the simulation is illustrative and ignores revolving interest changes or other card purchases.

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 the action and its outputs, then usage triggers, then the default-rate caveat — a sensible order. Dense but every sentence carries information; only the closing "Devolve também o link da calculadora" is marginal.

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 burden of describing returns and does so thoroughly (cost, interest, remaining debt, half-life of the balance, link). What is missing is a caveat on simulation assumptions beyond the fixed 15% and 12-month horizon, which matters for a financial projection.

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 baseline is 3; the description nonetheless explains why taxa_mensal exists and when to override it ("informe taxa_mensal se a fatura tiver outra taxa") and restates the default and its source. The fixed 15% minimum-payment assumption is also surfaced, which is not a parameter at all and would otherwise be invisible.

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?

Specific verb and resource: "simula 12 meses pagando só o mínimo de 15% da fatura" and enumerates exactly what it returns (quanto sai da conta, quanto é juro, dívida restante, tempo para o saldo cair pela metade). Editorial scope (card minimum payment only) clearly separates it from siblings like calcular_quitar_dividas or simular_emprestimo_pessoal.

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?

Explicit trigger conditions are supplied: "Use quando o usuário perguntar se pagar o mínimo compensa, quanto custa pagar o mínimo, por que a dívida do cartão não acaba ou se é melhor parcelar a fatura." That covers realistic user phrasings well. It does not name a sibling alternative for adjacent questions (e.g., paying off debt vs. financing the invoice elsewhere), so it stops short of full when-not/alternative routing.

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.