Skip to main content
Glama

MSSQL MCP Server

by EvilPhatBoi

create_index

Create an index on specified columns in an MSSQL database table to improve query performance and enforce uniqueness or clustering as 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" }
Install Server

Other Tools from MSSQL MCP Server

Related Tools

    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/EvilPhatBoi/McpSqlServer'

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