Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

create_playlists_by_id_batch_remove

Idempotent

Remove multiple items from a specific Audiobookshelf playlist in one batch operation using its ID. Simplifies playlist cleanup by handling bulk removal in a single API call.

Instructions

Create or act on batch remove.

POST /api/playlists/{id}/batch/remove

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
bodyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.1/5.0
Behavior2/5

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

Annotations indicate idempotentHint=true and destructiveHint=false, but the description does not explain the behavioral implications. The description says 'Create or act on batch remove' which is confusing—'Create' suggests a write operation, but the tool is a batch remove. It does not disclose what happens to the playlist, whether items are deleted or just removed from the playlist, or any side effects. The description adds no behavioral context beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and includes the HTTP path and a pointer to the schema endpoint, which is useful. However, the opening phrase 'Create or act on batch remove' is awkward and unhelpful, and the description could be more concise and clear. It is not well-structured for an agent to quickly understand the tool's purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (batch operation on playlists) and the lack of output schema details, the description is incomplete. It does not explain the request body structure, the expected response, or any prerequisites. The pointer to the GET or /schema endpoint is helpful but shifts the burden to the agent to discover essential information. The description is not sufficient for an agent to invoke the tool correctly without additional lookups.

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 0%, so the description must compensate for the lack of parameter documentation. It only mentions 'id: Path parameter' and 'body: Request payload' with a pointer to the GET or /schema endpoint. This is minimal and does not explain what the body should contain (e.g., list of item IDs to remove). The description fails to provide meaningful parameter semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Create or act on batch remove' is vague and tautological, essentially restating the tool name. It does not clearly state what 'batch remove' does in the context of playlists (e.g., removing multiple items from a playlist). The HTTP path is provided but adds no semantic clarity about the operation's effect.

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?

No guidance is given on when to use this tool versus alternatives. The sibling list includes create_playlists_by_id_batch_add and delete_playlists_by_id_item_by_library_item_id_by_episode_id, which are related operations, but the description does not differentiate this tool from them or explain when batch remove is appropriate.

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