Skip to main content
Glama

MCP Postgres Server

by MadeByNando

explain_query

Analyze SQL query execution plans on the MCP Postgres Server by generating EXPLAIN outputs in text, JSON, XML, or YAML formats for optimized database performance insights.

Instructions

Get query execution plan (EXPLAIN)

Input Schema

NameRequiredDescriptionDefault
analyzeNo
buffersNo
costsNo
formatNo
sqlYes

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "analyze": { "type": "boolean" }, "buffers": { "type": "boolean" }, "costs": { "type": "boolean" }, "format": { "enum": [ "text", "json", "xml", "yaml" ], "type": "string" }, "sql": { "maxLength": 50000, "minLength": 1, "type": "string" } }, "required": [ "sql" ], "type": "object" }

Other Tools from MCP Postgres 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/MadeByNando/mcp-postgres-server'

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