Math & Numbers
Calculate the elastic section modulus W = I/y_max and associated geometric properties. Supports rectangle, solid circle, hollow tube, and I-beam; computes I, distance c, area A, and radius of gyration r. Units in mm.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/section-modulus-calculator' \
-H 'Content-Type: application/json' \
-d '{"shape":"rectangle","b":50,"h":100,"D":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/section-modulus-calculator| Name | Type | Required | Description |
|---|---|---|---|
| shape | select | No | — |
| b | number | No | Section width (horizontal). Required for Rectangle. |
| h | number | No | Section height (vertical). Required for Rectangle. |
| D | number | No | Required for Solid Circle. |
| Do | number | No | 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-section-modulus-calculator": {
"name": "section-modulus-calculator",
"description": "Calculate the elastic section modulus W = I/y_max and associated geometric properties. Supports rectangle, solid circle, hollow tube, and I-beam; computes I, distance c, area A, and radius of gyration r. Units in mm.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=section-modulus-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": "section-modulus-calculator",
"arguments": {
"shape": "rectangle",
"b": 50,
"h": 100,
"D": 0,
"Do": 0,
"Di": 0,
"B": 0,
"H": 0,
"tw": 0,
"tf": 0,
"decimalPlaces": 4
}
}
}Questions or issues? Contact [email protected]
| Di |
| number |
| No |
| Required for Hollow Circle. Must be less than Do. |
| B | number | No | Required for I-Beam. |
| H | number | No | Required for I-Beam. |
| tw | number | No | Required for I-Beam. |
| tf | number | No | Required for I-Beam. |
| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}