Skip to main content
Glama

Simplify Mortgage Calculators

Estimate monthly mortgage payment

calculate_payment
Read-onlyIdempotent

Estimate the full monthly housing payment on a fixed-rate home loan: principal and interest, property tax, homeowners insurance, mortgage insurance and HOA. Returns the breakdown plus every assumption used.

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": {
      "home_price": "<home_price>",
      "down_payment": "<down_payment>",
      "interest_rate_pct": "<interest_rate_pct>"
    },
    "name": "calculate_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNoTwo-letter US state of the property, e.g. OR. Used to estimate property tax.
loan_typeNoconventional
home_priceYesPurchase price or home value in dollars.
term_yearsNo
monthly_hoaNoMonthly HOA dues, if any.
down_paymentYesDown payment in dollars (not percent).
interest_rate_pctYesAnnual interest rate the person wants to assume, e.g. 6.5. Required: the tool never assumes a rate.
annual_property_taxNoYearly property tax in dollars, if known.
annual_home_insuranceNoYearly homeowners insurance in dollars, if known.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description's added value is that it returns the component breakdown plus every assumption used, which matters because there is no output schema. It still says nothing about how tax/insurance/mortgage insurance are derived when the optional inputs are omitted.

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 core action and scope, followed by the return behavior. No filler; the only minor weakness is a list of components that could be compressed.

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?

For a 9-parameter read-only calculator with no output schema, the description covers what is computed and that assumptions are surfaced on return. It stops short of explaining how optional inputs (state, property tax, insurance) are defaulted or estimated, which would matter for an agent deciding what to pass.

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 78%, so the schema already documents most parameters, including the important note that down_payment is dollars not percent and that interest rate is never assumed. The description adds only that HOA, mortgage insurance, and property tax are part of the output, without explaining how loan_type or state drive those estimates.

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 ("Estimate the full monthly housing payment on a fixed-rate home loan") and enumerates the five components included, so the agent knows exactly what is computed. It does not distinguish itself from siblings like compare_scenarios or refinance_breakeven, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no reference to the sibling tools an agent would plausibly confuse this with (scenario comparison, refinance breakeven). The only constraint supplied is implicit in "fixed-rate home loan," which excludes ARMs but is not framed as usage guidance.

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