Skip to main content
Glama

Amortiza Loan Planner

Compare loans

compare_loans
Read-onlyIdempotent

Use this when the user wants to compare 2 to 4 loan or mortgage options side by side, such as 15-year vs 30-year, different interest rates, paying discount points, or a mortgage calculator for refinance options. Shared values (loan amount, rate, term) go at the top level and each scenario overrides what differs. Returns payment, total interest, upfront costs, total cost, payoff date and the break-even month for points or fees, plus a comparison CSV. Fixed-rate loans only; does not look up current rates or recommend a lender. Do not use for a single loan (use calculate_loan).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyNoISO 4217 currency code for formatting, e.g. USD, EUR, GBP. Default USD.
pmi_rateNoYearly private mortgage insurance rate as a percent of the original loan, e.g. 0.5. Needs home_price. Charged only while the loan is above 80% of the home value, and dropped once the balance reaches 78%.
principalNoShared loan amount used by every scenario that does not set its own, e.g. 280000.
scenariosYes2 to 4 loan scenarios. Each needs its own annual_rate and term unless set at the top level, e.g. [{"label":"30-year","annual_rate":6.5,"term_years":30},{"label":"15-year","annual_rate":5.75,"term_years":15}].
home_priceNoPurchase price or current home value, e.g. 400000. Used with down_payment/down_payment_percent to get the loan amount, and as the value for PMI loan-to-value.
start_dateNoDate of the first payment, YYYY-MM or YYYY-MM-DD, e.g. 2026-11. Defaults to the first day of next month.
term_yearsNoShared term in years for scenarios that do not set their own, e.g. 30.
acceleratedNoFor biweekly/weekly only: true pays half (biweekly) or a quarter (weekly) of the monthly payment each period, which adds about one extra monthly payment a year. Default false (a true biweekly/weekly amortization).
annual_rateNoShared annual rate in percent for scenarios that do not set their own, e.g. 6.5.
term_monthsNoLoan term in months, e.g. 360 or 72 for a car loan.
down_paymentNoDown payment amount, e.g. 50000. Used with home_price.
payment_frequencyNoHow often payments are made: monthly (default), biweekly (every 2 weeks, 26 a year), or weekly (52 a year).
down_payment_percentNoDown payment as a percent of home_price, e.g. 20 for 20%.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyYes
warningsYes
downloadsYes
referenceYes
scenariosYes
lowest_paymentYes
lowest_cost_of_borrowingYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources