analyze_slow_queries
Analyze recent HTTP requests to detect database queries slower than a specified threshold, helping identify performance bottlenecks.
Instructions
Find slow database queries above threshold
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | No | Specific request ID (highest priority) | |
| count | No | Number of recent HTTP requests to analyze | |
| since | No | Time duration to look back (e.g., "30m", "1h", "2d", "1w") | |
| all | No | Analyze all available requests (max 100) | |
| uri | No | Filter by URI pattern (substring match) | |
| threshold | No | Slow query threshold in ms | |
| limit | No | Max queries to return |