Skip to main content
Glama

Clara Mortgage Assistant

Estimate a Mortgage Prepayment Penalty

estimate_prepayment_penalty
Read-onlyIdempotent

Estimates three-months-interest and simplified interest-rate-differential prepayment penalties. Lender discharge statements remain authoritative. Works only from explicit, non-identifying numbers in the request. Returns calculations only: no approval, underwriting, or suitability decisions, no lender or product recommendations, and no values looked up from chats, files, accounts, documents, or the web.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodNo
principalYesOutstanding mortgage balance in Canadian dollars.
annualRateYesCurrent annual mortgage rate. Supply the annual rate as a decimal; for example, 5.25% is 0.0525.
jurisdictionNoCanadian calculations only.CA
effectiveDateYesDate the supplied rates and policy assumptions were confirmed.
comparisonRateNoAnnual comparison or reference rate used for the simplified interest-rate-differential estimate. Supply the annual rate as a decimal; for example, 5.25% is 0.0525.
remainingTermMonthsYesNumber of months remaining in the mortgage term.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYes
currencyYes
disclaimerYes
calculationYes
jurisdictionYes
effectiveDateYes
calculationVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds meaningful behavioral context beyond that: the calculation is an estimate only, no approval/underwriting/suitability output, no recommendations, and no retrieval from chats, files, accounts, documents, or the web — a real data-sourcing constraint.

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-loads the core capability in the first sentence, then layers scope limits and disclaimers. The negative-clause list is somewhat long but each clause rules out a distinct class of misuse, so it mostly earns its place.

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 an output schema present, return values need no explanation, and the description covers method scope, data sourcing, and authoritative-source caveats. The remaining gap is guidance on method selection and conditional parameters, which an agent must infer from the schema alone.

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 86%, so the schema already documents principal, annualRate, comparisonRate and remainingTermMonths well. The description names the two penalty methods but does not clarify the method enum values, when comparisonRate is required, or how effectiveDate interacts with the calculation.

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 — estimating three-months-interest and simplified interest-rate-differential prepayment penalties — which is unambiguous and clearly distinct from siblings like calculate_ltv or calculate_debt_service. An agent can identify the tool's domain without opening the schema.

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 operating context: works only from explicit, non-identifying numbers in the request, and discharge statements remain authoritative. However, it never names or routes to an alternative tool, nor states when a different sibling (e.g. compare_mortgage_scenarios) should be preferred.

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