Skip to main content
Glama

MSSQL MCP Server

by Nirmal123K

create_index

Create database indexes on SQL Server tables to improve query performance by organizing data for faster retrieval and enforcing unique constraints when needed.

Instructions

Creates an index on a specified column or columns in an MSSQL Database table

Input Schema

NameRequiredDescriptionDefault
columnsYesArray of column names to include in the index
indexNameYesName for the new index
isClusteredNoWhether the index should be clustered (default: false)
isUniqueNoWhether the index should enforce uniqueness (default: false)
schemaNameNoName of the schema containing the table
tableNameYesName of the table to create index on

Input Schema (JSON Schema)

{ "properties": { "columns": { "description": "Array of column names to include in the index", "items": { "type": "string" }, "type": "array" }, "indexName": { "description": "Name for the new index", "type": "string" }, "isClustered": { "default": false, "description": "Whether the index should be clustered (default: false)", "type": "boolean" }, "isUnique": { "default": false, "description": "Whether the index should enforce uniqueness (default: false)", "type": "boolean" }, "schemaName": { "description": "Name of the schema containing the table", "type": "string" }, "tableName": { "description": "Name of the table to create index on", "type": "string" } }, "required": [ "tableName", "indexName", "columns" ], "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/Nirmal123K/mssql-mcp'

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