Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_mortgage

Calculate exact monthly principal and interest, total loan interest, and lifetime cost for fixed-rate mortgages to eliminate arithmetic errors and formula hallucinations.

Instructions

Fixed-Rate Mortgage Payment & Amortization Calculator. Calculate exact monthly principal and interest, total loan interest, and early payoff acceleration for residential mortgages. Discipline: FINANCE. Governing mathematical model / formula: M = P · [r(1 + r)ⁿ] / [(1 + r)ⁿ - 1].

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of monthly_payment (Monthly Principal & Interest), total_interest_paid (Total Cumulative Interest), total_cost_of_loan (Total Loan Lifetime Cost) using loan_amount (Principal Loan Amount ($) in $), interest_rate_pct (Annual Interest Rate (%) in %), loan_term_years (Loan Term (Years) in years). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.

  • WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.

DISAMBIGUATION & BOUNDARIES:

  • Use this dedicated specialist tool for 'Fixed-Rate Mortgage Payment & Amortization Calculator' rather than generic dispatchers like omni_universal_query.

  • For multi-calculation chained jobs, use 'omni_batch_calculate'.

  • To inspect schema fields, see 'omni_describe_solver'.

BEHAVIOR & SAFETY:

  • Pure deterministic computation with machine floating-point precision.

  • Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.

  • Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.

RETURNS:

  • Structured JSON object containing:

    • status (string): "success" on valid execution or "error" if validation fails

    • calculator (string): "mortgage"

    • category (string): "finance"

    • name (string): "Fixed-Rate Mortgage Payment & Amortization Calculator"

    • formula (string): Governing mathematical formula string

    • inputs (object): Echoed input parameter dictionary with applied defaults

    • metrics (object): Dictionary of computed outputs:

      • metrics.monthly_payment (Monthly Principal & Interest): Formatted display string (e.g. '$2,594.30 / mo')

      • metrics.total_interest_paid (Total Cumulative Interest): Formatted display string (e.g. '$533,948')

      • metrics.total_cost_of_loan (Total Loan Lifetime Cost): Formatted display string (e.g. '$933,948')

    • execution_time_ms (number): Latency in milliseconds.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "omni_mortgage"
  }
}

Input Schema

NameRequiredDescriptionDefault
loan_amountNoPrincipal Loan Amount ($) ($). Mortgage amount borrowed. Default: 400000. Min: 10000. Max: 10000000.
loan_term_yearsNoLoan Term (Years) (years). Repayment duration. Default: 30. Min: 5. Max: 40.
interest_rate_pctNoAnnual Interest Rate (%) (%). Fixed annual interest rate. Default: 6.75. Min: 0.5. Max: 20.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools