Skip to main content
Glama

delete_play_queues_by_play_queue_id_items

DestructiveIdempotent

Remove all items from a specific Plex play queue to clear it. Provide the play queue ID to delete its contents immediately.

Instructions

Clear a play queue.

DELETE /playQueues/{playQueueId}/items

Args: play_queue_id: The ID of the play queue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
play_queue_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint, idempotentHint, and readOnlyHint=false, so the safety profile is known. The description adds that the operation targets /items and 'clears' the queue, but it does not clarify whether the queue object itself is destroyed or just its contents, nor does it mention irreversibility beyond the annotation.

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 short and front-loaded with the core action, followed by the HTTP endpoint and argument. It contains no fluff, though the Args section is largely redundant with the schema.

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?

For a simple one-parameter destructive operation with an output schema and safety annotations, the description is minimally adequate. However, it does not explain the scope of 'clear' (all items vs. the queue record) or point to the sibling tool for deleting a single item, leaving an ambiguous gap.

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

Parameters1/5

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

Schema description coverage is 0%, so the description needed to compensate, but it only restates 'play_queue_id: The ID of the play queue,' which adds no meaning beyond the schema's own title and type. No format, source, examples, or constraints are provided.

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 action ('Clear a play queue') and provides the endpoint path, making the resource and operation identifiable. It does not explicitly distinguish itself from the sibling delete_play_queues_by_play_queue_id_items_by_play_queue_item_id, which removes a single item rather than clearing the queue, so it falls short of a full 5.

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?

The description provides no guidance on when to use this tool versus alternatives such as deleting a specific play queue item. There is no mention of prerequisites, when not to use it, or why an agent should prefer this over sibling tools.

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