Skip to main content
Glama

Search HestiaCP Commands

hestia_search_commands
Read-onlyIdempotent

Search the HestiaCP command catalog by keyword, domain, or risk class to find available operations and their argument shapes.

Instructions

Search the 526-command HestiaCP 1.10.10 catalog by keyword, domain, or risk class to discover available operations and argument shapes.

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

Input Schema

NameRequiredDescriptionDefault
riskNoFilter by risk class (read, write, destructive, system, blocked).
limitNoMaximum number of matching commands to return (default 25, max 100).
queryNoKeyword matched against command name, summary, domain, or argument names.
domainNoFilter by HestiaCP command domain.
includeBlockedNoInclude blocked internal commands in search results (default true).

Output Schema

NameRequiredDescriptionDefault
okYes
limitNo
reasonNo
commandsNo
returnedNo
targetIdNo
reasonCodeNo
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": {
      +    "commands": {
      +      "items": {
      +        "additionalProperties": {},
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "detectedVersion": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "limit": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 9007199254740991,
      +      "type": "integer"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "reason": {
      +      "type": "string"
      +    },
      +    "reasonCode": {
      +      "type": "string"
      +    },
      +    "returned": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "targetId": {
      +      "type": "string"
      +    },
      +    "versionDriftWarning": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  2. First observedv1.2.3

TDQS

A3.7/5.0
Behavior3/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 the catalog size and HestiaCP version, which contextualizes result scope, but says nothing about blocked-command handling, result ordering, or how blocked entries surface - details an agent would want before relying on results.

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 the resource and catalog size before the filter axes and purpose. No redundant or filler wording.

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?

An output schema exists, so return values need not be described, and all five optional parameters are documented in the schema. The definition covers discovery intent adequately, with the only real gap being how this entry point relates to hestia_describe_command for follow-up inspection.

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?

Schema description coverage is 100%, so the baseline is 3; the description goes slightly beyond by naming the three semantic filter axes (keyword, domain, risk class) that select among them. It does not explain limit or includeBlocked, though the schema covers both.

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?

States a specific verb and resource ('Search the 526-command HestiaCP 1.10.10 catalog') plus the three filter axes, which clearly separates it from the list_* and get_* siblings. It doesn't explicitly name a sibling it replaces, but the search-versus-fetch distinction is obvious from the wording.

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?

The phrase 'to discover available operations and argument shapes' implies this is a discovery step taken before calling other tools, which is useful implied guidance. There is no explicit when-to-use or when-not-to-use rule, and no pointer to hestia_describe_command for drilling into a single matched command.

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