Skip to main content
Glama
chrischall

compass-mcp

by chrischall

Calculate mortgage payment (local)

compass_calculate_mortgage
Read-onlyIdempotent

Calculate monthly mortgage payments with a full PITI breakdown and total loan interest to compare home affordability scenarios locally.

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 — fully deterministic, safe to use for scenario comparison without burning a fetch. 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, max 50
insurance_annualNo
property_tax_rateNoAnnual % of home price
property_tax_annualNo
down_payment_percentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.1.6
    • changedInput schema / properties / loan_term_years / description
      Previous value: -"Default 30"New value: +"Default 30, max 50"
    • changedInput schema / properties / loan_term_years / maximum
      Previous value: -9007199254740991New value: +50
  2. 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"
  3. First observedv0.12.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false; the description adds genuinely new behavior by stating there is no network call, that it is fully deterministic, and that PMI applies automatically only when LTV > 80% and pmi_rate is supplied. It does not cover error behavior for invalid inputs, but that is a minor gap given the annotation coverage.

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 purpose and return value before parameter rules; four sentences with no filler. Slightly dense in the parameter-rule sentence, but every clause carries information an agent needs.

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 usefully enumerates the PITI return components and total interest, and the annotations cover the safety profile, so an agent has enough to call it correctly. Missing coverage of two parameters and no stated behavior on conflicting down-payment inputs keeps it from being fully 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 only 40% schema description coverage across 10 parameters, the description does real work: it states the down_payment/down_payment_percent mutual exclusivity and 20% default, the property_tax_annual vs property_tax_rate alternatives, and the LTV condition for PMI. It leaves hoa_monthly and insurance_annual unmentioned, so the compensation is strong but not complete.

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?

States a specific verb+resource ('Local-only mortgage payment calculator') with a clear scope, and the 'local-only' qualifier implicitly separates it from the network-backed sibling tools. It stops short of explicitly naming compass_calculate_affordability, the nearest sibling, so the boundary between the two calculators must be inferred.

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?

Usage context is implied rather than stated: 'safe to use for scenario comparison without burning a fetch' suggests when it is preferable to a network tool, but there is no explicit when-to-use vs when-not rule, nor any pointer to the affordability sibling. The rest of the guidance is parameter mechanics rather than tool selection.

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