Skip to main content
Glama

Mortgage overpayment vs savings

mortgage_overpay_vs_savings
Read-onlyIdempotent

Over the time left on a fixed-rate mortgage, the value of overpaying against saving the same monthly amount, after tax and the Personal Savings Allowance. Without savingsRate, uses the highest easy-access rate Candid tracks. UK only. Guidance, not regulated financial advice.

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>",
      "term": "<term>",
      "rate": "<rate>",
      "fixEnds": "<fixEnds>",
      "overpay": "<overpay>"
    },
    "name": "mortgage_overpay_vs_savings"
  }
}

Input Schema

NameRequiredDescriptionDefault
bandNoIncome tax band, for tax on savings interest. Default basic.
rateYesMortgage rate, % a year.
termYesYears left on the mortgage.
accountNoisa (Cash ISA, tax-free) or standard (taxed above the Personal Savings Allowance). Default isa.
balanceYesMortgage balance, £.
fixEndsYesWhen the fixed rate ends: YYYY-MM or YYYY-MM-DD, in the future.
overpayYesMonthly amount to overpay or save, £.
savingsRateNoSavings rate, % AER. Default: the highest easy-access rate Candid tracks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive behavior, so the bar is lower. The description adds meaningful context beyond them: the fallback savings rate when savingsRate is omitted, the UK jurisdiction limit, the after-tax/PSA modeling basis, and an explicit non-advice disclaimer.

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?

Three tight sentences with the core comparison front-loaded, followed by the default-behavior rule and then scope/disclaimer. Nothing is redundant, though the opening sentence is dense enough that the tax treatment has to be parsed carefully.

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 eight parameters, five required, and no output schema, the description covers the modeling basis, jurisdiction, defaults, and advice disclaimer well. It stops short of hinting at the result shape or stating simplifying assumptions (annual overpayment limits, early repayment charges), which would matter for a financial comparison of this complexity.

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 is already documented, including the savingsRate default and the band/account enums. The description restates the savings-rate default and the tax treatment rather than adding new per-parameter meaning, so the baseline of 3 applies.

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?

The description states a specific computation: the value of overpaying a fixed-rate mortgage versus saving the same monthly amount, net of tax and the Personal Savings Allowance. The resource and comparison axis are unmistakable, and it is naturally distinct from siblings like student_loan_overpay and tax_trap_100k, though it never explicitly contrasts itself with them.

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

Usage Guidelines3/5

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

It gives useful scoping cues — UK only, guidance not regulated advice — and a conditional behavior for the savingsRate default. However, there is no explicit when-to-use versus when-not-to-use guidance, and no indication of cases where the comparison is inappropriate (e.g. overpayments that would breach annual allowances or trigger early repayment charges).

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.