get_query_stats
Retrieve aggregate query statistics for a request to analyze database performance and identify slow queries or bottlenecks.
Instructions
Get aggregate query statistics for a request
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": "get_query_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Unix timestamp end | |
| from | No | Unix timestamp start | |
| token | No | Pre-authenticated X-Clockwork-Auth token (alternative to password) | |
| baseUrl | No | Clockwork application base URL (e.g. https://my-app.test). Overrides CLOCKWORK_BASE_URL / local storage for this call | |
| password | No | Clockwork authentication password | |
| username | No | Clockwork authentication username | |
| requestId | No | Stats for specific request, or aggregate if omitted |