finance_wacc
WACC Calculator (CAPM) — Weighted average cost of capital, offline. Required: equity= (market value of equity), debt= (0 if none), cost_of_debt= (pre-tax %), beta= (or pass cost_of_equity= % instead of beta). Optional: rf= risk-free % (default 4.5 - pass today's 10-year Treasury yield), erp= equity risk premium % (default 5.5), size_premium=, country_risk_premium=, tax_rate= % (default 21). Returns capital weights, CAPM cost of equity, after-tax cost of debt, WACC, levered and unlevered (Hamada) beta, ERP sensitivity, flags and the assumptions used. Feed waccPct into /v1/finance/dcf as discount=. Price: $0.002 USDC (Base, via x402).
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": {
"equity": "<equity>",
"debt": "<debt>",
"cost_of_debt": "<cost_of_debt>",
"beta": "<beta>"
},
"name": "finance_wacc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| beta | Yes | 1.1 | |
| debt | Yes | 200000000 | |
| equity | Yes | 800000000 | |
| cost_of_debt | Yes | 6 |