Skip to main content
Glama

Manage Runtime Toolsets

hestia_manage_toolsets
Idempotent

List, enable, or disable pre-registered HestiaCP MCP toolsets at runtime to control available capabilities and avoid registering unapproved mutation tools.

Instructions

List, enable, or disable pre-registered HestiaCP MCP toolsets at runtime without registering unapproved mutation tools.

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": {
      "action": "<action>"
    },
    "name": "hestia_manage_toolsets"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesAction to inspect or toggle toolsets at runtime.
toolsetsNoTarget toolsets for enable/disable (required for enable/disable).

Output Schema

NameRequiredDescriptionDefault
okYes
notesNo
actionNo
reasonNo
targetIdNo
toolsetsNo
reasonCodeNo
dynamicModeNo
changedCountNo
changedToolsNo
detectedVersionNo
rejectedToolsetsNo
requestedToolsetsNo
totalEnabledToolsNo
surfaceCapabilitiesNo
versionDriftWarningNo
totalRegisteredToolsNo
mutationsEnabledCountNo
mutationsBlockedByPolicyNo

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": {
      +    "action": {
      +      "enum": [
      +        "list",
      +        "enable",
      +        "disable"
      +      ],
      +      "type": "string"
      +    },
      +    "changedCount": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "changedTools": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "detectedVersion": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "dynamicMode": {
      +      "type": "boolean"
      +    },
      +    "mutationsBlockedByPolicy": {
      +      "type": "boolean"
      +    },
      +    "mutationsEnabledCount": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "notes": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "reason": {
      +      "type": "string"
      +    },
      +    "reasonCode": {
      +      "type": "string"
      +    },
      +    "rejectedToolsets": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "requestedToolsets": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "surfaceCapabilities": {
      +      "additionalProperties": {
      +        "type": "boolean"
      +      },
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "targetId": {
      +      "type": "string"
      +    },
      +    "toolsets": {
      +      "items": {
      +        "additionalProperties": {},
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "totalEnabledTools": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "totalRegisteredTools": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "versionDriftWarning": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  2. Addedv1.2.5

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false. The description adds meaningful context beyond that: it toggles pre-registered toolsets at runtime and does not register unapproved mutation tools, which reassures an agent about scope. Return details are omitted but an output schema exists.

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?

One compact sentence with the three actions front-loaded before the safety qualifier. No wasted wording, though the final clause is slightly ambiguous.

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 rich annotations, full schema coverage, and an output schema, the definition supplies everything needed to invoke correctly. A small gap remains around eligibility prerequisites for enabling toolsets.

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 schema itself documents the action enum and the toolsets array (including 'required for enable/disable' semantics). The description adds no syntax or format detail beyond what the schema already provides, 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?

States specific verbs (list, enable, disable) and the resource (pre-registered HestiaCP MCP toolsets), clearly distinguishing this from sibling list/get tools. The trailing clause 'without registering unapproved mutation tools' is a bit cryptic but the core purpose is unmistakable.

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 action enum and schema description ('required for enable/disable') imply when each mode applies, and 'at runtime' signals live toggling. However, there is no explicit guidance on when to prefer this over any alternative or any prerequisites for enabling a toolset.

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