Skip to main content
Glama

MSSQL MCP Server

by EvilPhatBoi

create_table

Generate a new table in MSSQL databases by defining table name and column specifications. Supports precise SQL data types and constraints for structured data storage.

Instructions

Creates a new table in the MSSQL Database with the specified columns.

Input Schema

NameRequiredDescriptionDefault
columnsYesArray of column definitions (e.g., [{ name: 'id', type: 'INT PRIMARY KEY' }, ...])
tableNameYesName of the table to create

Input Schema (JSON Schema)

{ "properties": { "columns": { "description": "Array of column definitions (e.g., [{ name: 'id', type: 'INT PRIMARY KEY' }, ...])", "items": { "properties": { "name": { "description": "Column name", "type": "string" }, "type": { "description": "SQL type and constraints (e.g., 'INT PRIMARY KEY', 'NVARCHAR(255) NOT NULL')", "type": "string" } }, "required": [ "name", "type" ], "type": "object" }, "type": "array" }, "tableName": { "description": "Name of the table to create", "type": "string" } }, "required": [ "tableName", "columns" ], "type": "object" }

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