Math & Numbers
Calculate the static safety factor n = σ_limit / σ_applied against yielding (σ_y) or ultimate tensile strength (σ_uts). Built-in typical strengths for carbon/alloy steel, aluminum, copper, austenitic stainless and titanium, plus a custom σ_limit option. Assessment: n<1 failure, 1≤n<1.5 marginal, n≥1.5 safe.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/safety-factor-calculator' \
-H 'Content-Type: application/json' \
-d '{"material":"carbonSteel","limitType":"yield","customLimit":0,"appliedStress":150,"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/safety-factor-calculator| Name | Type | Required | Description |
|---|---|---|---|
| material | select | No | Material preset supplies typical σ_y / σ_uts. Choose 'Custom' to enter σ_limit yourself. |
| limitType | select | No | Use yield strength σ_y (ductile design, recommended) or ultimate tensile strength σ_uts. |
| customLimit | number | No | Material limit σ (MPa). Required only when Material is 'Custom'; otherwise derived from the preset. |
| appliedStress | number | Yes | Actual working stress in the part, in MPa. |
| decimalPlaces | number |
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-safety-factor-calculator": {
"name": "safety-factor-calculator",
"description": "Calculate the static safety factor n = σ_limit / σ_applied against yielding (σ_y) or ultimate tensile strength (σ_uts). Built-in typical strengths for carbon/alloy steel, aluminum, copper, austenitic stainless and titanium, plus a custom σ_limit option. Assessment: n<1 failure, 1≤n<1.5 marginal, n≥1.5 safe.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=safety-factor-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": "safety-factor-calculator",
"arguments": {
"material": "carbonSteel",
"limitType": "yield",
"customLimit": 0,
"appliedStress": 150,
"decimalPlaces": 4
}
}
}| No |
| — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Questions or issues? Contact [email protected]