Skip to main content
Glama

sylve_jail_action

Destructive

Start, stop, or restart one or more FreeBSD Jails by CTID or name, optionally targeting a cluster node or waiting for completion.

Instructions

Start, stop, or restart one or more Jails by CTID or name.

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>",
      "jails": "<jails>"
    },
    "name": "sylve_jail_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeNoTarget cluster node hostname or UUID. Omit for cluster-wide.
waitNo
jailsYes
actionYes
contextNoNamed login context from ~/.config/sylve/config.yaml.
wait_timeoutNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered; the description adds only the batch aspect ('one or more'). It never explains that stop/restart terminate running workloads, what 'wait' and 'wait_timeout' do (synchronous blocking up to 60s), or what happens to a jail that fails mid-action.

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, and the action set plus identifier form appear first. It is efficient, though that efficiency comes partly from omitting needed detail.

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 destructive, non-idempotent mutation tool with six parameters, a third of them undocumented and no output schema, the description is thin. The safety and dry-run/async expectations an agent needs before firing a stop across a cluster are absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%: 'node' and 'context' are documented in the schema, but 'wait', 'wait_timeout', 'jails' and 'action' are not. The description clarifies only that jails are identified by CTID or name; it says nothing about the wait/timeout semantics or the action enum values, leaving half the parameters unexplained.

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 gives a specific verb set (start/stop/restart) and resource (Jails), plus batch scope ('one or more') and identifier form ('by CTID or name'). This clearly separates it from sylve_jail_create, sylve_jail_delete and sylve_vm_action, though it does not name those siblings explicitly.

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 guidance on when to use this versus sylve_jail_create/delete, no prerequisites, and no note on the 'node' parameter choosing cluster-wide versus single-node execution. The agent must infer all routing and preconditions from the schema alone.

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