Skip to main content
Glama
Tdarr MCP Server

Tdarr MCP Server

by OrellBuehler

manage_library_plugin

Add, remove, or enable/disable classic plugins in a Tdarr library's plugin stack by specifying library, plugin, action, source, and stack position; flow-based libraries are unaffected.

Instructions

Add, remove or enable/disable a classic plugin in a library's plugin stack. Adding requires the plugin source and the position in the stack; get the plugin IDs from search_plugins. Libraries that use a flow instead of a classic stack are not affected.

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": {
      "library_id": "<library_id>",
      "plugin_id": "<plugin_id>",
      "action": "<action>"
    },
    "name": "manage_library_plugin"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexNoPosition in the plugin stack, required for action 'add'
actionYesadd appends to the stack, remove deletes it, update toggles its enabled state
sourceNoPlugin source ('Community' or 'Local'), required for action 'add'
statusNoEnabled state, required for action 'update'
plugin_idYesPlugin ID, from search_plugins
library_idYesLibrary ID (dbID), from list_libraries

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / index / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / index / minimum
      Added value: +-9007199254740991
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

The annotations already establish that this is a non-read-only, non-destructive operation. The description adds useful scope behavior: adds require source and position, and flow-based libraries are unaffected. However, it does not discuss permission requirements, reversibility of removal, or error behavior when index/status are invalid, leaving meaningful behavioral gaps.

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?

Three tight sentences with no wasted wording. Purpose and key constraints are front-loaded, followed by the important scope caveat about flow-based libraries.

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?

For a moderately complex mutation tool with six parameters, 100% schema coverage, annotations, and no output schema, the description covers purpose, key prerequisites, ID lookup, and an important scope exclusion. Minor gaps around permissions and failure modes remain, but nothing essential for correct invocation is missing.

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 description coverage is 100%, so all six parameters are already documented in the input schema. The description reinforces that source and index are required for add and implies action semantics, but it adds little parameter meaning beyond what the schema already provides. Baseline 3 is appropriate.

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 description names specific verbs (add, remove, enable/disable) and the exact resource (a classic plugin in a library's plugin stack), and it explicitly distinguishes classic stacks from flow-based libraries. An agent can identify the operation 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 Guidelines4/5

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

It states key preconditions for adding (plugin source and stack position) and directs the agent to search_plugins for plugin IDs. It also clarifies that libraries using a flow are unaffected. It does not compare against other management tools, but the context is clear enough to select it confidently.

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