Skip to main content
Glama

MaliMoney Calculators

Mortgage Payoff What If

mortgage_payoff_what_if
Read-onlyIdempotent

Model mortgage payoff scenarios — extra monthly principal, lump sum, or refinance. Use when the user asks 'should I pay off my house', 'extra principal vs invest', 'when will my mortgage be done', 'refi vs stay'. Pass balance + annualRatePct + monthsRemaining.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "balance": "<balance>",
      "annualRatePct": "<annualRatePct>",
      "monthsRemaining": "<monthsRemaining>"
    },
    "name": "mortgage_payoff_what_if"
  }
}

Input Schema

NameRequiredDescriptionDefault
balanceYesCurrent remaining mortgage balance.
lumpSumNoOne-time lump sum applied immediately (lump_sum scenario).
scenarioNobaseline
refiRatePctNoNew annual rate (refi scenario).
extraMonthlyNoExtra principal payment per month (extra_monthly scenario).
annualRatePctYesCurrent annual interest rate as percent (e.g. 6.5).
monthlyPaymentNoCurrent P+I monthly payment. Derived from balance/rate/term if omitted.
refiTermMonthsNoNew term length in months (refi scenario).
monthsRemainingYesMonths left on current schedule.
refiClosingCostNoRefi closing cost; factored into break-even (refi scenario).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and a closed-world model, so safety is covered. Beyond that the description only says it "models" scenarios and lists which inputs to pass; it does not state that outputs are projections and should not be treated as a quote, nor whether scenarios can be compared in one call.

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?

Three sentences, front-loaded with the capability and followed by trigger phrases and the minimum call contract. Every phrase either routes the agent or enables a valid call; nothing is padding.

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

Completeness3/5

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

For a 10-parameter modeling tool with no output schema, the description covers intent, triggers and required inputs but says nothing about the shape of the result (payment schedule, payoff date, break-even, comparison table). An agent can call it correctly, yet not know what to expect back or how to present scenario comparisons.

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 coverage is 90%, so per-parameter meanings (lumpSum, refiClosingCost, extraMonthly, scenario enum) are already documented in the schema. The description adds only the required-trio hint "Pass balance + annualRatePct + monthsRemaining", which mildly reinforces but does not extend what the schema marks as required.

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

Purpose4/5

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

States a specific verb and resource ("Model mortgage payoff scenarios") and enumerates the three modeled strategies — extra monthly principal, lump sum, refinance. That is enough to distinguish it from siblings like auto_loan or credit_card_payoff without opening a schema, though it never names or contrasts an alternative tool explicitly.

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?

Provides explicit user-phrasing triggers ("should I pay off my house", "when will my mortgage be done", "refi vs stay"), which is stronger than typical context-setting. It still gives no when-not guidance, e.g. what to do when the user has no mortgage or wants an affordability/rent-vs-buy comparison instead.

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