Skip to main content
Glama

finance_home_affordability

Read-only

Home affordability — How much house an income supports (offline): solves the maximum home price under lender debt-to-income guidelines (program=conventional 28/36 with PMI above 80% LTV, fha 31/43 with 1.75% upfront + 0.55% annual MIP and 3.5% minimum down, va 41% back-end with financed funding fee; or custom front=/back=), with the full monthly PITI breakdown, DTI ratios, cash to close and a +1% rate stress test. Pass price= to grade a specific home COMFORTABLE / AFFORDABLE / STRETCH / NOT AFFORDABLE. Inputs: income (gross annual) and rate (%); optional debts (monthly), down (amount) or down_pct, term (years, default 30), tax_rate (% of price/yr, default 1.0), insurance (annual $) or insurance_pct (default 0.35), hoa (monthly), pmi_rate, closing_pct. Estimate, not a loan offer. Price: $0.003 USDC (Base, via x402).

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": {
      "income": "<income>",
      "rate": "<rate>"
    },
    "name": "finance_home_affordability"
  }
}

Input Schema

NameRequiredDescriptionDefault
rateYes6.5
incomeYes120000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, non-destructive, openWorld), so the description's added value is what it discloses beyond that: the compute is offline, the result is an 'Estimate, not a loan offer,' and the call costs $0.003 USDC on Base via x402 — a payment prerequisite an agent must know before invoking. It does not describe error behavior or what happens with unsupported optional inputs, which keeps it below 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening clause is well front-loaded ('Home affordability — How much house an income supports (offline)'), but the body is a single run-on packed with semicolons and stacked parentheticals that must be parsed rather than scanned. Substantively little is wasted, but the formatting makes a dense read harder than it needs to be.

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 moderately complex financial calculator with no output schema, the description covers what an agent needs: inputs and defaults, output contents (PITI breakdown, DTI ratios, cash to close, +1% rate stress test), pricing, and a disclaimer. The one substantive hole is the mismatch between the advertised optional parameters and the two-parameter schema, which leaves the actual callable surface ambiguous.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema is effectively bare — two string properties whose only 'descriptions' are the example values '120000' and '6.5' — so the description must carry all meaning, and it does: income is gross annual, rate is a percent, and it supplies defaults for term (30), tax_rate (1.0), insurance_pct (0.35), plus units for debts, down, hoa, pmi_rate and closing_pct. The gap is that it documents many parameters (price, program, down, term, etc.) that do not appear in the input schema at all, so an agent cannot tell which of the advertised inputs it can actually send.

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?

The description states a specific verb and resource: it 'solves the maximum home price under lender debt-to-income guidelines,' and it immediately frames the domain as income-to-house-price. The DTI-program detail (28/36 conventional, 31/43 FHA, 41 VA) makes it unmistakable against generic siblings like finance_loan_calc or finance_break_even, even though those are not named.

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 sets clear context: this is an offline estimate, and passing price= switches from 'find my max price' to 'grade this specific home' on a COMFORTABLE/AFFORDABLE/STRETCH/NOT AFFORDABLE scale. What is missing is any exclusion or routing note (e.g. when to prefer finance_loan_calc for pure payment math), so it stops short of explicit alternatives.

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