Skip to main content
Glama
chrischall

onehome-mcp

by chrischall

Calculate mortgage PITI

onehome_calculate_mortgage
Read-onlyIdempotent

Calculate monthly mortgage payments with a full PITI breakdown: principal, interest, taxes, insurance, HOA, PMI. Input home price and interest rate to see total interest over the loan.

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.13.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already indicate readOnly, idempotent, and not openWorld. The description adds valuable behavioral context beyond annotations: it is local-only (no network call), PMI applies automatically when LTV > 80% and pmi_rate is provided, and down_payment_percent defaults to 20%. This enriches the agent's understanding of the tool's side effects and default behavior.

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 concise and well-structured. It front-loads the primary purpose, then details the output and key parameter relationships. Every sentence adds value without redundancy or fluff.

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 calculator with 10 parameters and no output schema, the description covers the essential output (PITI breakdown and total interest), the key parameter alternatives, and the PMI rule. It does not explicitly state loan_term_years default (though the schema does) or error behavior, but the coverage is adequate for an agent to call the tool correctly.

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

Parameters3/5

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

With only 40% schema coverage, the description must compensate for undocumented parameters. It explains the down_payment/down_payment_percent alternatives, property_tax_annual/property_tax_rate options, and the default for down_payment_percent. However, it does not explicitly describe hoa_monthly or insurance_annual inputs (though they are implied by the PITI breakdown), leaving some parameters under-explained.

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 clearly states the tool's purpose: it is a local-only mortgage payment calculator that returns a full PITI breakdown and total interest. It distinguishes itself as local-only with no network call, but it does not explicitly differentiate from the sibling onehome_calculate_affordability, so it stops short of a full 5.

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 provides parameter usage rules (down_payment OR down_payment_percent, property tax alternatives, PMI condition) but does not explicitly state when to use this tool versus the affordability calculator or any other alternative. The 'local-only' and 'no network call' hints imply use for quick offline calculations, but that guidance is implicit rather than explicit.

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