analyze-query-performance
analyze-query-performanceMeasures SQL query execution time by running it multiple times, helping identify performance bottlenecks in Firebird databases.
Instructions
Analyzes the performance of a SQL query by executing it multiple times and measuring execution time
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": {
"sql": "<sql>"
},
"name": "analyze-query-performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL query to analyze | |
| params | No | Parameters for parameterized queries | |
| iterations | No | Number of times to run the query for averaging performance |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Failure information; present when success is false | |
| result | No | The legacy JSON payload; present for completed operations and partial batches | |
| success | Yes | False for tool failures, including partially failed batches |