Skip to main content
Glama

List System Services

hestia_list_services
Read-onlyIdempotent

List HestiaCP system services with running state, CPU, and memory usage to check service liveness via the panel. Returns a map keyed by service name for a configured target.

Instructions

List managed HestiaCP system services and their running state, CPU, and memory usage via v-list-sys-services. Use when checking service liveness via the HestiaCP panel; prefer hestia_host_systemd_inspect (host) for raw systemd unit states over SSH. Returns { ok, targetId, command, data (map keyed by service name) }.

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_list_services"
  }
}

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 declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuine context beyond that: the underlying command (v-list-sys-services) and the exact return envelope, which tells the agent this is a panel-level abstraction rather than raw systemd. It stops short of noting auth requirements or freshness/caching of the readings, which would be the remaining gap.

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: purpose first, then routing guidance, then return shape. No filler or restatement of the title, and every clause carries information an agent needs to select and call the tool.

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, and the description compensates by spelling out the return envelope including the data map keyed by service name. Combined with the annotation-covered safety profile and the schema's parameter documentation, nothing needed to invoke this tool correctly is missing.

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?

The single targetId parameter is fully documented in the schema (100% coverage), including its default, so the schema does the heavy lifting. The description never mentions targetId or how it scopes the service list, so it adds no meaning beyond the schema. Baseline 3 is appropriate.

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 ("List managed HestiaCP system services") plus the exact attributes returned (running state, CPU, memory), and names the sibling tool it should not be confused with. An agent can distinguish this from hestia_get_system_overview or the host-level systemd tool without opening any schema.

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 use case ("checking service liveness via the HestiaCP panel") and an explicit routing rule to an alternative ("prefer hestia_host_systemd_inspect (host) for raw systemd unit states over SSH"). The when-to-use and when-to-prefer-something-else conditions are both stated rather than inferred.

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