Skip to main content
Glama

Add item to playlist

jellyfin_add_item_to_playlist

Adds media items to an existing Jellyfin playlist by playlist ID, with optional item IDs and user context.

Instructions

Adds items to a playlist.

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": {
      "playlist_id": "<playlist_id>"
    },
    "name": "jellyfin_add_item_to_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNo
user_idNo
playlist_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=true, and the description adds no behavior beyond them. It does not say whether duplicate additions are appended, whether ordering is preserved, or whether the target playlist must already exist. It is at least consistent with the annotations, so no contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with no waste and the core verb front-loaded, but it is under-specified rather than genuinely concise. There is room for a clause on identifier format and duplicate handling at negligible length cost.

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

Completeness2/5

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

For a mutation tool with 0% schema coverage, no output schema, and only hint-level annotations, the definition leaves too much unknown to call it safely and correctly. Identifier format and the role of user_id are the minimum an agent would need here.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters, so the description carries the full burden and largely fails it. The plural 'items' hints that 'ids' accepts multiple values, but nothing explains the untyped array items, what 'user_id' scopes, or that 'playlist_id' is the required anchor.

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 states a clear verb plus resource ('Adds items to a playlist'), so an agent immediately knows the operation type. It stops short of distinguishing this from siblings like jellyfin_add_to_collection or jellyfin_sync_play_set_playlist_item, which also add media to ordered containers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: nothing says when to prefer this over jellyfin_add_to_collection, jellyfin_create_playlist, or the sync-play variants. The agent must infer the routing decision from tool names alone.

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

Deploy Server

Other Tools