analyze_series
Detect explainable anomalies and recurring patterns in a numeric time series with Matrix Profile, showing each result's nearest match for context.
Instructions
Find explainable anomalies and recurring patterns in a time series using the Matrix Profile algorithm. Each anomaly is explained by showing its nearest match elsewhere in the series (or the lack of one), not just flagged as a bare score.
Args: values: The time series as a flat list of numbers, in order. subsequence_length: The length of the pattern window to compare (e.g. 12 for a daily cycle sampled hourly). Must be at least 3 and at most half the series length. top_k: How many top anomalies/patterns to report.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"values": "<values>",
"subsequence_length": "<subsequence_length>"
},
"name": "analyze_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | ||
| values | Yes | ||
| subsequence_length | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |