Skip to main content
Glama

HomeCalc — Canadian Mortgage & Tax Calculators

Mortgage Prepayment Penalty Calculator (IRD)

mortgage_penalty
Read-only

Estimate the penalty to break a Canadian mortgage: three months' interest vs the interest rate differential (IRD), including the big-bank posted-rate method. Fixed = greater of the two; variable = usually three months' interest. IMPORTANT: the three rate inputs below are lender-specific and are NOT supplied by most users. If they are omitted, this tool falls back to illustrative site defaults and the answer can be several times too low or too high — the response reports exactly which values were assumed in assumedInputs. Always surface those assumptions to the user and tell them to confirm the real figures with their lender.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
balanceYesOutstanding mortgage balance in CAD
rateTypeNofixed
lenderMethodNoBig banks use the posted-rate IRD, monolines use actual rates. Which is larger depends on the gap between the discount originally received and today's posted rate — it is NOT always the big bank.big-bank
contractRatePctYesYour contract rate as a percent, e.g. 5.25
monthsRemainingYesMonths remaining in the term
postedAtOriginationPctNoBig-bank method: posted (not discounted) rate when you signed, from your mortgage documents. HIGH IMPACT — this single value can change the penalty several-fold. Omit if unknown and the reply will say it was assumed.
todaysPostedForClosestTermPctNoBig-bank method: your lender's posted rate today for the closest term. Omit if unknown and the reply will say it was assumed.
currentRateForRemainingTermPctNoMonoline method: today's rate for the remaining term (percent). Lender-specific — omit if unknown and the reply will say it was assumed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only cover read-only/open-world, so the description carries the behavioral load and does so well: it discloses the illustrative-default fallback, that omitting rates can skew results several-fold, and that the response reports assumed values in `assumedInputs` with instructions to surface them. This is exactly the accuracy caveat an agent needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose and method logic before the IMPORTANT caveat, and every sentence is load-bearing. Slightly dense in the opening clause, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 8 parameters, 3 required, and no output schema, the description covers the critical unknowns: which inputs are commonly missing, what happens then, and that `assumedInputs` appears in the response. It stops short of describing the rest of the return shape, but the accuracy-relevant part is complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 88%, so the baseline is 3, but the description adds meaning beyond the schema by framing the three optional rate inputs as lender-specific values most users will not have, and explaining the fallback when they are omitted. It doesn't add format/syntax detail beyond that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (estimate the penalty to break a Canadian mortgage) and immediately scopes the calculation methods (three months' interest vs IRD, big-bank posted-rate method). This cleanly separates it from the other real-estate calculators such as mortgage_payment or mortgage_affordability.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear context for use (breaking a fixed vs variable Canadian mortgage) and explains the branching rule. It does not name an alternative sibling or state when not to use it, but for a self-contained calculator the when-to-use guidance is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources