analyze_connection_pooling
Detect database client or pool creation in hot paths to prevent connection pooling anti-patterns in Node.js backends.
Instructions
Detect database client or pool creation inside request handlers, loops, or other hot paths.
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": {
"projectPath": "<projectPath>"
},
"name": "analyze_connection_pooling"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute or relative path to the Node.js project to analyze |