Math & Numbers
Calculate the efficiency of a mechanical transmission (gearbox, belt, chain, etc.). η = P_out / P_in, returning the efficiency percentage and the power loss P_loss = P_in − P_out.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/mechanical-efficiency-calculator' \
-H 'Content-Type: application/json' \
-d '{"inputPower":1000,"outputPower":850,"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/mechanical-efficiency-calculator| Name | Type | Required | Description |
|---|---|---|---|
| inputPower | number | Yes | — |
| outputPower | number | Yes | — |
| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}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-mechanical-efficiency-calculator": {
"name": "mechanical-efficiency-calculator",
"description": "Calculate the efficiency of a mechanical transmission (gearbox, belt, chain, etc.). η = P_out / P_in, returning the efficiency percentage and the power loss P_loss = P_in − P_out.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=mechanical-efficiency-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": "mechanical-efficiency-calculator",
"arguments": {
"inputPower": 1000,
"outputPower": 850,
"decimalPlaces": 4
}
}
}Questions or issues? Contact [email protected]