Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

delete_collections_by_id_book_by_book_id

DestructiveIdempotent

Remove a specific book from an Audiobookshelf collection by providing the collection ID and book ID.

Instructions

Delete collections book.

DELETE /api/collections/{id}/book/{bookId}

Args: id: Path parameter. book_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
book_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?

The annotations already declare destructiveHint=true and idempotentHint=true. The description adds some specificity by identifying the target as the book-collection relationship via the endpoint path, which goes slightly beyond the raw annotation. However, it does not disclose consequences such as whether the book itself is deleted or whether the removal is reversible.

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 front-loaded with the endpoint, but the 'Args' section largely repeats the input schema with phrases like 'Path parameter' that add no new information. The useful body-schema pointer is buried at the end. Acceptable size, but not every line earns its place.

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 straightforward delete operation with an output schema and annotations covering destructiveness/idempotency, the description is minimally adequate. However, it omits usage context and leaves parameter semantics vagueho, and relies on the schema endpoint for body information. It is complete enough for a simple call but has clear gaps.

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 needed to compensate. It only labels id and book_id as 'Path parameter' without explaining that id refers to the collection ID and book_id to the book ID. The body advice to read the matching GET or schema endpoint is helpful, but the two required path parameters remain semantically under-described.

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 specific verb ('Delete') and resource ('collections book'), and the included endpoint template 'DELETE /api/collections/{id}/book/{bookId}' makes the operation unambiguous: removing a book from a collection via its collection ID and book ID. It does not explicitly contrast with sibling operations like create_collections_by_id_book, but the verb and path make the primary purpose clear.

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 about when to use this tool versus alternatives. The description does not mention that this is the inverse of create_collections_by_id_book, nor does it explain context such as 'use this to remove a book from a collection.' It only restates the request endpoint and parameters.

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