Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

create_items_by_id_chapters

Idempotent

Create chapters for an Audiobookshelf library item by ID, sending chapter data to update the item's chapter list.

Instructions

Create or act on items chapters.

POST /api/items/{id}/chapters

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.6/5.0
Behavior2/5

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

Annotations already indicate readOnlyHint=false, destructiveHint=false, and idempotentHint=true, so the safety profile is covered. However, the description adds little behavioral context: it does not explain what 'act on chapters' does, what side effects occur, or whether existing chapters are modified or replaced.

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 short, front-loads the endpoint, and keeps the parameter notes brief. Its only real defect is the awkward and unhelpful opening phrase 'Create or act on items chapters,' but there is no wasted prose.

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?

For a mutation endpoint with an unstructured body and minimal schema information, the description relies almost entirely on external discovery via the GET or /schema endpoint. It does not convey what a valid chapter payload should contain, what the operation actually does, or what prerequisites apply, leaving the agent under-informed.

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

Parameters3/5

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

Schema description coverage is 0%, and the body parameter is an open object with no documented properties. The description compensates minimally by labeling id as a path parameter and directing the agent to inspect the GET or /schema endpoint for body fields, but it offers no concrete field-level guidance.

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

Purpose3/5

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

The description names the resource ('items chapters') and gives the endpoint, which distinguishes it from sibling tools, but the verb phrase 'Create or act on' is vague and does not clearly state whether this creates, updates, or replaces chapters. It is understandable only in combination with the POST URL.

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 provides a prerequisite ('Read the matching GET or the /schema endpoint first') but gives no guidance on when to use this tool versus alternatives like patch_items_by_id_tracks or other create_items_by_id_* endpoints. The intended usage is only implied by the resource name and endpoint.

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