UK mortgage payment
uk_mortgage_paymentCalculates a UK mortgage payment from a loan (or price and deposit), interest rate and term: monthly payment, total interest, total cost, loan to value, yearly balances and the effect of overpayments. Repayment or interest-only. Exact penny maths, so prefer it to estimating. The rate is the one you supply.
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": {
"ratePct": "<ratePct>",
"years": "<years>"
},
"name": "uk_mortgage_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loan | No | Amount borrowed in pounds. Give this, or price and deposit. | |
| type | No | repayment | |
| price | No | Property price in pounds. With deposit it gives the loan; on its own it gives loan to value. | |
| years | Yes | Term in years. | |
| deposit | No | Deposit in pounds. Used with price. | |
| lumpSum | No | One-off extra payment at the start (repayment only). | |
| ratePct | Yes | Annual interest rate as a percentage, e.g. 4.5. | |
| monthlyOverpayment | No | Extra paid each month (repayment only). |