Skip to main content
Glama
chrischall

compass-mcp

by chrischall

Calculate maximum home price you can afford

compass_calculate_affordability
Read-onlyIdempotent

Calculate the maximum home price you can afford using the 28/36 DTI rule. Input income, debts, down payment, and interest rate to see the binding constraint 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 changedv1.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 observedv0.12.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already mark it read-only and idempotent, and the description adds helpful behavioral context: it performs no network access, duplicates zillow/redfin math, and returns a price, constraint, and PITI breakdown. No contradiction with annotations.

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?

Four tight, information-dense sentences with the core purpose front-loaded. Every sentence adds value—inputs, outputs, equivalence to external tools, and network behavior—with no filler.

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 calculation tool with no output schema, the description covers inputs, algorithm rule, return values, and execution constraints. Minor gaps are the units/formats for interest_rate and property_tax_rate, but the standard-rule framing makes the calculation behavior sufficiently complete.

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?

With 0% schema description coverage, the description compensates by translating most parameters into plain language: monthly income, recurring debts, down payment, interest rate, and optional tax/insurance/HOA/term. It omits explicit mention of the front_end_dti and back_end_dti override parameters, but these are fairly self-explanatory from the 28/36 context.

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?

The description names a specific operation—'Solve for the maximum home price you can afford under the standard 28/36 DTI rule'—with a clear resource and output. It is clear enough to distinguish from most siblings, though it does not explicitly contrast with the sibling compass_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 description implies when to use it: when an affordability figure is needed and when pure local math is preferred ('No network — pure local math'). However, it never names an internal alternative or says when not to use it, leaving the choice vs. compass_calculate_mortgage to inference.

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