Math & Numbers
Calculate the maximum bending moment M_max, maximum shear force V_max and support reactions for a simply supported beam under a uniformly distributed load, a mid-span point load, or a point load at an arbitrary position. UDL: M_max = qL²/8; mid-span: M_max = PL/4; offset: M_max = P·a·b/L.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/simply-supported-beam-calculator' \
-H 'Content-Type: application/json' \
-d '{"loadType":"udl","q":10,"P":0,"L":4000,"a":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/simply-supported-beam-calculator| Name | Type | Required | Description |
|---|---|---|---|
| loadType | select | No | — |
| q | number | No | Used in 'Uniformly Distributed Load' mode. |
| P | number | No | Used in 'Mid-span Point Load' and 'Point Load at a' modes. |
| L | number | Yes | — |
| a | number | No | Used only in 'Point Load at a' mode. Must satisfy 0 < a < L. |
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-simply-supported-beam-calculator": {
"name": "simply-supported-beam-calculator",
"description": "Calculate the maximum bending moment M_max, maximum shear force V_max and support reactions for a simply supported beam under a uniformly distributed load, a mid-span point load, or a point load at an arbitrary position. UDL: M_max = qL²/8; mid-span: M_max = PL/4; offset: M_max = P·a·b/L.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=simply-supported-beam-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": "simply-supported-beam-calculator",
"arguments": {
"loadType": "udl",
"q": 10,
"P": 0,
"L": 4000,
"a": 0,
"decimalPlaces": 4
}
}
}| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Questions or issues? Contact [email protected]