Skip to main content
Glama
ni-c

audiobookshelf-mcp

by ni-c

Remove items from playlist

remove_items_from_playlist
Destructive

Remove books or podcast episodes from a playlist without deleting the media. Re-add entries later with add_items_to_playlist.

Instructions

Removes entries from a playlist. The media itself is untouched and the entries can be added back with add_items_to_playlist. Note that Audiobookshelf deletes a playlist automatically once its last entry is removed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
playlist_idYesPlaylist id, as returned by list_playlists

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already mark destructiveHint=true. The description adds value by clarifying that the media itself is untouched and entries are recoverable via add_items_to_playlist. The critical warning about automatic playlist deletion when the last entry is removed is disclosed, going beyond the annotation's mere destructiveness flag.

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?

Three sentences with no wasted words. First sentence states the core action, second clarifies a key behavioral nuance (media untouched), third warns about automatic deletion. Every sentence earns its place, making the description both concise and informative.

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?

Given the destructive annotation and two well-documented schema parameters, the description covers the essential behavioral aspects: the removal action, data safety, reversibility, and the side effect on the playlist. No output schema exists, but the description doesn't need to explain return values. Minor omission: no mention of required permissions or error conditions, but the description is largely complete for this type of tool.

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

Parameters2/5

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

Schema description coverage is 50%, but the description adds no parameter-level details. It does not mention the format of the items array, the requirement for episode_id in podcast playlists, or the source of playlist_id. The schema provides some descriptions, but the description fails to compensate for the missing coverage or clarify usage nuances.

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 ('Removes entries from a playlist'), specifies that media is unaffected, and distinguishes itself from the sibling tool add_items_to_playlist by noting entries can be added back. It also warns of the side effect when the last entry is removed, uniquely differentiating from delete_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 provides clear context for when to use the tool (removing entries) and mentions the undo path via add_items_to_playlist. However, it does not explicitly state when not to use it or compare to delete_playlist for removing the whole playlist. The guidance is adequate but lacks explicit exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/ni-c/audiobookshelf-mcp'

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