Skip to main content
Glama

Remove API Plugins

plugin_remove
Destructive

Uninstalls Unraid API plugins by npm package name and restarts the API to unload them, briefly dropping your connection. Use after confirming names from plugin_list; OS .plg plugins are not affected.

Instructions

⚠ Uninstalls one or more Unraid API plugins by npm package name (names, as shown by plugin_list) and RESTARTS the Unraid API to unload them — your connection will drop briefly. Only plugins currently in the API config are affected (unknown names are a no-op); it does not uninstall OS .plg plugins (the installedUnraidPlugins entries in plugin_list). names must be bare or scoped package names. Requires confirm: true and a key with CONFIG write permission (DELETE_ANY). Reports submission; verify with plugin_list after the API reconnects.

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": {
      "names": "<names>"
    },
    "name": "plugin_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
namesYesnpm package names of Unraid API plugins, bare or scoped (`@scope/name`); versions, URLs, git refs and paths are refused.
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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.3
    • 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 / names / description
      Added value: +"npm package names of Unraid API plugins, bare or scoped (`@scope/name`); versions, URLs, git refs and paths are refused."
    • addedInput schema / properties / response_format / description
      Added value: +"`detailed` returns full JSON instead of readable text."
  2. First observedv0.1.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructive=true, but the description adds context the annotations cannot: the API is restarted, the caller's connection drops briefly, submission is only reported (not confirmed), and a CONFIG write key (DELETE_ANY) is required. It also discloses the no-op behavior for unknown names, which materially changes what a caller should expect.

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?

The warning and the verb are front-loaded, and every clause carries information — no filler. It is a single dense paragraph, though, and the confirm/permission requirements could be split out for faster scanning.

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, non-idempotent mutation with no output schema, the description covers the safety profile, the side effect on the connection, the failure/no-op mode, and how to verify the result afterward. Nothing an agent needs in order to call it correctly is missing.

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 baseline is 3; the description nonetheless adds meaning by tying `names` to the `plugin_list` output, stating the bare/scoped package-name constraint, and warning that versions, URLs, git refs and paths are refused. It also restates the `confirm: true` requirement, which the schema only softens as a prompt.

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 — uninstalls Unraid API plugins by npm package name — and explicitly distinguishes the target from OS `.plg` plugins and from the `plugin_list` entries (`installedUnraidPlugins`). An agent can tell exactly what is removed without consulting siblings.

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 when-not conditions are given: it does not uninstall OS `.plg` plugins, and unknown names are a no-op. It also names `plugin_list` both as the source of valid names and as the post-action verification step, and states the confirm/permission prerequisites.

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