Skip to main content
Glama

delete_playlist

Destructive

Remove a Plex playlist while keeping the underlying media files intact. Provide the playlist's rating key to permanently delete it.

Instructions

Delete a Plex playlist without deleting the underlying media (requires PLEX_ENABLE_MUTATIVE_OPS=true)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playlistIdYesPlaylist rating key
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the destructive nature is known. The description adds valuable behavioral context by specifying that the underlying media is not deleted and the environment variable requirement, which is beyond what annotations provide. It does not mention reversibility, but the deletion implication is clear.

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 that front-loads the main action and includes the critical safety and configuration notes. Every phrase earns its place, with no redundant or filler content. It is concise and well-structured for quick parsing by an agent.

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 one-parameter mutation tool with no output schema, the description covers the essential context: what it does, that it preserves media, and the required environment variable. It does not mention permanence or potential side effects, but given the simplicity and the destructive annotation, the provided information is largely sufficient. It could be more complete with an explicit 'permanent' note, but it is above the minimum viable level.

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 coverage is 100%: the single parameter playlistId is described as 'Playlist rating key'. The description itself adds no extra meaning for the parameter beyond the schema, which already clearly identifies it. With full schema coverage, a baseline score of 3 is appropriate, and the description does not need to compensate.

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: 'Delete a Plex playlist' with a specific resource and verb. It also adds the important distinction that it does not delete underlying media, which differentiates it from related tools like clear_playlist or remove_from_playlist. This is a specific and unambiguous purpose.

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 clear context for when to use this tool (deleting a playlist) and includes a critical prerequisite (requires PLEX_ENABLE_MUTATIVE_OPS=true). However, it does not explicitly name alternative tools or state when not to use it, such as when you only want to clear or remove items rather than delete the entire playlist. The exclusion is implied by the safety note but not spelled out.

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