Skip to main content
Glama

pg_health

Check the real runtime version and active process via a bounded local round trip, confirming environment health without relying on external or unbounded checks.

Instructions

Check the actual runtime version and process with a bounded local round trip.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pg_health"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.7.1

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. "Bounded local round trip" is the only behavioral signal and it hints at cheap, local, side-effect-free execution, but it is jargon that never confirms read-only semantics, says what the result reports, or explains failure behavior.

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

Conciseness4/5

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

A single sentence with no filler and the action front-loaded. Its only weakness is that the compressed phrasing ("actual runtime version and process", "bounded local round trip") trades clarity for brevity.

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

Completeness2/5

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

No annotations, no output schema, and no parameters leave the description as the sole source of information. For a health-check tool, an agent needs to know what is being checked and roughly what comes back; neither is provided, so it is inadequate for even a simple diagnostic.

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 takes zero parameters and the schema coverage is complete, so there is nothing for the description to clarify. Baseline 4 applies; no parameter gaps exist.

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

Purpose3/5

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

"Check" plus "runtime version and process" gives a verb and a rough object, so it is more than a tautology of the name pg_health. But "the actual runtime version" never says which runtime, and nothing distinguishes it from siblings like pg_connection_probe, pg_diagnose, or pg_supervisor_ping, which an agent could easily confuse it with.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no trigger condition, no prerequisites, and no named alternative for diagnosing connectivity or supervisor state. "Bounded local round trip" faintly implies cheapness, but it does not help an agent choose this tool over pg_connection_probe or pg_diagnose.

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