x402-roi-calc
ROI Calc: Calculate Return on Investment from invested and returned amounts. Provide invested and returned values. 🆓 5 free trial calls per signed wallet
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": {
"invested": "<invested>"
},
"name": "x402-roi-calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| gain | No | ||
| final | No | ||
| years | No | ||
| current | No | ||
| initial | No | ||
| invested | Yes | ||
| returned | No |