Mortgage Prepayment Penalty Calculator (IRD)
mortgage_penaltyEstimate the penalty to break a Canadian mortgage: three months' interest vs the interest rate differential (IRD), incl. the big-bank posted-rate method. Fixed = greater of the two; variable = usually three months' interest. The three optional rate inputs are lender-specific: if omitted, illustrative site defaults are used (the answer can be several times off) and listed in assumedInputs — show them to the user and have them confirm with their lender.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"balance": 400000,
"contractRatePct": 4.29,
"monthsRemaining": 30,
"postedAtOriginationPct": 6.49,
"todaysPostedForClosestTermPct": 6.09
},
"name": "mortgage_penalty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balance | Yes | Outstanding mortgage balance in CAD | |
| rateType | No | Fixed or variable mortgage | fixed |
| lenderMethod | No | Big banks use the posted-rate IRD, monolines actual rates. Either can be larger, depending on the original discount vs today's posted rate. | big-bank |
| contractRatePct | Yes | Your contract rate as a percent, e.g. 5.25 | |
| monthsRemaining | Yes | Months remaining in the term | |
| postedAtOriginationPct | No | Big-bank method: posted (not discounted) rate when signed, from the mortgage documents. Can change the penalty several-fold. Omit if unknown (assumption is flagged). | |
| todaysPostedForClosestTermPct | No | Big-bank method: the lender's posted rate today for the closest term. Omit if unknown (assumption is flagged). | |
| currentRateForRemainingTermPct | No | Monoline method: today's rate for the remaining term (percent). Omit if unknown (assumption is flagged). |