Skip to main content
Glama

What's Your Equity?

Calculate HELOC or home equity loan payments

calculate_heloc_payment
Read-onlyIdempotent

Calculate interest-only and amortizing monthly payments, plus how the payment changes if a variable rate moves -1 to +3 percentage points. Use a rate returned by get_live_heloc_rates or one the homeowner provides; never assume a market rate.

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": {
      "amount": "<amount>",
      "annualRatePercent": "<annualRatePercent>"
    },
    "name": "calculate_heloc_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount borrowed or drawn, in whole dollars
drawYearsNoInterest-only draw period in years (0 for a fixed loan)
rateSourceNohomeowner_provided
repaymentYearsNoAmortizing repayment period in years
annualRatePercentYesAnnual interest rate in percent. Use a rate from get_heloc_quote or one the homeowner provides; never guess.

Output Schema

NameRequiredDescriptionDefault
kindYes
amountYes
drawYearsYes
rateSourceYes
repaymentYearsYes
rateSensitivityYes
amortizingMonthlyYes
annualRatePercentYes
interestOnlyMonthlyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this as a read-only, idempotent, non-destructive, closed-world computation, so the safety bar is low. The description adds real behavioral value by disclosing that results include a rate-shock scenario band (-1 to +3 pp), which an agent would not know from annotations alone. It omits nothing critical, though it does not say what the scenario output looks like (the output schema covers that).

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, both load-bearing: the first states what is computed and the scenario range, the second states the rate-sourcing rule. The core capability is front-loaded with no filler. Slightly dense phrasing ('plus how the payment changes if a variable rate moves -1 to +3 percentage points') costs a little readability.

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, the description does not need to explain return values, and annotations cover the safety profile. For a 5-parameter, 2-required calculation tool, the definition covers inputs sourcing and output scenarios adequately. The only residual gap is that it does not clarify its boundary against the other calculator siblings.

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 80%, so the schema already documents amount, drawYears, repaymentYears, and annualRatePercent, and the description only echoes the interest-only vs amortizing distinction those fields already encode. One inconsistency appears across sources: the description points to get_live_heloc_rates for a rate, while the schema's annualRatePercent field says get_heloc_quote, which is not in the sibling list. The description adds rate-sourcing intent but little field-level meaning.

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 first sentence names a specific verb (calculate) and precise resource scope (interest-only + amortizing monthly payments) and adds a distinctive capability: rate-sensitivity from -1 to +3 percentage points. That capability sets it apart from recap-type siblings. It never explicitly contrasts itself with calculate_home_equity, so an agent still has to infer which of the two calculators applies.

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?

It gives concrete input-sourcing guidance: use a rate from get_live_heloc_rates or one the homeowner supplies, and never assume a market rate. That routes the agent to the correct upstream tool and states a prohibition. It does not say when to prefer this over calculate_home_equity or compare_heloc_offers, so the alternative-selection guidance is only partial.

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