finance_npv_irr
NPV, IRR, MIRR, payback + XIRR — Capital-budgeting math for a cash-flow series: NPV, IRR (every root, with a multiple-IRR warning), MIRR, simple and discounted payback, profitability index, NPV sensitivity at rate +/- 2 points, ACCEPT/REJECT verdict. Optional dates= gives Excel-matching XNPV/XIRR. Params: flows= (comma list starting at period 0, e.g. -10000,3000,4200,6800), rate= (percent per period), finance_rate=, reinvest_rate=, periods_per_year= (12 for monthly; adds annualized IRR), dates=YYYY-MM-DD list. 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": {
"flows": "<flows>",
"rate": "<rate>"
},
"name": "finance_npv_irr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | 8 | |
| flows | Yes | -10000,3000,4200,6800 |