Skip to main content
Glama

HomeCalc — Canadian Mortgage & Tax Calculators

CMHC Mortgage Insurance Premium Calculator

cmhc_insurance
Read-only

CMHC (mortgage default insurance) premium for any down payment under 20% on a Canadian home: premium rate and amount added to the mortgage, provincial sales tax on the premium (ON, QC, SK — paid in cash at closing), and the insured mortgage total.

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": {
      "homePrice": 600000,
      "downPayment": 60000
    },
    "name": "cmhc_insurance"
  }
}

Input Schema

NameRequiredDescriptionDefault
provinceNoProvince, for sales tax on the premiumOntario
homePriceYesPurchase price in CAD
closingDateNoClosing date YYYY-MM-DD; sets Quebec's premium tax (9% to 2026-12-31, 9.975% after). Default: today
downPaymentYesDown payment in CAD
firstTimeBuyerNewBuildNotrue if first-time buyer OR newly built home (insured 30-year amortization may apply)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / firstTimeBuyerNewBuild / description
      Previous value: -"First-time buyer buying a new build (30-year insured amortization)"New value: +"true if first-time buyer OR newly built home (insured 30-year amortization may apply)"
  2. Changed1 schema field changed
    • addedInput schema / properties / closingDate
      Added value: +{
      +  "description": "Closing date YYYY-MM-DD; sets Quebec's premium tax (9% to 2026-12-31, 9.975% after). Default: today",
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
  3. Added

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare the read-only, non-destructive, closed-world profile, so the description's job is lighter. The description still adds real behavioral context that annotations cannot: the premium is added to the mortgage, while the sales tax is paid in cash at closing, and only ON, QC, and SK are mentioned as tax jurisdictions. It does not say what happens for buyers outside those provinces, which slightly limits completeness.

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?

It is a single front-loaded sentence with no filler. The core computation is stated first, then the three outputs, and the parentheticals carry real distinctions (cash vs. financed). The structure is dense but efficient.

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 five parameters and no output schema, the description does well: all inputs are documented in the schema, and the description covers the returned components. It does not explain edge cases such as down payments at or above 20%, or how the first-time-buyer/30-year-amortization flag affects the rate, though those are secondary.

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 100%, so the baseline is 3. The description adds meaning beyond the schema by tying the province parameter to sales tax and naming the three provinces that actually tax the premium, which is not in the enum description. It also clarifies how the premium is financed, but this goes only modestly beyond the already-rich schema.

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 ('CMHC premium for any down payment under 20% on a Canadian home') and enumerates the three outputs (premium rate and amount, provincial sales tax, insured mortgage total). That clearly distinguishes it from siblings like minimum_down_payment or mortgage_payment, which do not compute insurance premiums.

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 scope condition 'any down payment under 20%' is stated explicitly, which effectively signals when the tool applies and implicitly excludes down payments of 20% or more. It does not name an alternative tool for those cases, so routing guidance stops short of a full 5.

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