Math & Numbers
Calculate the second moment of area (I) and section modulus (Z) for common cross-sections: solid circle, rectangle, hollow tube, and I-beam. Results in mm⁴ and cm⁴.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/moment-of-inertia-calculator' \
-H 'Content-Type: application/json' \
-d '{"shape":"circle","D":100,"b":0,"h":0,"Do":0,"Di":0,"B":0,"H":0,"tw":0,"tf":0,"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/moment-of-inertia-calculator| Name | Type | Required | Description |
|---|---|---|---|
| shape | select | No | — |
| D | number | No | Diameter. Required for Solid Circle. |
| b | number | No | Section width (horizontal). Required for Rectangle. |
| h | number | No | Section height (vertical). Required for Rectangle. |
| Do | number | No | Outer diameter. Required for Hollow Circle. |
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-moment-of-inertia-calculator": {
"name": "moment-of-inertia-calculator",
"description": "Calculate the second moment of area (I) and section modulus (Z) for common cross-sections: solid circle, rectangle, hollow tube, and I-beam. Results in mm⁴ and cm⁴.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=moment-of-inertia-calculator",
"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": "moment-of-inertia-calculator",
"arguments": {
"shape": "circle",
"D": 100,
"b": 0,
"h": 0,
"Do": 0,
"Di": 0,
"B": 0,
"H": 0,
"tw": 0,
"tf": 0,
"decimalPlaces": 4
}
}
}Questions or issues? Contact [email protected]
| Di | number | No | Inner diameter. Required for Hollow Circle. |
| B | number | No | Flange width. Required for I-Beam. |
| H | number | No | Total height. Required for I-Beam. |
| tw | number | No | Web thickness. Required for I-Beam. |
| tf | number | No | Flange thickness. Required for I-Beam. |
| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}