Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

create_collections_by_id_book

Idempotent

Add a book to a collection by providing its ID and the book data. Creates or updates the collection-book relationship.

Instructions

Create or act on collections book.

POST /api/collections/{id}/book

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 already cover readOnly=false, idempotent=true, destructive=false. The description adds no additional behavioral context, such as what the action actually does, side effects, or prerequisites. It doesn't contradict the annotations, but it also doesn't enrich the agent's understanding beyond what structured fields provide.

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 concise and well-structured: purpose line, endpoint, and argument list. It avoids unnecessary verbosity and front-loads the endpoint. However, conciseness here comes at the cost of informativeness.

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?

Despite having an output schema and nested objects, the description fails to explain the core action. An agent cannot determine what 'act on collections book' does, what the expected body shape is, or what the return value represents. The note to read the schema is a workaround but not a substitute for describing the tool's function.

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

Parameters1/5

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

Schema description coverage is 0%, so the description is the only source for parameter meaning, but it only says 'id: Path parameter' and 'body: Request payload'. This is tautological and does not explain what id represents (collection ID?) or what body should contain. It defers to external schema endpoints, which is insufficient.

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 says 'Create or act on collections book' which is vague and largely restates the tool name. It doesn't specify what the 'book' action does (e.g., adding a book to a collection, marking as read, etc.), and it doesn't distinguish from siblings like create_collections or create_collections_by_id_batch_add. The endpoint path gives some context, but the purpose remains unclear.

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?

The description instructs to 'Read the matching GET or the /schema endpoint first to see the fields this resource expects', which is a useful precondition but not about when to choose this tool over alternatives. It provides no guidance on scenarios where this should be used instead of batch_add or patch operations.

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