mongo_collection_stats
Retrieve storage, index size, and document count statistics for a MongoDB collection to monitor database performance and capacity.
Instructions
Get detailed storage, index size, and document count statistics for a MongoDB collection.
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": {
"collection": "<collection>"
},
"name": "mongo_collection_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | ||
| collection | Yes | ||
| connectionId | No | Id of the mongodb connection to use. Optional when only one mongodb connection is configured. |