Skip to main content
Glama

MCP Postgres Server

by MadeByNando

get_constraints

Retrieve table constraints from a PostgreSQL database using schema and table inputs to ensure data integrity and structure alignment.

Instructions

Get constraints for a table

Input Schema

NameRequiredDescriptionDefault
schemaYes
tableYes

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "schema": { "maxLength": 63, "minLength": 1, "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$", "type": "string" }, "table": { "maxLength": 63, "minLength": 1, "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$", "type": "string" } }, "required": [ "schema", "table" ], "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/MadeByNando/mcp-postgres-server'

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