Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

delete_collections_by_id

DestructiveIdempotent

Delete a specific audiobook collection from Audiobookshelf by supplying its ID. Use it to remove outdated or unwanted collections.

Instructions

Delete api collections.

DELETE /api/collections/{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

B3.3/5.0
Behavior3/5

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

Annotations already cover the destructive nature (destructiveHint=true), non-read-only behavior, and idempotency. The description adds no extra behavioral context such as irreversibility, cascading effects, or permission requirements. It does not contradict the annotations, but it also does not go beyond them in meaningful behavioral disclosure.

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?

The description is compact and front-loaded: it states the operation, gives the endpoint, and then provides minimal parameter notes. Every line earns its place without repetition or filler.

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?

The description is adequate for a simple delete-by-id operation given the annotations and output schema, but it leaves gaps: it does not clarify how this differs from delete_collections_by_id_book_by_book_id, does not mention the body is optional (though the schema default covers this), and relies on external endpoints for body semantics.

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?

With 0% schema description coverage, the description must compensate, but it only labels 'id' as a path parameter and 'body' as a request payload, directing the agent to GET or /schema for field details. It does not explain that id identifies the collection or describe any expected body fields, leaving most parameter meaning to external lookups.

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 the verb 'Delete' and the resource 'api collections', and the included endpoint 'DELETE /api/collections/{id}' clarifies that it deletes a single collection by ID. It is not a tautology, though 'collections' is plural and it could be more explicit that this targets the collection itself rather than a book within a collection.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is used to delete collections by ID and gives a practical prerequisite: read the matching GET or /schema endpoint first for body fields. However, it does not explicitly distinguish this from close siblings like delete_collections_by_id_book_by_book_id or explain when to choose this over patch_collections_by_id.

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