check_database_health
Analyze MySQL database performance metrics including connection statistics, buffer pool efficiency, query cache, InnoDB operations, and replication status to identify optimization opportunities and maintain system health.
Instructions
Perform a comprehensive MySQL database health check.
Analyzes multiple aspects of MySQL health:
Connection statistics and pool usage
Buffer pool hit ratio
Query cache efficiency (if enabled)
InnoDB metrics (buffer pool, log, transactions)
Replication status (if configured)
Thread and connection usage
Uptime and general status
Returns a health score with detailed breakdown and recommendations. Based on MySQLTuner analysis concepts.
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": "check_database_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_recommendations | No | Include actionable recommendations | |
| verbose | No | Include detailed statistics |