Skip to main content
Glama

showrealcost

Does a refinance offer save money?

refinance_check
Read-onlyIdempotent

Compare keeping a loan against a refinance offer, from today forward: interest remaining on the current loan, interest on the new loan, and what happens if the borrower takes the new rate but keeps paying the old payment. Use for "the new loan has a lower payment, does it actually save money".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
balanceYesBalance owed today, in dollars
new_monthsYesTerm of the new loan in months
new_loan_feeNoAny fee added to the new loan, in dollars
new_rate_pctYes
current_paymentYesCurrent monthly payment, in dollars
current_rate_pctYes

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 real modeling context beyond them: the comparison is forward-looking from today, includes the borrower continuing the old payment at the new rate, and does not attempt to reconstruct the past.

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?

Two sentences, front-loaded with the comparison being performed and then the scenario that triggers it. Dense but every clause carries meaning; only mild compression room remains.

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 no output schema, the description carries the return-value burden and does name the three computed components (remaining interest, new-loan interest, keep-payment-scenario outcome). An agent still cannot tell the exact output shape or whether a single savings figure is returned, keeping this below a 5.

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 67% and the required fields (balance, rates, payments, term) are largely self-documented by the schema. The description echoes the concepts (current payment, new rate, old payment) but adds no units, constraints, or interpretation rules beyond what the schema already provides — baseline 3.

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 (compare) and resource (current loan vs refinance offer) with the exact scope: 'from today forward', covering remaining interest, new-loan interest, and the keep-old-payment scenario. This specificity cleanly separates it from the generic compare_loan_offers sibling without needing to name it.

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 an explicit triggering question ('the new loan has a lower payment, does it actually save money'), which is a clear use context. It stops short of naming an alternative tool or stating when not to use it, so it falls short of a 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