Skip to main content
Glama

Home Loan Calculator by Munoz Loans

Cash needed at closing

cash_to_close
Read-onlyIdempotent

Estimates the cash a buyer brings to closing, line by line: down payment, closing costs, interest collected up front, the first year of insurance and the start of the escrow account, less any seller credit and earnest money already paid. Works in any state. Returns a low and a high total and every assumption.

Example question: "How much cash do I need to close on a 400,000 home with 10 percent down?"

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": {
      "price": "<price>",
      "down_payment": "<down_payment>"
    },
    "name": "cash_to_close"
  }
}

Input Schema

NameRequiredDescriptionDefault
rateNoInterest rate in percent, when the buyer has one. Left out, the national average 30-year rate is used and named in the result.
priceYesHome price
closing_dayNoDay of the month the loan closes. Default 15.
down_paymentYesDown payment in dollars
closing_costsNoThe buyer's own closing-cost figure, such as a Loan Estimate total. Left out, a range is used.
seller_creditNo
annual_insuranceNo
earnest_money_paidNoDeposit already paid with the offer
annual_property_taxNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent, non-destructive read with no open-world side effects, so the description only needs to add computation behavior — and it does, disclosing that a low and high total plus every assumption are returned, and that missing inputs fall back to defaults (national average rate, named in the result). It does not describe rounding, unit conventions, or what the assumption list looks like, which are minor residual gaps.

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 purpose and outputs, followed by the component list and an illustrative question; no filler sentences. The line-item enumeration is somewhat long, but each item conveys real scope about what the estimate includes.

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 burden of explaining returns and does so ('a low and a high total and every assumption'), and it discloses default behavior for optional inputs. A 9-parameter tool with only 2 required fields could go further on how the optional inputs interact (e.g., that supplying closing_costs narrows the range), but nothing critical for a correct call is missing.

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?

At 67% schema description coverage the schema already documents the important defaults (rate fallback, closing_costs range, closing_day default 15). The description restates the line items that correspond to parameters, which clarifies how inputs combine, but adds no unit or format detail beyond the schema for the undocumented parameters (seller_credit, annual_insurance, annual_property_tax).

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 and resource — 'Estimates the cash a buyer brings to closing' — and enumerates the exact line items included (down payment, closing costs, prepaid interest, insurance, escrow, less seller credit and earnest money). This is clearly distinguishable from siblings like monthly_payment or how_much_home, which do not describe a cash-to-close computation.

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?

Provides a concrete example question that shows the intended caller and phrasing, plus a scope note that it 'works in any state,' which signals no geographic gating. It stops short of naming when to prefer a sibling tool (e.g., monthly_payment for payment estimates) or any exclusions, so guidance is clear but not complete.

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