Skip to main content
Glama

Duneland Financial acquisition financing tools

Build a capital stack

build_capital_stack
Read-onlyIdempotent

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

Input Schema

NameRequiredDescriptionDefault
debtPayoffNoExisting debt of the target retired at close. In US dollars.
sellerNoteNoSeller note principal. In US dollars.
sellerRateNoSeller note rate. Annual rate in percentage points. 9.25 means 9.25%.
seniorRateNoSenior loan rate. Annual rate in percentage points. 9.25 means 9.25%.
targetDscrNoA coverage target to compare against, such as 1.25.
buyerEquityYesBuyer cash going into the deal. In US dollars.
otherEquityNoEquity from anyone else: a partner, an investor, a rollover. In US dollars.
closingCostsNoClosing costs funded at close. In US dollars.
seniorAmountNoA fixed senior loan amount. Omit to solve the senior loan as the remainder. In US dollars.
cashAvailableNoBuyer cash on hand, to warn when the equity spends the reserve. In US dollars.
purchasePriceYesThe purchase price. In US dollars.
annualCashFlowYesAnnual cash flow available for debt service. In US dollars.
workingCapitalNoWorking capital funded at close, beyond anything in the price. In US dollars.
sellerTermYearsNoSeller note maturity. In years.
seniorTermYearsNoSenior loan maturity. In years.
liquidityReserveNoCash the buyer intends to keep back. In US dollars.
sellerAmortYearsNoSeller note amortization. Longer than the maturity leaves a balloon. In years.
seniorAmortYearsNoSenior loan amortization. In years.
sellerStandbyMonthsNoMonths at the start of the seller note with no payment.
retainedAnnualServiceNoAnnual payments on debt the business keeps after closing. In US dollars.
sellerStandbyInterestNoWhat 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

NameRequiredDescriptionDefault
sellerYes
seniorYes
sharesYes
coverageYes
warningsYes
totalUsesYes
disclaimerYes
fundingGapYes
overfundedYes
seniorLoanYes
sensitivityYes
totalSourcesYes
calculatorUrlYes
firstYearDebtServiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive, closed-world calculation. The description adds useful behavioral context by explaining that the senior loan is solved as the remainder and listing the outputs, but it does not discuss assumptions around fixed senior amounts, DSCR targets, or standby-interest handling beyond what the schema covers.

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 front-loaded with the core operation and remainder-solving behavior, then efficiently lists inputs and outputs before closing with the usage condition. It is dense but every sentence contributes information, and there is no filler.

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 21-parameter modeling tool, the description is appropriately complete when read alongside the fully documented schema, annotations, and output schema. It covers the purpose, general inputs, outputs, and use case, though it could mention the fixed seniorAmount alternative and targetDSCR comparison more explicitly.

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 the parameter meanings are already fully documented. The description groups the key inputs—price, working capital, closing costs, equity sources, seller-note terms, senior-loan terms, and cash flow—but adds little semantic detail beyond the schema defaults, ranges, and enum documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific action and object: laying out sources and uses for a business acquisition and solving the senior loan as the remainder. It goes beyond the title by specifying outputs such as the funding gap, source shares, debt service, coverage, and sensitivity, which distinguishes it from a generic acquisition-loan model.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit use condition: 'Use when the user asks how the whole purchase gets funded.' That is clear context, but it does not state when to avoid this tool or name sibling alternatives such as model_acquisition_loan or model_seller_note.

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