Math & Numbers
Calculate the kinetic energy stored in a flywheel. E = ½·I·ω², ω = 2π·n/60. Enter the moment of inertia directly, or compute it from flywheel mass and radius (I = ½·m·r²). Supports J/kJ/Wh.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/flywheel-energy-storage' \
-H 'Content-Type: application/json' \
-d '{"I":2,"n":3000,"m":0,"r":0,"energyUnit":"J","decimalPlaces":4}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/flywheel-energy-storage| Name | Type | Required | Description |
|---|---|---|---|
| I | number | No | Optional. If omitted, it is computed from flywheel mass and radius using I = ½·m·r². |
| n | number | Yes | — |
| m | number | No | Optional. Used with radius to derive I when I is not provided. |
| r | number | No | Optional. Used with mass to derive I when I is not provided. |
| energyUnit | select | No |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-flywheel-energy-storage": {
"name": "flywheel-energy-storage",
"description": "Calculate the kinetic energy stored in a flywheel. E = ½·I·ω², ω = 2π·n/60. Enter the moment of inertia directly, or compute it from flywheel mass and radius (I = ½·m·r²). Supports J/kJ/Wh.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=flywheel-energy-storage",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "flywheel-energy-storage",
"arguments": {
"I": 2,
"n": 3000,
"m": 0,
"r": 0,
"energyUnit": "J",
"decimalPlaces": 4
}
}
}Questions or issues? Contact [email protected]
| — |
| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}