Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

delete_playlists_by_id

DestructiveIdempotent

Delete a playlist from Audiobookshelf by its ID. Use when a playlist needs to be removed permanently.

Instructions

Delete api playlists.

DELETE /api/playlists/{id}

Args: id: Path parameter. body: Request payload. Read the matching GET or the /schema endpoint first to see the fields this resource expects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
bodyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

The annotations already declare destructiveHint=true and idempotentHint=true, so the destructive nature is known. However, the description adds no new behavioral context: it does not state whether deletion is permanent, whether related playlist items are also removed, whether confirmation is needed, or what side effects occur. The description merely repeats the DELETE semantics already present in the name and annotations.

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 organized with the action, endpoint, then argument notes. The opening line 'Delete api playlists' is somewhat redundant with the name and endpoint, but the overall structure is efficient and easy to parse. No filler or unnecessary detail is present.

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 delete-by-id operation, the description provides the essential resource, endpoint, and a pointer for discovering body fields. Annotations and the output schema cover destructiveness and return expectations. However, the description lacks broader context such as irreversible effects, prerequisites, or when to prefer this over related playlist mutation tools, so it is only minimally complete.

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 0%, so the description carries the burden of explaining parameters. It identifies 'id' as a path parameter and 'body' as a request payload, and it advises reading the matching GET or /schema endpoint to discover expected fields. This is useful but does not fully compensate for the opaque body schema or provide details about id constraints or body composition.

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 the action ('Delete api playlists') and includes the exact endpoint 'DELETE /api/playlists/{id}', so an agent can identify the resource and scope. It does not explicitly contrast with closely related siblings such as delete_playlists_by_id_item_by_library_item_id_by_episode_id, but the endpoint and resource are specific enough for basic differentiation.

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 use this tool versus alternatives like patch_playlists_by_id or the item-removal playlist endpoint. The only procedural hint is to read the matching GET or /schema endpoint for the body payload, which is parameter guidance rather than usage context. No exclusions or condition-based routing are provided.

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