Skip to main content
Glama

Microsoft SQL Server MCP Server (MSSQL)

analyze_index_usage

Optimize SQL Server performance by identifying unused or underutilized indexes. Filter by schema, table, or show only unused indexes for targeted database tuning.

Instructions

Show detailed index usage statistics to identify unused or underutilized indexes

Input Schema

NameRequiredDescriptionDefault
connectionNameNoNamed connection to use (e.g., 'production', 'staging')
connectionStringNoSQL Server connection string (uses default if not provided)
schemaNoSchema name (default: dbo)
showUnusedOnlyNoShow only unused indexes (default: false)
tableNameNoFilter by specific table name

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "connectionName": { "description": "Named connection to use (e.g., 'production', 'staging')", "type": "string" }, "connectionString": { "description": "SQL Server connection string (uses default if not provided)", "type": "string" }, "schema": { "description": "Schema name (default: dbo)", "type": "string" }, "showUnusedOnly": { "description": "Show only unused indexes (default: false)", "type": "boolean" }, "tableName": { "description": "Filter by specific table name", "type": "string" } }, "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dperussina/mssql-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server