Analyze Slow Queries Topn
analyze_slow_queries_topnIdentify performance bottlenecks by analyzing the top N slowest queries over a configurable period, with a minimum execution time filter.
Instructions
Analyze top N slowest queries and identify performance bottlenecks
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analyze_slow_queries_topn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days of audit history to analyze | |
| top_n | No | Number of slow queries to return | |
| min_execution_time_ms | No | Minimum query execution time in milliseconds |