Data Analysis
Sube datos de series temporales en CSV o JSON, detecta anomalías con Z-Score e IQR y devuelve un informe con grafico
Llama a esta herramienta desde tu código en tres lenguajes.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/time-series-anomaly-detector' \
-F 'file=@/path/to/dataFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/es/api/tools/time-series-anomaly-detector' \
-F 'rawInput=timestamp,value
2026-03-01,110
2026-03-02,112
2026-03-03,109
2026-03-04,315
2026-03-05,111' \
-F 'dataFile=/path/to/file.ext' \
-F 'timestampColumn=timestamp' \
-F 'valueColumn=value' \
-F 'detectionMethod=both' \
-F 'zScoreThreshold=2.5' \
-F 'seasonalityWindow=0'Envía una petición POST con tus entradas en JSON. Los parámetros de tipo archivo requieren una subida previa.
POST https://api.elysiatools.com/es/api/tools/time-series-anomaly-detector| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| rawInput | textarea | No | — |
| dataFile | filesubida requerida | No | — |
| timestampColumn | text | No | — |
| valueColumn | text | No | — |
| detectionMethod | select | No | — |
| zScoreThreshold | number | No | — |
| seasonalityWindow | number | No | — |
Resultado HTML
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Añade esta herramienta a tu servidor Model Context Protocol para que los agentes de IA puedan listarla y llamarla.
Añade este bloque a la configuración de tu cliente MCP:
{
"mcpServers": {
"elysiatools-time-series-anomaly-detector": {
"name": "time-series-anomaly-detector",
"description": "Sube datos de series temporales en CSV o JSON, detecta anomalías con Z-Score e IQR y devuelve un informe con grafico",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=time-series-anomaly-detector",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Tras conectar al endpoint SSE, lista las herramientas expuestas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoca la herramienta por su id; los argumentos se construyen a partir de sus parámetros:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "time-series-anomaly-detector",
"arguments": {
"rawInput": "timestamp,value\n2026-03-01,110\n2026-03-02,112\n2026-03-03,109\n2026-03-04,315\n2026-03-05,111",
"dataFile": "https://example.com/file.ext",
"timestampColumn": "timestamp",
"valueColumn": "value",
"detectionMethod": "both",
"zScoreThreshold": 2.5,
"seasonalityWindow": 0
}
}
}¿Dudas o problemas? Contacta con [email protected]