Return on investment, gain and (with a holding period) annualized ROI.
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
initial_investment | number | required | Initial investment in USD |
final_value | number | required | Final/exit value in USD |
years | number | optional | Holding period in years (for annualized ROI) |
curl -s https://wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "roi", "arguments": {"initial_investment": 100, "final_value": 100}}}'curl -s https://wingmanprotocol.com/tools/roi \
-H 'Content-Type: application/json' \
-d '{"initial_investment": 100, "final_value": 100}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/roi from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).