Skip to main content
Glama

plex_playlist

Destructive

Create, update, delete, list, and analyze Plex playlists. Add or remove items and retrieve playlist details.

Instructions

Comprehensive playlist management operations for Plex Media Server.

PORTMANTEAU PATTERN RATIONALE: Consolidates 8 playlist lifecycle operations into a single tool to provide a unified interface for curation and collaborative list management.

Return Format

{"success": bool, "operation": str, "data": dict|list, "playlist_id": str|None, "count": int|None}

Examples

await plex_playlist(operation="list") await plex_playlist(operation="get", playlist_id="123") await plex_playlist(operation="create", title="My Mix", items=["item1", "item2"]) await plex_playlist(operation="delete", playlist_id="123") await plex_playlist(operation="add_items", playlist_id="123", items=["item3"])

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoSort order for playlist items.
itemsNoList of media item IDs for the playlist.
titleNoTitle for the playlist.
publicNoWhether the playlist should be public.
operationYesThe playlist operation to perform.
descriptionNoDescription or summary for the playlist.
playlist_idNoID of the target playlist.
Behavior3/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false, so the mutating/destructive nature is known. The description adds a return format and examples, but does not elaborate on irreversible actions, permission requirements, or edge cases like deleting a playlist. While it doesn't contradict annotations, it provides minimal extra behavioral context beyond what the annotations already convey.

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 description is well-organized with clear sections for rationale, return format, and examples. The portmanteau rationale and examples are justified, though the description is a bit verbose. Each section serves a purpose, and the structure makes it easy to scan.

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?

With 8 operations and 7 parameters, the description provides a general return format and examples but omits per-operation parameter requirements. For instance, which parameters are required for 'update' or 'get_analytics' is not specified. The schema does not define required params per operation, leaving gaps that an agent must infer, so the description is not fully complete.

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 descriptions cover 100% of parameters, providing a solid baseline. The description's examples illustrate parameter combinations for common operations (e.g., create with title and items, add_items with playlist_id and items), adding practical usage semantics beyond the schema. It does not explain all parameter relationships, but the examples meaningfully enhance understanding.

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 clearly states 'Comprehensive playlist management operations for Plex Media Server' with a specific verb (management) and resource (playlist). It enumerates 8 operations via the schema enum, making the scope unambiguous. However, it does not explicitly differentiate from sibling tools like plex_collections, though the name itself implies playlist focus.

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?

The PORTMANTEAU PATTERN RATIONALE explicitly states it 'Consolidates 8 playlist lifecycle operations into a single tool to provide a unified interface,' giving clear guidance to use this tool for all playlist operations. It lacks explicit when-not-to-use or alternative tool references, but the unified interface rationale effectively implies usage context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sandraschi/plexmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server