# build_capital_stack

**Capital stack** · Live · 5 credits. See [all MCP tools](/reference/mcp).

## Result

Captured from the docs' test data, whose clock reads October 5, 2026, calling as a buyer's AI host on `/mcp`, `/mcp/broker`, `/mcp/readonly`. The result is the same on each path, apart from the member's balance after the charge. IDs are placeholders. Arguments:

```json
{
  "price": 2000000,
  "working_capital": 100000,
  "closing_costs": 50000,
  "buyer_cash": 107500,
  "seller_note_amount": 107500,
  "seller_note_full_standby": true,
  "sde": 600000,
  "manager_salary": 100000,
  "capex_reserve": 20000
}
```

Text:

````markdown
**SBA loan in this capital stack: $1,988,000[6]**
Project cost $2,150,000; SBA loan at 10.00% over 10 years

An SBA loan of $1,988,424 funds 90.2% of $2,203,424; cash flow is 1.52x annual debt service of $315,326, against the SBA minimum of 1.25x.

Buyer cash: $108,000[6] · Coverage: 1.52x[6]

**Inputs:** price $2,000,000[1] (supplied by the caller) · working capital $100,000[1] (supplied by the caller) · closing costs $50,000[1] (supplied by the caller) · buyer cash $107,500[1] (supplied by the caller) · seller note $107,500 on full standby[1] (supplied by the caller) · SDE $600,000[1] (supplied by the caller) · manager salary $100,000[1] (supplied by the caller) · capex reserve $20,000[1] (supplied by the caller) · rate 10.00%, the SBA cap: prime 7.00% (Federal Reserve, H.15 bank prime loan rate, as of Oct 2, 2026) plus 3.00%[5] (SBA maximum rate under Procedural Notice 5000-875051, effective Mar 1, 2026) · term 10 years[2] (SBA SOP 50 10 8.1, effective Oct 1, 2026) · guaranty fee $53,424, financed[3] (SBA Information Notice 5000-881797, effective Oct 1, 2026)

| Sources and uses | Amount | Share |
| --- | --- | --- |
| Buyer cash | $107,500[6] | 4.9%[6] |
| Seller note (full standby) | $107,500[6] | 4.9%[6] |
| SBA 7(a) loan | $1,988,424[6] | 90.2%[6] |
| Total sources | $2,203,424[6] | 100.0%[6] |
| Purchase price | $2,000,000[6] | 90.8%[6] |
| Working capital | $100,000[6] | 4.5%[6] |
| Closing costs | $50,000[6] | 2.3%[6] |
| SBA guaranty fee (financed) | $53,424[6] | 2.4%[6] |
| Total uses | $2,203,424[6] | 100.0%[6] |

Annual debt service: $315,326, against $480,000 of cash flow for debt service.
Highest SBA loan at 1.25x on these terms: $2,421,000.
Injection meets SOP 50 10 8.1: $215,000 counted against $215,000 required (5.0% buyer cash, 5.0% from the standby note).

**What moves it:** each 1 point on the SBA rate moves coverage about 0.06x; each $100,000 of buyer cash in place of SBA debt adds about 0.08x.

**Not a loan offer.** The lender sets the final structure, rate and fee treatment.
- The $53,424 guaranty fee is financed: added to the loan and recomputed on the gross loan. Lenders may also count a financed fee in project cost, which raises the required injection to $220,342; confirm with the lender.

**Sources**
1. Supplied by the calling AI client or API caller, Oct 5, 2026; used for this request only
2. Source: SBA SOP 50 10 8.1, effective Oct 1, 2026
3. Source: SBA Information Notice 5000-881797, effective Oct 1, 2026
4. Source: Federal Reserve, H.15 bank prime loan rate, as of Oct 2, 2026
5. Source: SBA Procedural Notice 5000-875051, effective Mar 1, 2026
6. Computed by Acquestor from the inputs above

Information, not advice. Check it with your lender, CPA or attorney before you rely on it.
Charged: 5 credits.

**Next steps**
- Stress test this: stress_test_deal {"sde":600000,"manager_salary":100000,"capex_reserve":20000,"loan_amount":1988424,"interest_rate":0.1,"term_months":120,"seller_note":{"amount":107500,"full_standby":true}}. Price: 5 credits.

**All fields** (a figure with no marker cites c1)
```json
{"sources":[{"name":"buyer_cash","amount":"107500 USD","share":"0.0488 share"},{"name":"seller_note","amount":"107500 USD","share":"0.0488 share"},{"name":"sba_7a_loan","amount":"1988424 USD","share":"0.9024 share"}],"uses":[{"name":"purchase_price","amount":"2000000 USD"},{"name":"working_capital","amount":"100000 USD"},{"name":"closing_costs","amount":"50000 USD"},{"name":"guaranty_fee","amount":"53424 USD"}],"total_project_cost":"2150000 USD","total_uses":"2203424 USD","loan_before_fee":"1935000 USD","guaranteed_portion":"1491318 USD","guaranty_fee":"53424 USD","guaranty_fee_financed":true,"interest_rate":"0.1 rate","cash_flow_for_debt":"480000 USD","sba_debt_service":"315326 USD","seller_note_debt_service":"0 USD","annual_debt_service":"315326 USD","coverage":"1.5222 x","rule_coverage":"1.25 x [r1]","max_loan_at_rule_coverage":"2421477 USD","injection_check":{"unlimited_share":"0.05 share","limited_share":"0.05 share","required_injection":"215000 USD","counted_injection":"215000 USD","meets_rule":true,"required_injection_with_financed_fee":"220342 USD"}}
```

Acquestor doesn't represent buyers or sellers.
````

`structuredContent`:

```json
{
  "data": {
    "sources": [
      {
        "name": "buyer_cash",
        "amount": {
          "value": 107500,
          "unit": "USD",
          "source": "c1"
        },
        "share": {
          "value": 0.0488,
          "unit": "share",
          "source": "c1"
        }
      },
      {
        "name": "seller_note",
        "amount": {
          "value": 107500,
          "unit": "USD",
          "source": "c1"
        },
        "share": {
          "value": 0.0488,
          "unit": "share",
          "source": "c1"
        }
      },
      {
        "name": "sba_7a_loan",
        "amount": {
          "value": 1988424,
          "unit": "USD",
          "source": "c1"
        },
        "share": {
          "value": 0.9024,
          "unit": "share",
          "source": "c1"
        }
      }
    ],
    "uses": [
      {
        "name": "purchase_price",
        "amount": {
          "value": 2000000,
          "unit": "USD",
          "source": "c1"
        }
      },
      {
        "name": "working_capital",
        "amount": {
          "value": 100000,
          "unit": "USD",
          "source": "c1"
        }
      },
      {
        "name": "closing_costs",
        "amount": {
          "value": 50000,
          "unit": "USD",
          "source": "c1"
        }
      },
      {
        "name": "guaranty_fee",
        "amount": {
          "value": 53424,
          "unit": "USD",
          "source": "c1"
        }
      }
    ],
    "total_project_cost": {
      "value": 2150000,
      "unit": "USD",
      "source": "c1"
    },
    "total_uses": {
      "value": 2203424,
      "unit": "USD",
      "source": "c1"
    },
    "loan_before_fee": {
      "value": 1935000,
      "unit": "USD",
      "source": "c1"
    },
    "guaranteed_portion": {
      "value": 1491318,
      "unit": "USD",
      "source": "c1"
    },
    "guaranty_fee": {
      "value": 53424,
      "unit": "USD",
      "source": "c1"
    },
    "guaranty_fee_financed": true,
    "interest_rate": {
      "value": 0.1,
      "unit": "rate",
      "source": "c1"
    },
    "cash_flow_for_debt": {
      "value": 480000,
      "unit": "USD",
      "source": "c1"
    },
    "sba_debt_service": {
      "value": 315326,
      "unit": "USD",
      "source": "c1"
    },
    "seller_note_debt_service": {
      "value": 0,
      "unit": "USD",
      "source": "c1"
    },
    "annual_debt_service": {
      "value": 315326,
      "unit": "USD",
      "source": "c1"
    },
    "coverage": {
      "value": 1.5222,
      "unit": "x",
      "source": "c1"
    },
    "rule_coverage": {
      "value": 1.25,
      "unit": "x",
      "source": "r1"
    },
    "max_loan_at_rule_coverage": {
      "value": 2421477,
      "unit": "USD",
      "source": "c1"
    },
    "injection_check": {
      "unlimited_share": {
        "value": 0.05,
        "unit": "share",
        "source": "c1"
      },
      "limited_share": {
        "value": 0.05,
        "unit": "share",
        "source": "c1"
      },
      "required_injection": {
        "value": 215000,
        "unit": "USD",
        "source": "c1"
      },
      "counted_injection": {
        "value": 215000,
        "unit": "USD",
        "source": "c1"
      },
      "meets_rule": true,
      "required_injection_with_financed_fee": {
        "value": 220342,
        "unit": "USD",
        "source": "c1"
      }
    }
  },
  "sources": [
    {
      "id": "u1",
      "basis": "client_supplied",
      "route": "served_directly",
      "as_of": "2026-10-05",
      "name": "Supplied by the calling client",
      "line": "Supplied by the calling AI client or API caller, Oct 5, 2026; used for this request only"
    },
    {
      "id": "r1",
      "source_id": "sba-sop-50-10-8.1",
      "name": "SOP 50 10 8.1, Lender and Development Company Loan Programs",
      "publisher": "U.S. Small Business Administration",
      "dataset": "SOP 50 10 8.1",
      "basis": "rule",
      "route": "served_directly",
      "licence_status": "cleared",
      "as_of": "2026-10-01",
      "effective_from": "2026-10-01",
      "url": "https://legacy.sba.gov/document/information-notice-5000-882227-issuance-technical-updates-sop-50-10-81",
      "line": "Source: SBA SOP 50 10 8.1, effective Oct 1, 2026"
    },
    {
      "id": "r2",
      "source_id": "sba-notice-5000-881797",
      "name": "Information Notice 5000-881797, FY 2027 7(a) fees",
      "publisher": "U.S. Small Business Administration",
      "dataset": "Information Notice 5000-881797",
      "basis": "rule",
      "route": "served_directly",
      "licence_status": "cleared",
      "as_of": "2026-10-01",
      "effective_from": "2026-10-01",
      "effective_to": "2027-09-30",
      "url": "https://legacy.sba.gov/document/information-notice-5000-881797-fy-2027-7a-program-fees",
      "line": "Source: SBA Information Notice 5000-881797, effective Oct 1, 2026"
    },
    {
      "id": "s1",
      "source_id": "frb-h15-prime",
      "name": "H.15 Selected Interest Rates: bank prime loan rate",
      "publisher": "Board of Governors of the Federal Reserve System",
      "dataset": "H.15 bank prime loan rate",
      "basis": "public_record",
      "route": "served_directly",
      "licence_status": "cleared",
      "as_of": "2026-10-02",
      "url": "https://www.federalreserve.gov/releases/h15/",
      "line": "Source: Federal Reserve, H.15 bank prime loan rate, as of Oct 2, 2026",
      "retrieved_at": "2026-10-05"
    },
    {
      "id": "r3",
      "source_id": "sba-notice-5000-875051",
      "name": "Procedural Notice 5000-875051, 7(a) maximum interest rates",
      "publisher": "U.S. Small Business Administration",
      "dataset": "Procedural Notice 5000-875051",
      "basis": "rule",
      "route": "served_directly",
      "licence_status": "cleared",
      "as_of": "2026-03-01",
      "effective_from": "2026-03-01",
      "url": "https://www.sba.gov/document/procedural-notice-5000-875051-7a-alternative-base-rate-options",
      "line": "Source: SBA Procedural Notice 5000-875051, effective Mar 1, 2026"
    }
  ],
  "gaps": [],
  "disclaimer": "informational",
  "computation": {
    "id": "c1",
    "method": "capital_stack",
    "method_version": "1.0.0",
    "computed_at": "2026-10-05T15:02:11.000Z",
    "rule_sets": [
      "sba-sop-50-10-8.1@2026-09-25",
      "sba-fees-fy2027@2026-10-01",
      "sba-rate-caps@2026-03-01"
    ],
    "inputs": {
      "price": {
        "value": 2000000,
        "unit": "USD",
        "source": "u1"
      },
      "buyer_cash": {
        "value": 107500,
        "unit": "USD",
        "source": "u1"
      },
      "sde": {
        "value": 600000,
        "unit": "USD",
        "source": "u1"
      },
      "manager_salary": {
        "value": 100000,
        "unit": "USD",
        "source": "u1"
      },
      "capex_reserve": {
        "value": 20000,
        "unit": "USD",
        "source": "u1"
      },
      "working_capital": {
        "value": 100000,
        "unit": "USD",
        "source": "u1"
      },
      "closing_costs": {
        "value": 50000,
        "unit": "USD",
        "source": "u1"
      },
      "seller_note_amount": {
        "value": 107500,
        "unit": "USD",
        "source": "u1",
        "note": "Full standby: no payments while the SBA loan is outstanding."
      },
      "term_months": {
        "value": 120,
        "unit": "months",
        "source": "r1"
      },
      "rule_coverage": {
        "value": 1.25,
        "unit": "x",
        "source": "r1"
      },
      "equity_injection_share": {
        "value": 0.1,
        "unit": "share",
        "source": "r1"
      },
      "limited_sources_max_share_of_injection": {
        "value": 0.5,
        "unit": "share",
        "source": "r1"
      },
      "max_loan": {
        "value": 5000000,
        "unit": "USD",
        "source": "r1"
      },
      "guaranty_share": {
        "value": 0.75,
        "unit": "share",
        "source": "r1"
      },
      "upfront_fee_share_to_1000000": {
        "value": 0.035,
        "unit": "share",
        "source": "r2",
        "note": "Share of the guaranteed portion, loans over $700,000 up to $5,000,000."
      },
      "upfront_fee_share_above": {
        "value": 0.0375,
        "unit": "share",
        "source": "r2"
      },
      "prime_rate": {
        "value": 0.07,
        "unit": "rate",
        "source": "s1",
        "as_of": "2026-10-02"
      },
      "max_spread": {
        "value": 0.03,
        "unit": "rate",
        "source": "r3"
      }
    }
  },
  "warnings": [
    {
      "code": "fee_financed",
      "detail": "The $53,424 guaranty fee is financed: added to the loan and recomputed on the gross loan. Lenders may also count a financed fee in project cost, which raises the required injection to $220,342; confirm with the lender."
    }
  ],
  "charge": {
    "credits": 5,
    "price_class": "quick_tool",
    "balance_after": 1375
  },
  "actions": [
    {
      "label": "Stress test this",
      "tool": "stress_test_deal",
      "arguments": {
        "sde": 600000,
        "manager_salary": 100000,
        "capex_reserve": 20000,
        "loan_amount": 1988424,
        "interest_rate": 0.1,
        "term_months": 120,
        "seller_note": {
          "amount": 107500,
          "full_standby": true
        }
      },
      "price_line": "Price: 5 credits."
    }
  ]
}
```

## Inputs

The input schema the server lists. Every input is a flat field. Every object is closed with `additionalProperties: false`.

| Input | Type | Required | Rules | Description |
| --- | --- | --- | --- | --- |
| `price` | number | yes |  | Purchase price in whole US dollars. |
| `working_capital` | number | no | default `0` | Working capital in whole US dollars; defaults to 0. |
| `closing_costs` | number | no | default `0` | Closing costs in whole US dollars; defaults to 0. |
| `buyer_cash` | number | yes |  | Buyer cash in whole US dollars. |
| `seller_note_amount` | number | no |  | Seller note principal in whole US dollars. |
| `seller_note_full_standby` | boolean | no |  | True if the seller note pays nothing during the SBA loan. |
| `seller_note_rate` | number | no |  | Seller note rate as a decimal; needed unless on full standby. |
| `seller_note_term_months` | integer | no |  | Seller note term in months; needed unless on full standby. |
| `interest_rate` | number | no |  | SBA rate as a decimal; defaults to the 7(a) cap. |
| `term_months` | integer | no | default `120` | SBA loan term in months; defaults to 120. |
| `finance_guaranty_fee` | boolean | no | default `true` | Add the guaranty fee to the loan; defaults to true. |
| `sde` | number | yes |  | Annual SDE in whole US dollars. |
| `manager_salary` | number | yes |  | Annual manager salary in whole US dollars. |
| `capex_reserve` | number | yes |  | Annual capex reserve in whole US dollars. |
| `as_of` | string (date) | no |  | Date (YYYY-MM-DD) for SBA rules; defaults to today. |
| `deal_id` | string | no |  | Granted deal id; not saved over MCP. |

## For client developers

What the host’s model reads:

> Computes sources and uses for an SBA 7(a) acquisition: loan, guaranty fee, coverage and equity check. Use it to plan funding for a set price; for the highest price, use compute_sba_price_ceiling. It applies the SBA rules in force on `as_of`.

| | |
| --- | --- |
| Runs | `POST /finance/capital-stack` (buildCapitalStack) |
| Who | Everyone |
| Endpoint paths | `/mcp`, `/mcp/broker`, `/mcp/readonly` |
| Scope | `tools:run` |
| Price | 5 credits |
| Risk | read: read-only yes, destructive no, idempotent yes, open-world no |
| Output | Card type `capital_stack`. The text is the card in Markdown, with every field the card doesn't show stated under "All fields"; `structuredContent` is the result envelope without the card. |
| Output schema | Declared: The outputSchema lists the top-level fields of structuredContent and their types, generated from the response schema in the API definition; none is required, so a result with only gaps still validates (API 0.6.0). |
| Definition cost | 473 tokens (o200k_base) for its name, description and input schema, measured on the definition captured from the server, which the docs tests hold to this build's code (2026-11-12) |
| Eval cases | None yet |

Generated on 2026-11-12 from the API definition and this tool's card; the definition, result and errors on this page were captured from the server.

## Bounds

A result counts its text and `structuredContent` together against a default of 6,000 tokens and a hard cap of 25,000. Nulls and internal fields are left out, and `structuredContent` leaves out the card the text already is.

build_capital_stack is a computed tool, so its rows are one answer and are never cut to fit the default: the result is kept whole, and fits the default with ordinary inputs. A result past the hard cap loses the end of its text and its large fields, and names a narrower call.

## Errors

A failed call returns `isError: true`. The text opens with the stable code, then says what went wrong, whether retrying the same call can succeed, and the request ID; `structuredContent` is the problem object, and `_meta` repeats the code and request ID. Each error below was captured from the server; the code links to its problem page.

| Code | Captured by | Next call |
| --- | --- | --- |
| [`invalid_input`](/problems/invalid_input) | Calling it as a buyer's AI host on `/mcp` | Call again with `price` as a dollar amount above zero. |
| [`missing_input`](/problems/missing_input) | Calling it as a buyer's AI host on `/mcp` | Call build_capital_stack again with every field `missing` names. Acquestor never fills a required input with a default it can't source. |
| [`insufficient_scope`](/problems/insufficient_scope) | Calling it as an API key with no scopes on `/mcp` | Reconnect with a key or sign-in that carries `tools:run`, then call build_capital_stack again. |
| [`over_max_credits`](/problems/over_max_credits) | Calling it as a buyer's AI host on `/mcp` with `acquestor-max-credits: 0` | Raise or drop the `Acquestor-Max-Credits` header your host sends, then call build_capital_stack again. Nothing was charged. |
| [`over_limit`](/problems/over_limit) | Calling it as the buyer's API key with a monthly limit of 1 credit on `/mcp` | Wait for the monthly limit to reset, or use a key or deal grant with a higher monthly limit, then call build_capital_stack again. Nothing was charged. |
| [`insufficient_credits`](/problems/insufficient_credits) | Not captured. The member's balance doesn't cover the call. | Add credits on acquestor.com, then call build_capital_stack again. Nothing ran and nothing was charged. |

Without a credential the server answers HTTP 401 before any tool runs, with a `WWW-Authenticate` header that points the host at sign-in ([`unauthorized`](/problems/unauthorized)).

### `invalid_input`

Arguments:

```json
{
  "price": -1,
  "buyer_cash": 107500,
  "sde": 600000,
  "manager_salary": 100000,
  "capex_reserve": 20000
}
```

Text:

```text
invalid_input: price must be at least 0 Missing: price. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.
```

### `missing_input`

Arguments:

```json
{}
```

Text:

```text
missing_input: The call needs price, buyer_cash, sde, manager_salary, capex_reserve; Acquestor never fills a required input with a default it can't source. Missing: price, buyer_cash, sde, manager_salary, capex_reserve. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.
```

### `insufficient_scope`

Arguments:

```json
{
  "price": 2000000,
  "working_capital": 100000,
  "closing_costs": 50000,
  "buyer_cash": 107500,
  "seller_note_amount": 107500,
  "seller_note_full_standby": true,
  "sde": 600000,
  "manager_salary": 100000,
  "capex_reserve": 20000
}
```

Text:

```text
insufficient_scope: This call needs the tools:run scope. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.
```

### `over_max_credits`

Arguments:

```json
{
  "price": 2000000,
  "working_capital": 100000,
  "closing_costs": 50000,
  "buyer_cash": 107500,
  "seller_note_amount": 107500,
  "seller_note_full_standby": true,
  "sde": 600000,
  "manager_salary": 100000,
  "capex_reserve": 20000
}
```

Text:

```text
over_max_credits: This call costs 5 credits, above your Acquestor-Max-Credits of 0. Nothing ran. Nothing was charged. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.
```

### `over_limit`

Arguments:

```json
{
  "price": 2000000,
  "working_capital": 100000,
  "closing_costs": 50000,
  "buyer_cash": 107500,
  "seller_note_amount": 107500,
  "seller_note_full_standby": true,
  "sde": 600000,
  "manager_salary": 100000,
  "capex_reserve": 20000
}
```

Text:

```text
over_limit: This key's monthly limit of 1 credits is reached. Nothing ran. Nothing was charged. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.
```

---

Source: https://docs.acquestor.com/reference/mcp/build_capital_stack

Help: support@acquestor.com · [Report a security problem](https://docs.acquestor.com/security)

Information, not advice. Acquestor doesn't represent buyers or sellers and takes no fee on any deal.

Not affiliated with or endorsed by the U.S. Small Business Administration. Claude, ChatGPT and Grok are trademarks of their owners. Fonts: Source Serif 4, Public Sans and Source Code Pro, SIL Open Font License.
