Build a capital stack
build_capital_stackLay out sources and uses for a business acquisition and solve the senior loan as the remainder. Takes the price, working capital, closing costs, buyer and other equity, a seller note with its terms, senior loan terms and annual cash flow; returns the funding gap, each source as a share of total uses, the first-year debt service, the coverage by year and a cash-flow sensitivity. Use when the user asks how the whole purchase gets funded.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"purchasePrice": "<purchasePrice>",
"buyerEquity": "<buyerEquity>",
"annualCashFlow": "<annualCashFlow>"
},
"name": "build_capital_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debtPayoff | No | Existing debt of the target retired at close. In US dollars. | |
| sellerNote | No | Seller note principal. In US dollars. | |
| sellerRate | No | Seller note rate. Annual rate in percentage points. 9.25 means 9.25%. | |
| seniorRate | No | Senior loan rate. Annual rate in percentage points. 9.25 means 9.25%. | |
| targetDscr | No | A coverage target to compare against, such as 1.25. | |
| buyerEquity | Yes | Buyer cash going into the deal. In US dollars. | |
| otherEquity | No | Equity from anyone else: a partner, an investor, a rollover. In US dollars. | |
| closingCosts | No | Closing costs funded at close. In US dollars. | |
| seniorAmount | No | A fixed senior loan amount. Omit to solve the senior loan as the remainder. In US dollars. | |
| cashAvailable | No | Buyer cash on hand, to warn when the equity spends the reserve. In US dollars. | |
| purchasePrice | Yes | The purchase price. In US dollars. | |
| annualCashFlow | Yes | Annual cash flow available for debt service. In US dollars. | |
| workingCapital | No | Working capital funded at close, beyond anything in the price. In US dollars. | |
| sellerTermYears | No | Seller note maturity. In years. | |
| seniorTermYears | No | Senior loan maturity. In years. | |
| liquidityReserve | No | Cash the buyer intends to keep back. In US dollars. | |
| sellerAmortYears | No | Seller note amortization. Longer than the maturity leaves a balloon. In years. | |
| seniorAmortYears | No | Senior loan amortization. In years. | |
| sellerStandbyMonths | No | Months at the start of the seller note with no payment. | |
| retainedAnnualService | No | Annual payments on debt the business keeps after closing. In US dollars. | |
| sellerStandbyInterest | No | What happens to interest during standby months. "none": no interest accrues. "accrue-simple": interest accrues and is due at maturity. "capitalize-monthly": interest is added to principal each month. | accrue-simple |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seller | Yes | ||
| senior | Yes | ||
| shares | Yes | ||
| coverage | Yes | ||
| warnings | Yes | ||
| totalUses | Yes | ||
| disclaimer | Yes | ||
| fundingGap | Yes | ||
| overfunded | Yes | ||
| seniorLoan | Yes | ||
| sensitivity | Yes | ||
| totalSources | Yes | ||
| calculatorUrl | Yes | ||
| firstYearDebtService | Yes |