Skip to main content
Glama

list_indexes

Retrieve detailed information about all table indexes in a Microsoft SQL Server database, including usage statistics to analyze performance and optimize queries.

Instructions

List all indexes on tables with usage statistics and detailed information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connectionStringNoSQL Server connection string (uses default if not provided)
connectionNameNoNamed connection to use (e.g., 'production', 'staging')
schemaNoSchema name (default: dbo)
tableNameNoFilter by specific table name
includeUsageStatsNoInclude index usage statistics (default: true)

Latest Blog Posts

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/c0h1b4/mssql-mcp-server'

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