Skip to main content
Glama

Youtarr Maintenance

youtarr_maintenance

Manage Youtarr scheduled tasks, run filesystem rescans, check or update yt-dlp, and retrieve redacted logs through one operation-based entry point.

Instructions

maintenance operations on Youtarr. Pass operation and an arguments dict matching that operation's parameters.

  • youtarr_list_schedules(): Read live state, next run, blockers, and history for every scheduled task.

  • youtarr_run_schedule(key): WRITE: Start one scheduled task now using its saved settings.

  • youtarr_start_rescan(ignore_library_check=None): WRITE: Start a filesystem rescan, optionally bypassing empty and not-found library checks.

  • youtarr_get_rescan_status(): Read rescan running state, progress, and the latest run summary.

  • youtarr_get_ytdlp_version(): Read installed and latest yt-dlp versions plus update history.

  • youtarr_update_ytdlp(): WRITE: Update yt-dlp to the latest release on the configured stable or nightly channel.

  • youtarr_download_logs(): Read all rolling log files as one plain-text response with upstream secret redaction.

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": {
      "operation": "<operation>"
    },
    "name": "youtarr_maintenance"
  }
}

Input Schema

NameRequiredDescriptionDefault
argumentsNo
operationYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the full burden; it does disclose that three operations mutate, that start_rescan can bypass library checks via ignore_library_check, and that download_logs redacts upstream secrets. It is silent on reversibility of rescan/update, whether updatering yt-dlp disrupts running jobs, and on permissions.

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 one-line preamble is front-loaded and the bulleted operation table is dense and scannable, with no filler sentences. Slight cost comes from repetitive 'Read'/'WRITE' prefixes that could be compressed, but every bullet carries distinct information.

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 multiplexed dispatcher with an output schema present, the description covers the full operation surface, flags mutations, and hints at return content for the read operations. Remaining gaps (argument envelope shape, error behavior on unknown operation) are small given the output schema carries response detail.

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 0% and only the operation enum is self-describing, but the description compensates by giving per-operation signatures (youtarr_run_schedule(key), youtarr_start_rescan(ignore_library_check=None)) and stating that arguments must be an operation-matching dict. It stops short of enumerating actual dict keys, so the agent must still guess the arguments envelope for run_schedule's key.

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 names the resource (Youtarr maintenance) and enumerates all seven sub-operations with a signature and short verb phrase for each, so an agent knows exactly which capability sits behind this dispatcher. It falls short of 5 because it never distinguishes itself from domain siblings such as youtarr_system or youtarr_jobs, leaving overlap (e.g. status/config reads) to inference.

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?

The WRITE tags on run_schedule, start_rescan, and update_ytdlp give a usable read-vs-mutate split, and each bullet implies its own use case. However, there is no explicit 'use this when' or 'prefer sibling X instead' guidance, and no prerequisites (auth, configured channels) are stated.

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