Skip to main content
Glama

Describe HestiaCP Command

hestia_describe_command
Read-onlyIdempotent

Retrieve the full catalog specification for a single HestiaCP CLI command, including positional arguments, types, JSON support, and risk classification.

Instructions

Return the full catalog specification for a single HestiaCP CLI command including positional arguments, types, JSON support, and risk classification.

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

Input Schema

NameRequiredDescriptionDefault
commandYesExact HestiaCP CLI command name, such as v-list-web-domains.

Output Schema

NameRequiredDescriptionDefault
okYes
usageNo
reasonNo
commandNo
targetIdNo
reasonCodeNo
isExecutableNo
detectedVersionNo
versionDriftWarningNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "properties": {
      +    "command": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "detectedVersion": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "isExecutable": {
      +      "type": "boolean"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "reason": {
      +      "type": "string"
      +    },
      +    "reasonCode": {
      +      "type": "string"
      +    },
      +    "targetId": {
      +      "type": "string"
      +    },
      +    "usage": {
      +      "type": "string"
      +    },
      +    "versionDriftWarning": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  2. First observedv1.2.3

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description. The description adds modest value by disclosing that the response carries a risk classification and JSON-support flag, but says nothing about what happens for an unknown command name or how large the catalog entry can be.

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?

A single front-loaded sentence with no filler, and the enumerations of what the payload contains are the useful part rather than padding.

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?

With an output schema present and the return contents summarized, the definition covers what an agent needs to call it correctly. The only gap is the handling of invalid or nonexistent command names, which is left unstated.

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 coverage is 100% and the single parameter is already documented with a concrete example ('v-list-web-domains'). The description only reinforces that exactly one command may be supplied at a time, so it adds little beyond the schema and the baseline of 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 names a specific verb and resource ('Return the full catalog specification for a single HestiaCP CLI command') and enumerates the payload fields (positional arguments, types, JSON support, risk classification). It is clearly a metadata look-up rather than a data-fetch tool, though it never contrasts itself with look-alike siblings such as hestia_get_capabilities or hestia_get_guide.

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

Usage Guidelines3/5

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

Usage is only implied: given an exact command name, fetch its specification. There is no explicit statement of when to prefer this over hestia_get_capabilities or hestia_get_guide, nor any note that it is a pre-flight step before invoking a CLI command.

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