Database stats
get_database_statsRetrieves PostgreSQL connection states, transaction commits/rollbacks, deadlocks, temp usage, cache hit ratio, and key memory settings to monitor database health.
Instructions
Connections by state, commits/rollbacks, deadlocks, temp usage, cache hit ratio, and key memory settings.
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_database_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||