Skip to main content
Glama

PostgreSQL MCP Server

by cesarvarela

delete-data

Remove records from a PostgreSQL table with WHERE conditions for precision and a confirmation prompt for large deletions to ensure data safety.

Instructions

Delete records from a table. Requires WHERE conditions for safety. Includes confirmation prompt for large deletions.

Input Schema

NameRequiredDescriptionDefault
confirm_deleteNo
returningNo
tableYes
whereYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "confirm_delete": { "default": false, "type": "boolean" }, "returning": { "items": { "type": "string" }, "type": "array" }, "table": { "minLength": 1, "type": "string" }, "where": { "additionalProperties": {}, "type": "object" } }, "required": [ "table", "where" ], "type": "object" }
Install Server

Other Tools from PostgreSQL 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/cesarvarela/postgres-mcp'

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