Math & Numbers
Calculate the follower displacement, velocity coefficient, acceleration coefficient and pressure angle during the cam rise phase. Supports constant-velocity, constant-acceleration, harmonic (SHM) and cycloidal motion laws.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/cam-follower-displacement' \
-H 'Content-Type: application/json' \
-d '{"motionLaw":"harmonic","rise":20,"riseAngle":120,"camAngle":60,"baseRadius":40,"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/cam-follower-displacement| Name | Type | Required | Description |
|---|---|---|---|
| motionLaw | select | No | — |
| rise | number | Yes | — |
| riseAngle | number | Yes | — |
| camAngle | number | Yes | — |
| baseRadius | number | Yes | — |
| decimalPlaces |
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-cam-follower-displacement": {
"name": "cam-follower-displacement",
"description": "Calculate the follower displacement, velocity coefficient, acceleration coefficient and pressure angle during the cam rise phase. Supports constant-velocity, constant-acceleration, harmonic (SHM) and cycloidal motion laws.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=cam-follower-displacement",
"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": "cam-follower-displacement",
"arguments": {
"motionLaw": "harmonic",
"rise": 20,
"riseAngle": 120,
"camAngle": 60,
"baseRadius": 40,
"decimalPlaces": 4
}
}
}Questions or issues? Contact [email protected]
| number |
| No |
| — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}