Skip to main content
Glama
Tdarr MCP Server

Tdarr MCP Server

by OrellBuehler

run_automation

Manually trigger a Tdarr automation, optionally scoping it to specific libraries or nodes and using bypass flags only to deliberately override worker or staged-file limits.

Instructions

Manually trigger an automation (POST /api/v2/run-automation). Scope it to specific libraries or nodes, and use the bypass flags only when you deliberately want to jump the worker or staged-file limits.

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": {
      "config_id": "<config_id>"
    },
    "name": "run_automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadNoPayload passed to the automation, shaped by that automation's config
config_idYesAutomation config ID, from list_automations
library_idsNoRestrict the run to these libraries
target_node_idsNoRestrict the run to these node IDs
target_node_namesNoRestrict the run to these node names
execute_immediatelyNoRun now instead of queueing behind existing work
bypass_worker_limitsNoIgnore the nodes' configured worker limits
bypass_staged_file_limitNoIgnore the staged file limit

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / payload / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  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 already tell the agent this is a non-read-only, non-destructive mutation. The description adds real behavioral context by flagging that bypass flags deliberately skip worker and staged-file limits, which signals a potentially disruptive action. It stops short of saying what the call returns, whether the run is synchronous, or how it interacts with queued work.

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?

Two sentences, front-loaded with the verb, resource and endpoint, with the cautionary guidance second. No filler, though the endpoint path is arguably redundant with the tool identity.

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

Completeness3/5

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

For an eight-parameter mutation with a nested free-form payload and no output schema, the definition covers the trigger and the risky flags but omits what the agent gets back (run ID, queue position) and any prerequisite that the automation config must exist and be enabled. Adequate but with clear gaps given the complexity.

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 coverage is 100%, so all eight parameters are already documented, including the payload's automation-specific shape. The description adds only a caution about the bypass flags that the schema does not convey; library/node scoping merely restates the schema descriptions. Baseline 3 is appropriate.

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?

States a specific verb and resource — 'Manually trigger an automation' — and pins it to the concrete endpoint POST /api/v2/run-automation. The word 'manually' plus 'trigger' implicitly contrasts with scheduled runs and with the read-only siblings list_automations/get_automation, though it never names them.

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?

Gives actionable when-to-use context: scope the run to specific libraries or nodes, and reserve the bypass flags for the deliberate case of jumping worker or staged-file limits. There is no explicit exclusion or named alternative tool, but the conditional guidance on the risky flags is clear.

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