Skip to main content
Glama

Youtarr Media Servers

youtarr_media_servers

Check, test, and manage Plex, Jellyfin, and Emby connections in Youtarr, including users, libraries, watch-status sync, and Plex authentication.

Instructions

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

  • youtarr_get_media_server_status(): Read which Plex, Jellyfin, and Emby integrations are enabled and configured.

  • youtarr_test_jellyfin(config): Test a Jellyfin connection using jellyfinUrl and jellyfinApiKey, with optional jellyfinUserId.

  • youtarr_list_jellyfin_users(config): List Jellyfin users using jellyfinUrl and jellyfinApiKey.

  • youtarr_test_emby(config): Test an Emby connection using embyUrl and embyApiKey, with optional embyUserId.

  • youtarr_list_emby_users(config): List Emby users using embyUrl and embyApiKey.

  • youtarr_get_watch_status_sync(): Read media-server watch-status sync state and the latest run summary.

  • youtarr_sync_watch_status(): WRITE: Start a media-server watch-status sync in the background.

  • youtarr_list_plex_libraries(test_ip=None, test_api_key=None, test_port=None, test_use_https=None): Read Plex libraries; WRITE: successful test credentials are saved automatically by upstream.

  • youtarr_get_plex_server_identity(test_ip=None, test_api_key=None, test_port=None, test_use_https=None): Read Plex server identity using saved or optional test connection parameters.

  • youtarr_refresh_plex_library(): WRITE: Trigger a refresh of the configured Plex library.

  • youtarr_get_plex_auth_url(): Create a Plex OAuth PIN and return its authorization URL.

  • youtarr_check_plex_pin(pin_id): Check whether a Plex OAuth PIN has been authorized.

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

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, the description carries the full burden, and it does flag several write operations explicitly ('WRITE: Start a media-server watch-status sync in the background', 'WRITE: Trigger a refresh of the configured Plex library') plus a non-obvious side effect ('successful test credentials are saved automatically by upstream' in youtarr_list_plex_libraries). However, it says nothing about required authentication, whether the OAuth PIN expires, what a refresh or sync does to existing data, or how errors surface — meaningful gaps for a tool with this many mutating sub-operations.

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 dispatch instruction is front-loaded in a single sentence, followed by a scannable per-operation bullet list where each line earns its place by pairing an operation name with its inputs and read/write nature. It is long, but the length is driven by twelve distinct operations rather than redundancy.

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?

An output schema exists, so return values need not be described, and the description covers the operation vocabulary and per-operation inputs that the flat schema omits. Remaining gaps are modest: whether 'arguments' is mandatory for parameterized operations, how failures are reported, and the sequencing of the Plex OAuth pair.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the top-level schema only exposes an opaque 'arguments' object, so the description has to compensate — and it does, naming the concrete fields for each operation (jellyfinUrl, jellyfinApiKey, jellyfinUserId, embyUrl, embyApiKey, embyUserId, pin_id, and the optional test_ip/test_api_key/test_port/test_use_https set). It does not give types, defaults, or formats (e.g., what test_port expects, whether use_https is a boolean), so the compensation is strong but not complete.

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 domain (Plex/Jellyfin/Emby media-server integrations) and enumerates the twelve concrete operations behind the dispatcher, so an agent knows exactly what the tool fronts. It implicitly separates this from siblings like youtarr_auth or youtarr_jobs by staying squarely on media-server connectivity, status, and library operations, though it never explicitly states the boundary.

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 dispatch rule is stated up front ('Pass operation and an arguments dict matching that operation's parameters'), which is the key usage mechanic. Per-operation notes are largely signature listings rather than when-to-use guidance; there is no advice on prerequisites, ordering (e.g., get_plex_auth_url → check_plex_pin), or when a sibling tool would be the better choice.

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