Skip to main content
Glama
chrischall

compass-mcp

by chrischall

Calculate mortgage PITI

compass_calculate_mortgage
Read-onlyIdempotent

Calculate mortgage payments with a full PITI breakdown including principal, interest, taxes, insurance, HOA, and PMI. Use home price and interest rate to get monthly costs and total interest.

Instructions

Local-only mortgage payment calculator. Returns a full PITI breakdown (principal + interest, property tax, insurance, HOA, PMI) and total interest over the life of the loan. No network call. Provide either down_payment OR down_payment_percent; defaults to 20%. Property tax can be given as property_tax_annual or property_tax_rate (% of home price). PMI applies automatically when LTV > 80% and pmi_rate is provided.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pmi_rateNoAnnual %, applied when LTV > 80%
home_priceYes
hoa_monthlyNo
down_paymentNo
interest_rateYesAnnual %, e.g. 6.5
loan_term_yearsNoDefault 30
insurance_annualNo
property_tax_rateNoAnnual % of home price
property_tax_annualNo
down_payment_percentNo

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

A4.4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that the tool is local-only and makes no network call, and that PMI is applied automatically when LTV > 80% and pmi_rate is provided. This adds meaningful behavioral context without contradicting the readOnlyHint or idempotentHint 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?

The description is three focused sentences with no filler. It front-loads the purpose, then efficiently explains the key parameter combinations and defaults that an agent needs to invoke the tool correctly.

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 appropriately explains both the return value (full PITI breakdown plus total interest) and the important input constraints. Minor details like the loan term default and exact handling when both down payment options are supplied are left to the schema and defaults, but overall the description is sufficient for reliable invocation.

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?

Schema coverage is only 40%, but the description compensates by explaining key relationships: down_payment and down_payment_percent are alternatives with a 20% default, property tax can be expressed annually or as a rate, and PMI behavior depends on LTV and pmi_rate. It does not describe every parameter, but the most decision-relevant semantics are covered.

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: a 'mortgage payment calculator' that returns a full PITI breakdown and total interest. It is clearly differentiated from sibling tools like compass_calculate_affordability and search tools by its local-only, calculation-focused purpose.

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?

The description gives a clear context for when to use the tool: when a PITI breakdown and total interest are needed. It also provides concrete input-selection guidance (either down_payment or down_payment_percent, property tax alternatives, automatic PMI). It does not explicitly name alternatives or exclusions, but the intended use is clear.

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