Math & Numbers
Calculate PDF, CDF, survival probability, and interval probability for an exponential distribution
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/exponential-distribution-calculator' \
-H 'Content-Type: application/json' \
-d '{"rateLambda":0.5,"value":3,"intervalLower":"0","intervalUpper":"3","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/exponential-distribution-calculator| Name | Type | Required | Description |
|---|---|---|---|
| rateLambda | number | Yes | — |
| value | number | Yes | — |
| intervalLower | text | No | — |
| intervalUpper | text | No | — |
| decimalPlaces | number | No | — |
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-exponential-distribution-calculator": {
"name": "exponential-distribution-calculator",
"description": "Calculate PDF, CDF, survival probability, and interval probability for an exponential distribution",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=exponential-distribution-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": "exponential-distribution-calculator",
"arguments": {
"rateLambda": 0.5,
"value": 3,
"intervalLower": "0",
"intervalUpper": "3",
"decimalPlaces": 4
}
}
}Questions or issues? Contact [email protected]
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}