Skip to main content
Glama

Get Database Server Status

hestia_get_db_status
Read-onlyIdempotent

Read live database engine status and active process output via v-list-sys-db-status. Use it to check active queries or panel-reported database health on HestiaCP targets.

Instructions

Read live database engine status and active process output via v-list-sys-db-status. Use when checking active database queries or panel-reported DB status; prefer hestia_mariadb_health or hestia_postgres_health (serverops) for structured SRE connection/crash telemetry over SSH, or hestia_list_database_hosts for configured DB hosts. Returns { ok, targetId, command, rawOutput }.

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": "hestia_get_db_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetIdNoConfigured target identifier (defaults to "default").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description still adds value by disclosing the underlying command invoked and the exact return envelope { ok, targetId, command, rawOutput }, which tells the agent the payload is raw command output rather than a normalized structure. It does not mention failure modes or whether the target must be running/installed.

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?

Three compact sentences, each earning its place: purpose plus command first, then alternative routing, then return shape. It is front-loaded with the primary action and contains no filler.

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

Completeness5/5

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

There is no output schema, but the description compensates by naming the return keys, so the agent knows what to expect from rawOutput. With annotations covering safety, one optional parameter documented in the schema, and sibling routing covered, nothing material is missing for a simple read tool.

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

Parameters3/5

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

There is a single optional parameter, and the schema documents it at 100% coverage, including its default of "default". The description adds nothing about targetId semantics or what a target represents, so it neither compensates for nor needs to compensate for a schema gap. Baseline 3 for full schema coverage.

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?

States a specific verb and resource ('Read live database engine status and active process output') and names the underlying command v-list-sys-db-status. It is clearly distinguishable from list tools like hestia_list_databases or hestia_list_database_hosts, which deal with configured hosts/databases rather than live engine state.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use ('checking active database queries or panel-reported DB status') plus two named alternatives with the condition that selects them: serverops health tools for structured SRE connection/crash telemetry over SSH, and hestia_list_database_hosts for configured hosts. The routing decision is fully spelled out.

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