ROI calculator
roi_calculatorReturn on investment: profit and ROI % from the amount put in and the amount got back, and the yearly rate if the time in months is given.
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": {
"cost": "<cost>",
"returned": "<returned>"
},
"name": "roi_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | Amount invested. | |
| months | No | Optional: how many months it took. | |
| returned | Yes | Amount got back in total. |