analyze_indexes
Detect missing MongoDB indexes by analyzing query patterns against index definitions in your Node.js project, surfacing potential performance bottlenecks for optimization.
Instructions
Analyze MongoDB query patterns against createIndex definitions to surface potential missing indexes.
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_indexes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute or relative path to the Node.js project to analyze |