Skip to main content
Glama
real-estate-mcp

real-estate-mcp

Mortgage payment

mortgage_payment
Read-onlyIdempotent

Estimate the monthly payment and amortization for a fixed-rate loan, including principal and interest plus optional property tax, insurance, HOA, and PMI.

Instructions

Estimate the monthly payment for a fixed-rate mortgage and summarize amortization. Includes principal and interest, plus optional yearly property tax, yearly insurance, monthly HOA, and monthly PMI. The rate is an annual percent, so 6.5 means 6.5 percent. Money is US dollars. Results are estimates, not a loan quote.

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": {
      "principal": "<principal>",
      "annualInterestRate": "<annualInterestRate>",
      "termYears": "<termYears>"
    },
    "name": "mortgage_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
principalYesLoan amount in dollars.
termYearsYesLoan term in years, from 1 to 40.
monthlyHoaNoMonthly HOA dues in dollars. Defaults to 0.
monthlyPmiNoMonthly private mortgage insurance in dollars. Defaults to 0.
annualInsuranceNoYearly homeowners insurance in dollars. Defaults to 0.
annualPropertyTaxNoYearly property tax in dollars. Defaults to 0.
annualInterestRateYesAnnual interest rate as a percent. 6.5 means 6.5 percent.

Output Schema

NameRequiredDescriptionDefault
principalYes
termYearsYes
monthlyHoaYes
monthlyPmiYes
termMonthsYes
lastPaymentYes
firstPaymentYes
totalInterestYes
totalPrincipalYes
totalOfPaymentsYesAll principal and interest paid over the term.
monthlyInsuranceYes
annualInterestRateYes
monthlyPropertyTaxYes
totalMonthlyPaymentYesScheduled PITI plus HOA and PMI.
monthlyPrincipalAndInterestYesScheduled principal and interest payment. The final payment can differ by a few cents.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this a read-only, idempotent, non-destructive, closed-world calculation, so the safety profile is covered. The description adds real value beyond that: it enumerates which cost components are folded into the estimate (P&I plus optional tax, insurance, HOA, PMI) and warns that output is an estimate, not a quote — a caveat that matters for how an agent relays results.

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?

Four compact sentences, front-loaded with the core action, then the optional cost components, then unit conventions and the estimate caveat. Slightly redundant with the schema on the rate-as-percent point, but that repetition guards against a common input error rather than padding.

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, return-value explanation is unnecessary, and the description still sketches the shape of the result (payment plus amortization summary). Combined with full schema coverage, the only omission is guidance on how this relates to sibling financial calculators.

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 all seven parameters are already documented, including defaults and bounds. The description's clarifications ('annual percent, so 6.5 means 6.5 percent', 'Money is US dollars') restate what the schema already states, adding no new meaning and no cross-parameter guidance.

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 monthly payment for a fixed-rate mortgage and summarize amortization') and scopes it to fixed-rate loans, which separates it in kind from the affordability/rent_vs_buy/seller_net_sheet siblings. It does not explicitly name or route away from any sibling, 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 Guidelines3/5

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

The definition implies its usage context — fixed-rate only, results are estimates rather than a loan quote — which usefully bounds expectations. However, it gives no explicit when-to-use guidance and never points to an alternative tool for adjustable-rate scenarios, affordability checks, or rent-vs-buy comparisons.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.