ROI Calculator
roiReturn on investment, simple and annualized — comparable numbers instead of raw bragging. Simple ROI from cost and final value, annualized when you give it a time period — because "we doubled our money" means something completely different over 2 years versus 12.
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": "roi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | Total invested | |
| years | No | Holding period (yr) | |
| finalValue | No | Final value (or total returned) |