Skip to main content
Glama

Run Read-Only HestiaCP Command

hestia_run_read
Read-onlyIdempotent

Run read-only HestiaCP CLI commands with strict argument validation, fail-closed policy enforcement, and automatic secret redaction for safe inspection.

Instructions

Execute any read-classified command from the HestiaCP catalog with strict argument validation, fail-closed policy enforcement, and automatic secret redaction.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "command": "<command>"
    },
    "name": "hestia_run_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoPositional CLI arguments in catalog order.
commandYesExact HestiaCP read-classified CLI command name (v-list-* or other read command).
autoJsonNoAutomatically append "json" format argument when supported and omitted (default true).
targetIdNoConfigured target identifier (defaults to "default").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description goes beyond that by disclosing three real behaviors: strict argument validation, fail-closed policy enforcement (invalid input is rejected, not coerced), and automatic secret redaction. It stops short of saying what a rejection looks like or which fields get redacted.

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 front-loaded sentence with no filler; the core action comes first and the enforcement properties follow. It is dense but every clause carries information, and nothing is repeated from the schema.

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

Completeness3/5

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

For a generic command-dispatch tool that sits behind dozens of specialized siblings, the description should cover command discovery, rejection behavior, and what redaction means for reading results; none of these are addressed. With no output schema and full schema coverage the gap is tolerable, but the agent is left guessing about the call workflow.

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?

Schema description coverage is 100%, so every parameter (command, args, autoJson, targetId) is already documented, including 'Positional CLI arguments in catalog order' and the autoJson default. The description adds no syntax or format detail beyond a generic mention of 'strict argument validation', so the baseline 3 applies.

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

Purpose4/5

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

The description states a concrete verb and resource: execute a read-classified HestiaCP catalog command, with the enforced guardrails named. It is clear what the tool does, but it never distinguishes itself from the many specialized read siblings (hestia_get_user, hestia_fail2ban_status, etc.), so an agent cannot tell when this generic escape hatch is preferred over a purpose-built tool.

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 or when-not-to-use guidance. The phrase 'from the HestiaCP catalog' implies the command must be a known one, but nothing tells the agent to resolve it via hestia_describe_command first, nor when to fall back to this tool instead of a specialized sibling. Usage must be entirely inferred.

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