mat_connection_pools
Diagnose database connection pool health by reporting active and idle counts and identifying leaked connections held longer than a configurable threshold.
Instructions
Diagnose DB connection pools (active/idle counts + leaked connections held > thresholdMs). / 诊断数据库连接池(活跃/空闲数 + 持有超过 thresholdMs 的泄漏连接)。
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": {
"report_id": "<report_id>"
},
"name": "mat_connection_pools"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report_id | Yes | ||
| thresholdMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |