Skip to main content
Glama

Start or Stop the Unraid Array

array_action
Destructive

Start or stop the Unraid array, taking all shares, Docker containers, and VMs offline. Use to manage server state with required confirmation for destructive actions.

Instructions

Starts or stops the array. ⚠ stop: Unraid takes every share, Docker container, and VM offline (the API does not check for active services first). Requires confirm: true; stop additionally requires acknowledge_risk: true. The mutation cannot report the resulting state — run array_status afterward to confirm (state reads may lag a few seconds). Requires an Unraid API key with ADMIN role. Encrypted arrays cannot be started by this tool (no decryption inputs) — use the web UI.

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": "array_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes`start` brings the array online; `stop` takes every share, Docker container, and VM offline until it is started again.
confirmNoSet `true` only after the user approves this specific change; otherwise the tool refuses or prompts them.
response_formatNo`detailed` returns full JSON instead of readable text.concise
acknowledge_riskNoSet `true` only after the user accepts the outage; needed with `confirm` for `stop` (`start` needs only `confirm`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.3
    • addedInput schema / properties / acknowledge_risk / description
      Added value: +"Set `true` only after the user accepts the outage; needed with `confirm` for `stop` (`start` needs only `confirm`)."
    • addedInput schema / properties / action / description
      Added value: +"`start` brings the array online; `stop` takes every share, Docker container, and VM offline until it is started again."
    • addedInput schema / properties / confirm / description
      Added value: +"Set `true` only after the user approves this specific change; otherwise the tool refuses or prompts them."
    • addedInput schema / properties / response_format / description
      Added value: +"`detailed` returns full JSON instead of readable text."
  2. First observedv0.1.1

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description goes well beyond them: the exact blast radius (every share, Docker container, and VM offline), the two-step confirmation gate, the ADMIN API key requirement, the fact that the resulting state cannot be reported, and possible few-second lag when reading state. These are precisely the operational facts an agent needs before invoking a destructive mutation.

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?

Front-loaded with the action, then risk warning, then requirements, then follow-up verification, then limitation — a sensible escalation. Some sentences are dense and pack multiple clauses (the stop warning), but none are filler; a slight trim of the parenthetical about the API not checking services would tighten it further.

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

Completeness5/5

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

There is no output schema, and the description compensates by explaining that the mutation cannot report resulting state and how to verify it (array_status, with lag). For a destructive, gated mutation with auth requirements and a hard limitation, nothing material is missing.

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

Parameters5/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds the cross-parameter dependency that matters: stop requires both confirm and acknowledge_risk while start needs only confirm, plus the intent behind confirm (only after the user approves this specific change). The encrypted-array limitation also explains why no decryption inputs exist in the schema.

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

Purpose5/5

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

The opening sentence names a concrete verb pair and resource ('Starts or stops the array'), and the body immediately distinguishes this from the read-only sibling by directing the caller to array_status for confirmation. An agent can tell exactly what this tool does and what it does not do (encrypted arrays) without opening the schema.

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

Usage Guidelines5/5

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

It states explicit when-to-use sequencing ('run array_status afterward to confirm'), names an exclusion with the alternative route ('Encrypted arrays cannot be started by this tool ... use the web UI'), and flags that the API does not check for active services first. This is a genuine when/when-not/alternative set rather than implied usage.

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