analyze_performance
Evaluate query performance and latency metrics for a specified query or time range using detailed statistics such as P50 and P99 to optimize database efficiency.
Instructions
Analyze query performance statistics for a given query or time range.
Args: query (str): Query string to filter (default: ""). time_range (str): Time range for analysis (default: '1:0', format: 'minutes:seconds').
Returns: Statistics about performance and latency (e.g., P50, P99).
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": {
"query": "<query>"
},
"name": "analyze_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| time_range | No | 1:0 |