Skip to main content
Glama

delete_playlists_by_playlist_id

DestructiveIdempotent

Deletes a specified Plex playlist using its unique ID, removing it from your media library and cleaning up unwanted lists.

Instructions

Delete a Playlist.

DELETE /playlists/{playlistId}

Args: playlist_id: The ID of the playlist

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playlist_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already mark the operation as destructive and not read-only; the description adds only the minimal fact that a playlist is the destroyed resource and exposes the DELETE verb. It does not disclose permanence, cascading deletion of playlist items, authentication needs, or any behavior beyond the idempotentHint and destructiveHint annotations.

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 compact and front-loaded: the one-line purpose appears first, followed by the endpoint and a single argument. There is no filler or repeated marketing language.

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 one-parameter destructive call with annotations and an output schema present, the description supplies the endpoint and the only required argument, so invocation is unambiguous. It lacks notes on irreversibility or auth, but the annotations already flag the destructive nature and no critical invocation detail is missing.

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?

The schema already gives the property name 'playlist_id', type integer, and title 'Playlist Id', and the description's Args block simply restates that playlist_id is 'The ID of the playlist'. This provides a natural-language parameter description but adds no extra semantics such as where to find the ID, ID constraints, or examples; with a single parameter, the redundancy is acceptable.

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 opens with the clear imperative 'Delete a Playlist' and ties it to the exact endpoint DELETE /playlists/{playlistId}. This distinguishes it from sibling tools that operate on playlist items or update playlists, because it names the playlist itself as the target.

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 guidance on when to prefer this tool over alternatives, no prerequisites such as ownership or authorization, and no exclusions. The only implied context is that it deletes a playlist by ID, which is not enough to route among the many playlist-related siblings.

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