Database statistics
get_database_metricsCPU, memory, connections and commits per minute (commands per minute on Valkey) over 1h (1-minute buckets), 24h (10 minutes) or 7d (1 hour); only buckets with samples. Scope: vms.read.
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": {
"database": "<database>"
},
"name": "get_database_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Period covered. Default 24h. | |
| database | Yes | Database id, as returned by list_databases or create_database. |