Skip to main content
Glama

Install Native Unraid Plugin (.plg)

plugin_install_plg
Destructive

Install a native Unraid OS plugin from a trusted .plg URL through the Unraid API. Requires explicit confirmation and risk acknowledgment before queuing the root-level installation.

Instructions

⚠ Installs a native Unraid OS plugin from a .plg URL (the Community Applications format) via the Unraid API. A .plg installer runs arbitrary code as root — only install from trusted sources. Requires confirm: true AND acknowledge_risk: true. Returns a queued/running operation without waiting for the install to finish; verify with plugin_list and the syslog (log_read). For npm-based API plugins use plugin_add instead.

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": {
      "url": "<url>"
    },
    "name": "plugin_install_plg"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL of the plugin's `.plg` file; must end in `.plg`.
nameNoOptional human-readable plugin name, used by the Unraid API for logging.
forcedNoForce installation even when the plugin is already present; when omitted the Unraid API defaults to forcing.
confirmNoSet `true` only after the user approves this specific change; otherwise the tool refuses or prompts them.
acknowledge_riskNoSet `true` only after the user accepts that the `.plg` installer runs arbitrary code as root; needed on every call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.1.3
    • addedInput schema / properties / acknowledge_risk / description
      Added value: +"Set `true` only after the user accepts that the `.plg` installer runs arbitrary code as root; needed on every call."
    • 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 / forced / description
      Added value: +"Force installation even when the plugin is already present; when omitted the Unraid API defaults to forcing."
    • addedInput schema / properties / name / description
      Added value: +"Optional human-readable plugin name, used by the Unraid API for logging."
    • addedInput schema / properties / url / description
      Added value: +"URL of the plugin's `.plg` file; must end in `.plg`."
  2. First observedv0.1.1

TDQS

A4.7/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, and the description is consistent with them while adding real context: the .plg runs arbitrary code as root, both consent flags are required on every call, and the call returns a queued/running operation rather than blocking until completion. The only missing behavioral detail is what the operation object looks like or whether re-calling while running deduplicates, so it falls just short of a 5.

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?

Front-loaded with the risk warning, then the requirement, then the async semantics, then the alternative — a clean decision order in four dense sentences with no filler. Every clause carries information an agent needs to act correctly.

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?

For a destructive, root-level, non-blocking install with no output schema, the description covers the risk profile, required confirmations, non-blocking return semantics, verification steps, and the alternative tool. Nothing further is needed to invoke it safely.

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 coverage is 100%, so the schema already documents all five parameters including the .plg URL constraint and the forced default. The description still adds value by specifying that confirm and acknowledge_risk are jointly required, which is a cross-parameter constraint not captured in the per-field schema text.

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?

States a specific verb and resource ('Installs a native Unraid OS plugin from a .plg URL') and names the mechanism (Unraid API), then distinguishes itself from the sibling plugin_add by scoping that one to 'npm-based API plugins'. An agent can select between the two without opening either 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?

Explicit routing is given: use this for .plg/Community Applications installers, use plugin_add for npm-based API plugins. It also states the invocation preconditions (confirm AND acknowledge_risk both true) and the post-install verification path (plugin_list plus syslog via log_read).

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