Analyze Index Usage
analyze_index_usageIdentify unused or underutilized SQL Server indexes to optimize database performance and reduce storage overhead.
Instructions
Show detailed index usage statistics to identify unused or underutilized indexes
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analyze_index_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connectionString | No | SQL Server connection string (uses default if not provided) | |
| connectionName | No | Named connection to use (e.g., 'production', 'staging') | |
| schema | No | Schema name (default: dbo) | |
| tableName | No | Filter by specific table name | |
| showUnusedOnly | No | Show only unused indexes (default: false) |