Skip to main content
Glama

Moedux — Brazilian Personal Finance & Salary Calculator

calcular_pagar_minimo_cartao

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. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does well: it discloses the 12-month simulation horizon, the 15% minimum-payment assumption, the default rate and its source (Banco Central average for September 2026), and that a calculator link is returned. It does not state model limits (e.g., no new purchases, fixed rate over 12 months), so a small gap remains.

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?

The structure is front-loaded: what is simulated, then when to use it, then the default-rate caveat. Sentences are dense but purposeful; the only minor redundancy is restating the 15,29% default that the schema already declares.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by enumerating exactly what is returned (out-of-pocket cost, interest share, remaining balance, halving time, and the calculator link). For a two-parameter calculator with no annotations, this is complete enough to invoke correctly.

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 real meaning: it explains that taxa_mensal defaults to the BCB revolving-credit average and instructs the agent to supply it when the invoice carries a different rate. This override guidance is meaningfully beyond the schema's bare default value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a concrete verb (simula) and a specific resource (pagar o mínimo do cartão), and even enumerates the outputs: cost, interest, remaining debt, and time to halve the balance. It does not name a sibling such as calcular_quitar_dividas to differentiate itself, so it stops short of the top mark despite the precise scope.

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?

It states explicit trigger scenarios: when the user asks whether paying the minimum is worthwhile, what it costs, why card debt never ends, or whether it's better to installment the invoice. No exclusions or named alternative tools are given, which keeps it from 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.