Skip to main content
Glama

What a rate change would do to my numbers

rate_change_impact
Read-onlyIdempotent

Works out what a change in interest rates would do to someone's own variable-rate mortgage payment, HELOC interest, savings interest or GIC/CD renewal, to the cent, and which central bank drives that product (Canada: Bank of Canada; US: the Federal Reserve). Use it when someone asks what a cut or a rise would mean for them. Pure arithmetic on the numbers they give; for Canada it also shows today's posted prime or GIC rate for reference. It never says whether a change will happen.

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": {
      "product": "<product>",
      "balance": "<balance>",
      "rate_pct": "<rate_pct>",
      "change_pts": "<change_pts>"
    },
    "name": "rate_change_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthsNoMortgage: months left to pay it off (default 300). GIC/CD: the term in months (default 12).
balanceYesAmount owed (mortgage, HELOC) or held (savings, GIC/CD), in dollars.
countryNoWhere the product is. Decides which central bank it follows and, for mortgages, the usual compounding. Ask if unsure.
productYesWhat to work out.
rate_pctYesThe rate today, in percent a year.
change_ptsYesThe change to work out, in percentage points: -0.25 for a quarter-point cut, 0.5 for a half-point rise.
compoundingNoMortgage only. Defaults to semi-annual in Canada, monthly in the US.

Output Schema

NameRequiredDescriptionDefault
rowsYes
linesYes
inputsNo
noticeYes
countryNo
followsYes
productYes
referenceNo
assumptionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / reference
      Added value: +{
      +  "properties": {
      +    "asOf": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "source": {
      +      "type": "object"
      +    },
      +    "valuePct": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

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 needs no restating. The description adds genuinely new behavior: results are 'pure arithmetic' on supplied inputs, computed 'to the cent', and for Canada it additionally pulls today's posted prime or GIC rate as a reference figure. That reference look-up is a side behavior an agent would not otherwise know about, though the description does not say what happens if that reference rate is unavailable.

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-loaded with the core purpose, then scope, then the reference-rate caveat, then the boundary on forecasting — a sensible order with almost no filler. The opening sentence is long and stacks four products plus the central-bank parenthetical, which slightly hurts scanability but every clause carries information.

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

Completeness5/5

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

Seven parameters, three enums and an output schema are all covered: inputs are explained in the description, return format is handled by the output schema, and the country/compounding interaction is resolved. Nothing an agent needs to call this correctly is missing.

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 baseline is 3; the description earns the extra point by explaining cross-parameter semantics the schema only states locally — country selects both the driving central bank and, for mortgages, the default compounding convention. It reinforces that change_pts is a signed percentage-point delta and that months shifts meaning between mortgage amortization and GIC/CD term.

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 names a precise verb+resource ('works out what a change in interest rates would do') and enumerates the exact products covered: variable-rate mortgage, HELOC, savings, GIC/CD renewal. It also states the central-bank mapping per country, which is a concrete, non-tautological detail. It stops short of naming any sibling tool, so an agent must infer on its own that money_maths or debt_payoff is the wrong pick.

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?

'Use it when someone asks what a cut or a rise would mean for them' gives a clear triggering condition, and 'It never says whether a change will happen' draws a boundary against forecasting-style tools. There is no explicit 'use X instead for Y' routing, so the alternative for prediction questions (e.g. decision_explainer) is left implicit.

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.