Skip to main content
Glama

Amortiza Loan Planner

Calculate loan or mortgage

calculate_loan
Read-onlyIdempotent

Use this when the user wants a mortgage calculator, loan calculator, or amortization calculator result: the monthly (or biweekly/weekly) payment, an amortization schedule or table, total interest, payoff date, a mortgage calculator with extra payments or for paying off early, or a full PITI payment with property tax, insurance, HOA and PMI. Takes the loan amount or home price with down payment, rate, and term. Returns exact payment, totals, interest and time saved by extra payments, a yearly summary, and a CSV of the full schedule. Fixed-rate loans only; does not model adjustable rates, interest-only or balloon loans, and does not look up current rates. Do not use for rent-vs-buy advice or choosing a lender.

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%.
principalNoLoan amount to borrow, e.g. 350000. Give this OR home_price with a down payment.
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_yearsNoLoan term in years, e.g. 30. Give term_years or term_months.
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_rateNoAnnual interest rate in percent (nominal APR used for the payment), e.g. 6.5 for 6.5%. 0 is allowed.
hoa_monthlyNoMonthly HOA dues, e.g. 75.
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.
extra_paymentNoExtra principal paid with every payment, e.g. 200 for $200 more each month.
one_time_paymentsNoLump-sum extra payments, e.g. [{"date":"2030-01","amount":10000}].
payment_frequencyNoHow often payments are made: monthly (default), biweekly (every 2 weeks, 26 a year), or weekly (52 a year).
property_tax_annualNoYearly property tax for the PITI breakdown, e.g. 4800.
down_payment_percentNoDown payment as a percent of home_price, e.g. 20 for 20%.
home_insurance_annualNoYearly homeowners insurance for the PITI breakdown, e.g. 1500.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pmiYes
pitiYes
chartYes
inputsYes
yearlyYes
paymentYes
summaryYes
currencyYes
warningsYes
downloadsYes
total_pmiYes
home_priceYes
total_paidYes
vs_monthlyYes
acceleratedYes
annual_rateYes
loan_amountYes
payoff_dateYes
term_monthsYes
final_paymentYes
extra_paymentsYes
payments_countYes
total_interestYes
total_principalYes
payment_frequencyYes
first_payment_dateYes

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