Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

patch_items_by_id_ebook_by_fileid_status

Idempotent

Update an ebook file's status in an Audiobookshelf item using its item and file IDs.

Instructions

Update ebook status.

PATCH /api/items/{id}/ebook/{fileid}/status

Args: id: Path parameter. fileid: 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
fileidYes

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 convey that this is a non-read-only, idempotent, non-destructive mutation, and the description is consistent with that. It adds the practical warning that body fields must be discovered from GET or /schema, but it does not disclose side effects, permission requirements, or runtime behavior. 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.

Conciseness4/5

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

The description is compact and front-loaded with the purpose. The endpoint line repeats information already in the tool name, but it is not harmful because it adds clarity around the HTTP method and path structure. The args list is minimal and each line earns its place.

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?

Because an output schema exists, the description does not need to explain return values. It directs agents to the GET or /schema endpoint for body construction, which is important given the open body schema. Still, it lacks status value semantics, effects of repeated updates, and guidance about when to prefer sibling update tools, making it minimally adequate rather than comprehensive.

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 coverage is 0%, so the description is the only source of parameter meaning. It correctly identifies id and fileid as path parameters and body as the request payload, and it tells agents how to learn the body's expected fields. However, it gives no field-specific semantics, allowed values, or relationships between the parameters.

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 specific operation: 'Update ebook status' for an item/file, and the endpoint path identifies the exact resource. This distinguishes it from related patch tools like patch_items_by_id_cover or patch_items_by_id_media. However, it does not explain what a status update entails or what status values are possible.

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 this tool is used when updating ebook status, but it does not contrast it with sibling patch operations or state when not to use it. The only explicit usage guidance is to read the matching GET or /schema endpoint first, which is useful but not a full usage policy.

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