Compare renting and buying a home
smartfin_compare_rent_vs_buyCompares buying a home with a fixed-rate mortgage against renting a similar home and investing the money not spent on the home, over the years someone plans to stay, the way SmartFin's rent vs buy calculator does. Both start with the same cash and spend the same each month; whichever costs less that month invests the difference. Returns the modeled money each choice leaves (home sold and loan paid, or kept as equity, against the investments), the difference, the first year-end at which buying leaves at least as much as renting, the starting rent at which both leave the same, the monthly payment, month-one costs and totals. Use when someone asks how renting and buying compare, how long they would need to stay for the two to cross, or what rent matches buying a home. Do not use for rental-property investing, for how much someone can borrow, for tax planning or for adjustable-rate loans. Rates are held constant; income-tax effects of owning and tax on the home sale are not modeled. It reports modeled money only and does not say whether to rent or buy. Amounts can be in any one currency; none is converted.
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": {
"home_price": "<home_price>",
"monthly_rent": "<monthly_rent>"
},
"name": "smartfin_compare_rent_vs_buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pmi_pct | No | Mortgage insurance (PMI), % of loan a year, 0 to 3. Default 0 | |
| currency | No | Currency for the amounts in the summary and the link. Default USD; amounts are never converted | |
| keep_home | No | True: the home is kept at the end of the stay and counted as equity, not cash; false: it is sold. Default false | |
| home_price | Yes | Home price, in the currency chosen, 1000 to 100000000. Default 400000 | |
| term_years | No | Loan term, years, 1 to 40. Default 30 | |
| hoa_monthly | No | HOA or condo fees, a month, in the currency chosen, 0 to 10000. Default 0 | |
| monthly_rent | Yes | Monthly rent, a month, in the currency chosen, 1 to 1000000. Default 2000 | |
| years_to_stay | No | Years you plan to stay, whole years, 1 to 40. Default 10 | |
| annual_rate_pct | No | Mortgage rate, % a year, fixed, 0 to 25. Default 6.5 | |
| cost_growth_pct | No | Yearly increase in insurance and HOA, % a year, -5 to 15. Default 3 | |
| maintenance_pct | No | Maintenance, % of home value a year, 0 to 5. Default 1 | |
| buying_costs_pct | No | Closing costs when buying, % of price, 0 to 10. Default 3 | |
| down_payment_pct | No | Down payment, % of price, 0 to 100. Default 20 | |
| property_tax_pct | No | Property tax, % of home value a year, 0 to 5. Default 1 | |
| rent_increase_pct | No | Yearly rent increase, % a year, -10 to 15. Default 3 | |
| selling_costs_pct | No | Agent and closing costs when selling, % of sale price, 0 to 10. Default 6 | |
| investment_tax_pct | No | Tax on investment gains, % of gains, 0 to 50. Default 0 | |
| home_insurance_yearly | No | Home insurance, a year, in the currency chosen, 0 to 100000. Default 1500 | |
| home_value_growth_pct | No | Home value growth, % a year, -10 to 15. Default 3 | |
| investment_return_pct | No | Return on invested savings, % a year, -10 to 20. Default 6 | |
| renters_insurance_monthly | No | Renter's insurance, a month, in the currency chosen, 0 to 1000. Default 0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cite | Yes | How to credit this result | |
| data | Yes | ||
| next | Yes | Suggested follow-up calls | |
| links | Yes | ||
| how_to | Yes | Steps for the user to see or redo this on smartfin.fyi | |
| source | Yes | ||
| summary | Yes | Plain-language result the assistant can quote |