Skip to main content
Glama
Tdarr MCP Server

Tdarr MCP Server

by OrellBuehler

update_schedule_block

Idempotent

Enable or disable a single block in a library's weekly schedule to control whether processing is allowed during that time.

Instructions

Enable or disable a single block in a library's weekly schedule (POST /api/v2/update-schedule-block).

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>",
      "block": "<block>",
      "status": "<status>"
    },
    "name": "update_schedule_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
blockYesSchedule block identifier, as stored on the library record
statusYestrue to allow processing in this block, false to block it
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 already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety and repeatability profile is covered structurally. The description adds the concrete transport (POST /api/v2/update-schedule-block) and confirms the mutation is limited to a single block, but says nothing about permissions, side effects on in-flight processing, or what is returned. That is modest added value over the annotations, not rich disclosure.

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?

A single front-loaded sentence states the action, the scope, and the endpoint with no filler or hedging. Nothing needs to be trimmed or reordered.

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 simple three-parameter mutation with full schema coverage, no output schema, and annotations that already cover safety and idempotency, the description is close to sufficient. The remaining gap is behavioral: it does not say what happens to work already running in a block that is disabled, which an agent might reasonably need before calling it.

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 three parameters (block, status, library_id) are already explained in the schema, including that status=true allows processing. The description contributes no additional parameter meaning such as identifier format or how to obtain a block identifier. Baseline 3 is appropriate when the schema carries this load.

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 gives a specific verb pair ('Enable or disable') plus a scoped resource ('a single block in a library's weekly schedule'), which tells an agent this acts on one block rather than a whole schedule. It stops short of naming or contrasting with the sibling toggle_schedule, so the differentiation is inferred rather than stated.

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 only implied: the agent can infer this is the tool for flipping one schedule block's status. There is no explicit when-to-use / when-not-to-use guidance, no mention of prerequisites (library must exist, block identifier must come from list_libraries), and no alternative named for whole-schedule changes.

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