Skip to main content
Glama
Tdarr MCP Server

Tdarr MCP Server

by OrellBuehler

manage_codec_exclusion

Add, remove, or toggle a video or audio codec in a Tdarr library’s basic transcoding include/exclude list, so you can control which codecs are processed without editing plugin settings.

Instructions

Add, remove or toggle a codec in a library's basic transcoding include/exclude list. Applies to the basic (non-plugin) video or audio transcode settings of the library.

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>",
      "stream": "<stream>",
      "codec": "<codec>",
      "action": "<action>"
    },
    "name": "manage_codec_exclusion"
  }
}

Input Schema

NameRequiredDescriptionDefault
codecYesCodec name, e.g. 'hevc', 'h264', 'aac'
actionYesadd puts the codec in the list, remove takes it out, update toggles it
statusNoEnabled state, required for action 'update'
streamYesWhich codec list to change
library_idYesLibrary ID (dbID), from list_libraries

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so safety framing is already supplied. The description's added value is the scope constraint that changes apply only to the basic (non-plugin) transcode settings, which is real context beyond the annotations, but it says nothing about permission requirements, whether removal affects in-flight transcodes, or how the toggle/update behaves on missing entries.

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?

Two sentences, both front-loaded with the operation and then the scope restriction. No filler, no restatement of the title, and the most important constraint (basic, non-plugin lists only) is not buried.

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 5-parameter mutation tool with full schema documentation and no output schema, the definition covers what is being modified and where. The remaining gap is behavioral — consequences of removal and permission/auth expectations — which keeps it short of a 5.

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% and the schema already explains codec examples, the action enum semantics, the stream enum, and that status is required for 'update'. The description only restates the add/remove/toggle triad, adding no meaning beyond the schema, so the baseline of 3 applies.

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 states a specific verb set (add, remove, toggle) against a specific resource (a codec entry in a library's basic transcoding include/exclude list). The second sentence narrows scope to basic non-plugin video/audio settings, which implicitly separates it from manage_library_plugin, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is implied by the verbs — an agent can infer this is the tool for curating a codec list — but there is no explicit when-to-use/when-not guidance, no mention of prerequisites such as whether the library must already have basic transcoding configured, and no routing to alternatives.

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