Skip to main content
Glama

Fix and Flip Loans: flip calculator and lender terms

Fix-and-flip profit calculator

calculate_flip_profit
Read-onlyIdempotent

Runs the fixandflip.loans calculator on a deal: profit, cash you put in, return on cash (and simple annualized), profit as % of ARV, the hard-money loan with interest, points and fees, holding and selling costs, the 70% rule maximum price and whether the deal meets it, and the breakeven sale price. Optionally prices the loan at a listed lender's advertised starting rate.

Input Schema

NameRequiredDescriptionDefault
arvYesAfter-repair value (expected sale price) in dollars, e.g. 340000.
lenderNoOptional lender name (e.g. "Kiavi"): use its advertised fix-and-flip starting rate instead of rate_pct. Do not give both.
monthsNoMonths from purchase to sale. Default 6.
ltc_pctNoShare of the purchase price the lender advances, %. Default 90.
rate_pctNoAnnual interest rate, %, from your own term sheet. Default 10.5 (the calculator's example, not a market rate).
financingNohard_money (default) or cash (no loan).
points_pctNoOrigination points, % of the loan. Default 2.
rehab_costYesRehab (renovation) budget in dollars, e.g. 55000.
arv_cap_pctNoLender's maximum loan as % of ARV. Default 75.
interest_onNodrawn (default): interest only on money drawn, rehab draws spread evenly; full_loan: interest on the whole loan from day one ("Dutch").
lender_feesNoUnderwriting, document and processing fees in dollars. Default 1995.
purchase_priceYesPurchase price in dollars, e.g. 210000.
rehab_funded_pctNoShare of the rehab the lender funds in draws, %. Default 100.
buy_closing_costsNoBuyer closing costs in dollars. Default 4000.
seller_closing_pctNoSeller closing costs and transfer tax as % of the sale price. Default 1.5.
holding_costs_monthlyNoTaxes, insurance and utilities per month in dollars. Default 900.
selling_commission_pctNoAgent commissions as % of the sale price. Default 5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real value by enumerating the computed outputs (profit, cash-in, return on cash, 70% rule check, breakeven price), which is the behavioral detail an agent needs since no output schema exists.

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?

The action is front-loaded in the first clause and the rest is a dense but purposeful enumeration of returned metrics. The long comma-chained list is slightly heavy to parse but every element earns its place as output disclosure.

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 17 parameters and 100% schema coverage but no output schema, the description correctly fills the remaining gap by describing what the calculator returns. Only minor items, such as how lender names are resolved or error behavior when both lender and rate_pct are supplied, are left implicit.

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?

Schema description coverage is 100%, so every one of the 17 parameters is already documented with defaults, ranges and enums. The description only restates the lender-rate option and lists outputs; it does not add interpretive meaning to any parameter beyond the schema. Baseline 3 applies.

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 and resource ('Runs the fixandflip.loans calculator on a deal') and enumerates the outputs produced, so the tool's function is immediately legible. It does not, however, distinguish itself from siblings like compare_lender_costs or get_lender_terms, which is the main thing keeping it below a 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 clause 'Optionally prices the loan at a listed lender's advertised starting rate' implies usage around the lender parameter, but it never says when to prefer this over compare_lender_costs or how to obtain a valid lender name. There are no explicit when-not conditions or alternative routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources