Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

create_libraries_by_id_scan

Idempotent

Triggers a scan of a specific library by its ID, updating available books and metadata in Audiobookshelf.

Instructions

Create or act on libraries scan.

POST /api/libraries/{id}/scan

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

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

Annotations state the tool is non-read-only, idempotent, and non-destructive, but the description adds little behavioral context. It does not disclose that acting on a library scan likely triggers background work, what consequences that has for library content, or what the POST response represents. The 'Create or act on' phrasing is too vague to inform the agent of actual behavior.

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 includes the endpoint and argument guidance without excessive padding. However, the first line 'Create or act on libraries scan' is uninformative filler that does not earn its place, weakening the overall structure.

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?

With a meaningless purpose statement, no distinction from sibling scan tools, and an open-ended body object, the description is not complete enough for an agent to confidently select and invoke this tool. Having an output schema helps with return values, but the missing operational semantics and selection guidance leave major gaps.

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 must compensate. It does clarify that 'id' is a path parameter and 'body' is the request payload, and it directs the agent to the GET or /schema endpoint for body fields. However, it provides no semantics for what id identifies, what body fields are expected, or what valid values look like, leaving a significant burden on the external schema lookup.

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 is essentially a tautology: 'Create or act on libraries scan' restates the tool name without explaining what the operation actually does. It does identify the resource (library scan) and the HTTP endpoint, but an agent cannot tell from this that it triggers a scan, what scanning means, or how it differs from create_items_by_id_scan or create_items_batch_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 about when to use this tool versus sibling scan-related tools, nor any indication of prerequisites or side effects. The only usage hint is to read the matching GET or /schema endpoint before calling, which addresses payload discovery but not tool selection.

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