Skip to main content
Glama

remove_from_playlist

Remove a specific item from a Plex playlist by providing the playlist ID and item ID. Ensure PLEX_ENABLE_MUTATIVE_OPS is set to true.

Instructions

Remove an item from a playlist (requires PLEX_ENABLE_MUTATIVE_OPS=true)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playlistIdYesPlaylist rating key
playlistItemIdYesPlaylist item ID to remove
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses a key behavioral trait (the config requirement for mutative operations), which is valuable. However, it does not describe the reversibility, potential errors, permissions beyond the flag, or return value, leaving some behavioral gaps.

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

Conciseness5/5

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

The description is a single sentence, front-loaded with the action and includes the critical prerequisite. Every word earns its place, with no redundancy or filler.

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 simple, two-parameter mutation tool with no output schema, the description covers the action and the main prerequisite. It could be improved by noting the effect (e.g., 'permanently removes') or error behavior, but it is sufficiently complete for an agent to invoke the tool correctly in most cases.

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 100%, with both parameters documented as 'Playlist rating key' and 'Playlist item ID to remove'. The description adds no additional parameter semantics, but the schema already provides sufficient meaning, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Remove an item from a playlist') and identifies the specific resource (playlist item). It distinguishes from sibling tools like clear_playlist (removes all items) and remove_from_watchlist (watchlist context) by explicitly naming 'playlist'.

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 description gives an explicit prerequisite: PLEX_ENABLE_MUTATIVE_OPS=true, which is crucial for a mutative operation. It does not explicitly mention alternatives, but the context is clear enough that an agent would understand when to use this tool versus remove_from_watchlist or clear_playlist.

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/niavasha/plex-mcp-server'

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