Skip to main content
Glama

MSSQL MCP Server

by EvilPhatBoi

update_data

Modify specific records in an MSSQL database table by providing a WHERE clause and key-value updates. Ensures secure and targeted data manipulation.

Instructions

Updates data in an MSSQL Database table using a WHERE clause. The WHERE clause must be provided for security.

Input Schema

NameRequiredDescriptionDefault
tableNameYesName of the table to update
updatesYesKey-value pairs of columns to update. Example: { 'status': 'active', 'last_updated': '2025-01-01' }
whereClauseYesWHERE clause to identify which records to update. Example: "genre = 'comedy' AND created_date <= '2025-07-05'"

Input Schema (JSON Schema)

{ "properties": { "tableName": { "description": "Name of the table to update", "type": "string" }, "updates": { "description": "Key-value pairs of columns to update. Example: { 'status': 'active', 'last_updated': '2025-01-01' }", "type": "object" }, "whereClause": { "description": "WHERE clause to identify which records to update. Example: \"genre = 'comedy' AND created_date <= '2025-07-05'\"", "type": "string" } }, "required": [ "tableName", "updates", "whereClause" ], "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