Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

patch_playlists_by_id

Idempotent

Update an existing Audiobookshelf playlist by its ID, sending only the fields you want to change.

Instructions

Update api playlists.

PATCH /api/playlists/{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
bodyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the PATCH method and, more usefully, discloses that the body is open-ended and must be discovered from GET/schema. It does not describe effects on unspecified fields, auth requirements, or response behavior, but it does not contradict the annotations.

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 compact and front-loaded, with a clear verb-first opener and a structured Args section. There is minor redundancy between 'Update api playlists' and 'PATCH /api/playlists/{id}', but overall every line earns its place and the layout is scannable.

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?

With an output schema present, return-value documentation is unnecessary, and annotations cover idempotency/safety. The open-world body is handled via the schema-endpoint pointer, which is the appropriate strategy. Gaps remain: no guidance on partial-update semantics, no auth/permission context, and no routing to related playlist tools, but the core need (how to call and what to pass) is met.

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%, so the description must compensate. It clarifies that id is a path parameter and body is the request payload, and it prescribes a discovery mechanism for the body's fields. Given the body has additionalProperties: true, full field enumeration is impossible, and pointing to GET/schema is a reasonable compensation, though it defers rather than supplies actual field semantics.

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 clear verb+resource ('Update api playlists') and reinforces it with the HTTP method and endpoint pattern. It distinguishes from the many patch_* siblings primarily by the resource name, which the tool name already carries, so it is clear but does not add explicit sibling differentiation.

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?

It provides actionable guidance ('Read the matching GET or the /schema endpoint first to see the fields this resource expects'), which tells the agent how to discover the body shape before invoking. However, there are no when-to-use vs alternatives statements, no exclusions (e.g., when to prefer create_playlists or delete_playlists_by_id), and no prerequisites beyond the schema lookup.

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