Skip to main content
Glama
chrischall

homes-mcp

by chrischall

Calculate maximum home price you can afford

homes_calculate_affordability
Read-onlyIdempotent

Calculate the maximum home price you can afford under the 28/36 DTI rule. Input income, debts, down payment, and rate to get your price limit and PITI breakdown.

Instructions

Solve for the maximum home price you can afford under the standard 28/36 DTI rule. Inputs: monthly income, recurring monthly debts (car/student loans), down payment, interest rate, optional property-tax rate / insurance / HOA / loan term. Output: max home price, binding constraint (front-end vs back-end), and the PITI breakdown at that price. Identical math to zillow-mcp and redfin-mcp. No network — pure local math.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hoa_monthlyNo
back_end_dtiNo
down_paymentYes
front_end_dtiNo
interest_rateYes
monthly_debtsNo
monthly_incomeYes
loan_term_yearsNo
insurance_annualNo
property_tax_rateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv1.1.1

TDQS

B3.4/5.0
Behavior4/5

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

Adds non-obvious behavioral context beyond annotations: 'No network — pure local math' and identical math to zillow-mcp/redfin-mcp, plus the output breakdown. This helps the agent understand execution characteristics without contradicting the readOnly/idempotent hints.

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

Conciseness5/5

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

Every sentence earns its place: a precise headline, a compact input enumeration, a clear output summary, and implementation caveats. It is concise and well-structured with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter calculator with no output schema and no parameter descriptions, the definition under-specifies units, defaults, and custom DTI overrides. The required fields are clear, but optional inputs remain ambiguous enough to affect correct use.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It lists most inputs and clarifies monthly debts, but omits front_end_dti and back_end_dti, and does not specify units or default conventions for interest rate, property-tax rate, or insurance. This leaves ambiguity for correct invocation.

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?

Description states a specific operation: solving for the maximum affordable home price under the 28/36 DTI rule, with explicit outputs. It is clearly distinguishable from search/get/property tools, but it does not explicitly differentiate itself from the sibling homes_calculate_mortgage.

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 rule and outputs imply this is for affordability calculations, but there is no explicit when-to-use vs alternatives guidance. Mentioning 'Identical math to zillow-mcp and redfin-mcp' gives external context but does not compare it to internal siblings.

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