calculate_sharpe_ratio
Assess investment efficiency by computing the Sharpe ratio from portfolio return, risk-free rate, and standard deviation.
Instructions
Calculate Sharpe Ratio = (Rp - Rf) / σp. Measures risk-adjusted return per unit of total risk.
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": {
"portfolio_return": "<portfolio_return>",
"risk_free_rate": "<risk_free_rate>",
"portfolio_std_dev": "<portfolio_std_dev>"
},
"name": "calculate_sharpe_ratio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| risk_free_rate | Yes | ||
| portfolio_return | Yes | ||
| portfolio_std_dev | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |