get_index_usage
Retrieve index usage statistics to identify unused or missing indexes, helping optimize SQL Server database performance.
Instructions
Get index usage statistics to identify unused or 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": {
"database": "<database>"
},
"name": "get_index_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | SQL Server instance (e.g., "server\instance" or "server,port"). Uses default if not specified. | |
| database | Yes | Database name to analyze | |
| showUnused | No | Include unused indexes |