Skip to main content
Glama

Money Gotchas Rough Math

What does paying the minimum really cost?

credit_card_payoff
Read-onlyIdempotent

Credit card payoff at a fixed monthly payment: months to reach zero and total interest, plus the same with $50 more a month. Assumes the same payment and APR every month and no new purchases or fees; real minimums shrink, so paying only the minimum takes longer.

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": {
      "balance": "<balance>",
      "apr": "<apr>",
      "monthly_payment": "<monthly_payment>"
    },
    "name": "credit_card_payoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
aprYesInterest rate (APR) in percent, e.g. 24.
balanceYesCard balance in US dollars.
monthly_paymentYesFixed amount paid each month.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 the safety profile is covered. The description adds real modeling caveats beyond them: constant payment and APR, no new purchases or fees, and the warning that real minimums shrink so minimum-only payoff takes longer than the projection. It does not discuss rounding or currency assumptions, but the key behavioral caveat is disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, output stated first and assumptions second, with zero filler. Every clause carries information an agent or user needs, and the caveat is attached to the relevant assumption rather than buried.

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 so by naming months-to-zero and total interest for both scenarios. The only mild ambiguity is that the $50 uplift is a built-in comparison rather than a parameter, which the phrasing implies but never states outright.

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 coverage is 100% and all three parameters are documented with units and examples, so the baseline applies. The description reinforces that monthly_payment is a fixed amount and that apr is held constant, but adds no new syntax or constraints 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 computation and output: months to reach zero and total interest for a fixed monthly payment, plus a second scenario with $50 more per month. The scope (payoff projection from balance/APR/payment) is immediately distinguishable from siblings like net_worth or subscription_cost without opening any schema.

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?

The framing ('what does paying the minimum really cost?') implies the intended scenario analysis, but there is no explicit when-to-use or when-not-to-use guidance and no named alternative. An agent can infer the use case but gets no routing rules.

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