Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

create_playlists_by_id_batch_add

Idempotent

Add multiple items to an Audiobookshelf playlist by its ID. Send the playlist ID and request body to batch add entries and update the playlist.

Instructions

Create or act on batch add.

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

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

D1.7/5.0
Behavior2/5

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

Annotations already indicate a non-read-only, idempotent, non-destructive operation. The description adds no behavioral context beyond that; it doesn't describe side effects, required permissions, or what happens on call. It only gives a generic instruction to read the schema. No contradiction with annotations.

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

Conciseness2/5

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

The description is short, but the opening sentence 'Create or act on batch add' is vague and not useful. It doesn't front-load the essential information. The two-line structure plus a parameter list is minimal but not effective because it omits crucial meaning. It's under-specified rather than concise.

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

Completeness1/5

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

Given a batch-add operation with an output schema, the description should still explain what the tool does, what the id refers to, and what the body expects. It only points to the GET/schema endpoint. This is incomplete for an agent to call it correctly without external lookups. No mention of the resource type (playlist) or the batch 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?

Schema description coverage is 0%, so the description must explain the parameters. It only states that id is a path parameter and body is a request payload, which merely restates the schema types. It does not explain that id is the playlist ID or what fields the body should contain beyond 'read the endpoint.' The pointer to GET/schema is a workaround, not semantic description.

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 batch add' which is vague and doesn't identify the resource (playlist) or the specific action (adding items). The URL path is given but not decoded. It doesn't distinguish from sibling tools like create_playlists_by_id_batch_remove or create_playlists_by_id_item.

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

Usage Guidelines1/5

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

No guidance on when to use this tool versus alternatives. It doesn't mention that this is for batch adding items to a playlist or compare with single-item addition or removal. The only instruction is to read the GET/schema endpoint, which is about parameter format, not usage context.

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