Math & Numbers
Numeric (f*g)(t) = ∫ f(τ)g(t−τ)dτ by composite Simpson, in causal or direct-window mode, at up to 8 output points.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/convolution-integral-calculator' \
-H 'Content-Type: application/json' \
-d '{"fExpr":"exp(-x)","gExpr":"exp(-2x)","mode":"causal","tauMin":0,"tauMax":20,"tValues":"0.5, 1, 2, 3","intervals":2000,"decimalPlaces":4}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/convolution-integral-calculator| Name | Type | Required | Description |
|---|---|---|---|
| fExpr | text | Yes | First signal, written in the variable x. Supports + - * / ^, parentheses, and functions like exp, sin, cos, sqrt, ln. |
| gExpr | text | Yes | Second signal, written in the variable x (it is evaluated at t − τ inside the integral). |
| mode | select | Yes | — |
| tauMin | number | No | Lower integration bound. |
| tauMax | 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-convolution-integral-calculator": {
"name": "convolution-integral-calculator",
"description": "Numeric (f*g)(t) = ∫ f(τ)g(t−τ)dτ by composite Simpson, in causal or direct-window mode, at up to 8 output points.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=convolution-integral-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": "convolution-integral-calculator",
"arguments": {
"fExpr": "exp(-x)",
"gExpr": "exp(-2x)",
"mode": "causal",
"tauMin": 0,
"tauMax": 20,
"tValues": "0.5, 1, 2, 3",
"intervals": 2000,
"decimalPlaces": 4
}
}
}Questions or issues? Contact [email protected]
| Upper integration bound. |
| tValues | text | Yes | 1–8 evaluation points t at which (f*g)(t) is reported. |
| intervals | number | No | Number of Simpson subintervals per integral (even, 100–20000). |
| decimalPlaces | number | No | — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}