Math & Numbers
Look up and compute the maximum deflection for four classic beam cases: cantilever with end point load (δ=PL³/3EI), cantilever with UDL (δ=qL⁴/8EI), simply supported with mid-span point load (δ=PL³/48EI), and simply supported with UDL (δ=5qL⁴/384EI).
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/deflection-calculator' \
-H 'Content-Type: application/json' \
-d '{"supportCase":"simplySupportedUDL","P":0,"q":10,"L":4000,"E":210000,"I":83600000,"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/deflection-calculator| Name | Type | Required | Description |
|---|---|---|---|
| supportCase | select | No | — |
| P | number | No | Required for point-load cases. |
| q | number | No | Required for UDL cases. |
| L | number | Yes | — |
| E | number | Yes | Modulus of elasticity in MPa (= N/mm²). Steel ≈ 210000, aluminum ≈ 70000. |
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-deflection-calculator": {
"name": "deflection-calculator",
"description": "Look up and compute the maximum deflection for four classic beam cases: cantilever with end point load (δ=PL³/3EI), cantilever with UDL (δ=qL⁴/8EI), simply supported with mid-span point load (δ=PL³/48EI), and simply supported with UDL (δ=5qL⁴/384EI).",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=deflection-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": "deflection-calculator",
"arguments": {
"supportCase": "simplySupportedUDL",
"P": 0,
"q": 10,
"L": 4000,
"E": 210000,
"I": 83600000,
"decimalPlaces": 4
}
}
}Questions or issues? Contact [email protected]
| I |
| number |
| Yes |
| Area moment of inertia of the cross-section about the bending axis, in mm⁴. |
| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}