Skip to main content
Glama

PostgreSQL-Performance-Tuner-Mcp

check_database_health

Analyze PostgreSQL database health by checking connections, cache performance, lock contention, replication status, and disk usage. Get health scores and improvement recommendations.

Instructions

Perform a comprehensive database health check.

Analyzes multiple aspects of PostgreSQL health:

  • Connection statistics and pool usage

  • Cache hit ratios (buffer and index)

  • Lock contention and blocking queries

  • Replication status (if configured)

  • Transaction wraparound risk

  • Disk space usage

  • Background writer statistics

  • Checkpoint frequency

Returns a health score with detailed breakdown and recommendations.

Input Schema

NameRequiredDescriptionDefault
include_recommendationsNoInclude actionable recommendations
verboseNoInclude detailed statistics

Input Schema (JSON Schema)

{ "properties": { "include_recommendations": { "default": true, "description": "Include actionable recommendations", "type": "boolean" }, "verbose": { "default": false, "description": "Include detailed statistics", "type": "boolean" } }, "required": [], "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/isdaniel/pgtuner-mcp'

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