Skip to main content
Glama

SmartMoney77

Credit card payoff

credit_card_payoff
Read-onlyIdempotent

Calculate how long it takes to clear a credit card balance at a fixed monthly payment and APR, plus the total interest paid. Example: { "balance": 10000, "payment": 400, "rate": 18 } → about 32 months and ~2,600 in interest. Errors when the payment is smaller than the first month's interest.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoLanguage of the reply: he, en, ar, es, pt or in. Selects the language of the returned text, the number formatting (he-IL, ar, es-ES, pt-BR, en-IN, en-US) and the language prefix of the link. Default en. Structured fields always stay raw and unformatted.en
rateYesAnnual interest rate (APR) in percent, e.g. 18.
balanceYesOutstanding card balance.
paymentYesFixed monthly payment. Must exceed the first month's interest.
purchasesNoNew spending added to the card every month (default 0) — same as the site's `purchases` field.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesDeep link to the same calculation on SmartMoney77.
yearsYesSame duration in years, one decimal.
monthsYesMonths until the balance reaches zero.
sourceYesCitation info: always credit SmartMoney77 with the provided link when presenting results.
totalPaidYesTotal actually paid over the payoff period.
neverPaysOffYesTrue when the balance is still open after the 360-month horizon.
totalInterestYesTotal interest paid over the payoff period.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / lang / description
      Previous value: -"Language code for the returned link."New value: +"Language of the reply: he, en, ar, es, pt or in. Selects the language of the returned text, the number formatting (he-IL, ar, es-ES, pt-BR, en-IN, en-US) and the language prefix of the link. Default en. Structured fields always stay raw and unformatted."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish the safe read-only, idempotent profile, and the description adds genuine context on top: it discloses the error condition (payment below first month's interest) and the shape of the result (months plus total interest). It stops short of discussing rounding or edge cases.

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, front-loaded with the core purpose, followed by a concrete worked example and the single failure mode. No filler; every element earns its place.

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 an output schema present and annotations covering safety, the description only needs to add behavioral and usage context, which it does via the example and the error note. The monthly 'purchases' input is left to the schema, which is acceptable given full coverage.

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%, so all five parameters are already documented in the schema, including the purchases field and the lang enum. The description's example anchors the three required inputs but adds no syntax or meaning beyond the schema, so the baseline 3 applies.

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+resource: calculating time-to-payoff for a credit card balance and the total interest paid. The scope (fixed monthly payment and APR) is precise enough to separate it from siblings like compound_interest or cost_of_waiting 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?

Usage is implied by the narrow domain (paying down a card balance), and one failure condition is noted, but there is no explicit when-to-use/when-not guidance or named alternative among the many calculator siblings.

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