Skip to main content
Glama

HomeCalc — Canadian Mortgage & Tax Calculators

Mortgage Renewal Payment Shock Calculator (Canada)

mortgage_renewal
Read-only

Compare a Canadian mortgage's payment and term interest at the current rate vs the renewal rate: new payment, monthly and annual change, and extra interest over the new term. An optional lump sum at renewal reduces the balance.

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": 350000,
      "currentRatePct": 2.5,
      "renewalRatePct": 4.5
    },
    "name": "mortgage_renewal"
  }
}

Input Schema

NameRequiredDescriptionDefault
balanceYesBalance at renewal in CAD
termYearsNoNew term length in years
currentRatePctNoRate on the expiring term, percent
renewalRatePctNoRate offered at renewal, percent
lumpSumAtRenewalNoLump sum paid down at renewal in CAD
paymentFrequencyNoHow often payments are mademonthly
remainingAmortizationYearsNoAmortization left at renewal, in years

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / renewalRatePct / default
      Previous value: -5.23New value: +5.25
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered by structured data. The description adds genuine context beyond that: it discloses what the calculation compares, that results include both monthly and annual deltas and extra interest over the new term, and that an optional lump sum reduces the balance. It does not mention sign conventions for the change values or whether the comparison ignores prepayment penalties, but for a read-only calculator this is reasonably transparent.

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

Conciseness5/5

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

Two compact sentences with no filler: the first front-loads the comparison and the return values, the second adds the single optional-balance behavior that materially changes the result. Nothing is repeated verbatim from the schema or title.

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?

For a seven-parameter read-only calculator with full schema descriptions and no output schema, the description covers purpose, outputs, and the lump-sum behavior, which is enough to invoke it correctly. The remaining gap is that the return shape (fields such as new payment vs change amounts) is only named in prose rather than enumerated, but no output schema exists so that is acceptable shorthand.

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

Parameters3/5

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

Schema description coverage is 100%, so every parameter already has an inline description, enum, default, and bounds, making the schema the primary source of truth. The description only adds that the lump sum is applied at renewal and that interest is measured over the new term, which is a small increment beyond the schema's own wording. Baseline of 3 is appropriate when the schema does the heavy lifting.

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?

The description states a specific verb and resource ('Compare a Canadian mortgage's payment and term interest at the current rate vs the renewal rate') and enumerates the outputs: new payment, monthly and annual change, extra interest over the new term. This distinguishes it from siblings like mortgage_payment or mortgage_amortization, which compute a single payment or amortization schedule rather than a rate-shock comparison.

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?

The framing 'at the current rate vs the renewal rate' plus 'over the new term' clearly implies the scenario that selects this tool: an existing borrower facing renewal. However, it never explicitly excludes alternatives or names a sibling (e.g., mortgage_payment for a fresh purchase), so the routing is implied rather than spelled out.

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