Skip to main content
Glama

Youtarr Videos

youtarr_videos

Manage Youtarr video records and downloads: list, search, inspect, queue, rate, protect, mark, delete, or purge videos via a single operation-based interface.

Instructions

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

  • youtarr_list_videos(page=None, limit=None, search=None, date_from=None, date_to=None, sort_by=None, sort_order=None, channel_filter=None, protected_filter=None, missing_filter=None, deleted_filter=None, watched_filter=None, max_rating=None): List downloaded videos with pagination, search, date, state, and rating filters.

  • youtarr_get_video(youtube_id): Read one video row by YouTube ID, including deleted or missing records until purged.

  • youtarr_get_video_metadata(youtube_id): Read extended metadata from the cached info JSON or fetch it with yt-dlp.

  • youtarr_get_video_watch_status(youtube_id): Read synced per-media-server and per-user watch status for a video.

  • youtarr_check_video_members_access(youtube_id): WRITE: Ask YouTube whether configured cookies can open a members-only video and cache the answer.

  • youtarr_get_local_video_status(youtube_ids): Read local download state and file metadata for up to 500 YouTube video IDs without YouTube requests.

  • youtarr_search_videos(query, count=None): Search YouTube for videos with local download and channel-subscription state.

  • youtarr_validate_video_url(url): Validate one YouTube video URL and fetch its metadata without queuing a download.

  • youtarr_enrich_videos(ids): Fetch lightweight title and channel metadata for YouTube video IDs through oEmbed.

  • youtarr_download_video(url, resolution=None, subfolder=None): WRITE: Queue one YouTube video; accepts only individual video URLs, not playlists or channels.

  • youtarr_download_videos(urls, override_settings=None, video_channel_map=None): WRITE: Queue a batch of individual YouTube video URLs with optional per-run overrides.

  • youtarr_download_new_channel_videos(override_settings=None): WRITE: Start the manual download-new run for enabled channels and playlists.

  • youtarr_update_video_ratings(video_ids, rating): WRITE: Set or clear content ratings for several database video IDs.

  • youtarr_set_video_protected(video_id, protected): WRITE: Set whether a database video is protected from automatic removal.

  • youtarr_delete_videos(video_ids=None, youtube_ids=None): DESTRUCTIVE: Delete downloaded files and records selected by database IDs or YouTube IDs.

  • youtarr_preview_auto_removal(settings=None): Preview automatic cleanup with optional autoRemoval* overrides without deleting files.

  • youtarr_get_removed_video_summary(): Read deleted, missing, present, and library-check counts for the video trash.

  • youtarr_mark_videos_deleted(video_ids=None, mark_all=None, ignore_library_check=None): WRITE: Mark selected missing videos, or all missing videos, as deleted.

  • youtarr_purge_removed_videos(states, remove_from_archive): DESTRUCTIVE: Permanently forget deleted and/or missing video records and cached metadata.

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_videos"
  }
}

Input Schema

NameRequiredDescriptionDefault
argumentsNo
operationYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations at all, the description carries the full disclosure burden, and it does a solid job by tagging each mutating operation WRITE: or DESTRUCTIVE: and stating consequences ('Delete downloaded files and records', 'Permanently forget deleted and/or missing video records and cached metadata', 'cache the answer'). Constraints are also surface-level disclosed ('up to 500 YouTube video IDs', 'accepts only individual video URLs, not playlists or channels'). What is missing is auth/permission requirements, reversibility, and side effects of the writes that are not labeled destructive.

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?

Front-loaded with a one-sentence call convention, then a flat per-operation list where nearly every line earns its place by distinguishing a similarly named operation. Formatting is consistent (signature, then verb, then qualifier), making it scannable for a 19-operation dispatcher. The operation list duplicates the enum, but the signatures add information the enum does not.

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?

An output schema exists, so return shapes need not be described, and the per-operation mutation labels cover the risk profile that annotations would otherwise supply. Gaps remain for a tool of this complexity: nested 'arguments' value domains are undefined, and prerequisites such as configured cookies or enabled channels are only hinted at rather than stated. An agent can call it, but may guess at argument values.

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 0% and the schema only exposes a free-form 'arguments' object, so the description must supply all parameter meaning; it lists every operation's parameter names, defaults, and partial intent (e.g. 'override_settings', 'video_channel_map'), which is real added value. However, many values remain unexplained: acceptable 'states' for purge_removed_videos, the meaning of 'remove_from_archive', the rating scale for update_video_ratings, and valid formats for the filter parameters on list_videos. It compensates partially rather than fully for the zero-coverage schema.

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 the tool's role as a video-operation dispatcher for Youtarr and makes the call convention explicit ('Pass operation and an arguments dict matching that operation's parameters'). The 19 enumerated operations give a precise inventory of what verbs and resources are covered, and the 'videos' framing separates it from siblings like youtarr_playlists and youtarr_config. It stops short of explicitly contrasting itself with any sibling, so it is clear but not fully differentiated.

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?

Per-operation notes encode selection logic between closely related operations: 'without YouTube requests' on get_local_video_status, 'without queuing a download' on validate_video_url, 'without deleting files' on preview_auto_removal, and 'until purged' on get_video. These effectively tell an agent which of two similar reads or writes to pick. There is no explicit when-not-to-use guidance or top-level statement about which operation to choose when intent is ambiguous.

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