Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

create_items_batch_scan

Idempotent

Triggers a batch scan of library items to update metadata and detect changes. Use it to refresh your Audiobookshelf collection in one request.

Instructions

Create or act on batch scan.

POST /api/items/batch/scan

Args: body: Request payload. Read the matching GET or the /schema endpoint first to see the fields this resource expects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.3/5.0
Behavior2/5

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

The description adds no behavioral detail beyond what the annotations already indicate: readOnlyHint is false and destructiveHint is false, so this is neither a pure read nor a destructive operation. It does not explain side effects, idempotency implications, or what happens when the batch scan runs.

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

Conciseness3/5

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

The description is short and reasonably structured with the HTTP method, endpoint, and args clearly separated. However, the opening sentence is vague and contributes little, so the compactness is partly a result of under-specification.

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?

Given the open body payload, output schema, and many related batch and scan siblings, the description lacks enough context for reliable invocation. It does not clarify what the scan does, how it differs from related endpoints, or what success or failure looks like.

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?

The body parameter is an open object with no schema descriptions, and the description at least identifies it as the request payload and directs the agent to inspect the matching GET or /schema endpoint for expected fields. This provides a useful discovery path, though it does not describe any concrete fields or structure.

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 phrase 'Create or act on batch scan' essentially restates the tool name without defining what a batch scan does or what 'act' means. The endpoint path clarifies the resource but not the behavior, leaving the agent to guess how this differs from sibling tools like create_items_batch_update or create_items_by_id_scan.

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?

There is no guidance on when to use this tool versus alternatives such as create_items_batch_get, create_items_batch_update, or create_items_by_id_scan. The instruction to read the matching GET or /schema endpoint is about payload discovery, not usage context or exclusions.

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