Skip to main content
Glama
PlbKin190

postgres-mcp-lab

by PlbKin190

health

Read-onlyIdempotent

Check PostgreSQL connectivity, verify read-only mode, and confirm installed pgvector and Apache AGE versions to validate database readiness.

Instructions

Check PostgreSQL connectivity, read-only settings and installed vector/age versions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful context about what the health check covers (connectivity, read-only settings, vector/age versions), which goes beyond the annotations. However, it doesn't disclose details like whether it returns a summary object or detailed diagnostics, but that's minor for a health check.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence that front-loads the main purpose and lists the specific checks. Every word earns its place, and there is no redundancy or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter, read-only health check tool, the description is complete. It tells the agent what the tool checks (connectivity, read-only settings, versions), and the annotations cover the safety profile. The only minor gap is that it doesn't describe the return format, but with no output schema and a simple health check, this is acceptable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the schema provides no parameter documentation. The description compensates by explaining what the tool checks, which is sufficient for an agent to understand what the tool does without needing parameter details. Baseline 4 is appropriate for a zero-parameter tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: checking PostgreSQL connectivity, read-only settings, and installed vector/age versions. It uses specific verbs and resources, and it is distinct from sibling tools like query, schema, explain, semantic, and cypher, which all perform different operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use this tool: when you need to verify database health, connectivity, read-only status, or installed extensions. It doesn't explicitly state when not to use it or name alternatives, but the context is clear enough for an agent to select it appropriately.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools