business_ratios
Compute cash runway in months, cash buffer days, current ratio, quick ratio, debt to equity, DSO, DIO, DPO and cash conversion cycle from any subset of a business's own cash, monthly flow and balance sheet figures. Arithmetic only, no network. Each value carries its formula and the inputs it used; a value that cannot be computed is null with a reason.
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": "business_ratios"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cash | No | Cash on hand. Every figure uses the same currency unit. May be negative. | |
| equity | No | Total equity. May be negative. | |
| payables | No | Accounts payable. | |
| inventory | No | Inventory at cost. | |
| l402_proof | No | L402 payment proof "<macaroon>:<preimage>". Omit on the first call; an unpaid call returns a 0 sat Lightning invoice and the macaroon. Pay the invoice, then repeat the call with this argument set. | |
| annual_cogs | No | Cost of goods sold for the last twelve months. | |
| receivables | No | Accounts receivable. | |
| annual_revenue | No | Revenue for the last twelve months. | |
| current_assets | No | Total current assets. | |
| monthly_inflows | No | Cash received per month. | |
| monthly_outflows | No | Cash paid out per month. | |
| total_liabilities | No | Total liabilities. | |
| current_liabilities | No | Total current liabilities. |