Skip to main content
Glama
Audiobook Library MCP Server

Audiobook Library MCP Server

by joelmale

generate_audiobookshelf_structure

Generates an Audiobookshelf-compatible directory structure from audiobook metadata or filenames, organizing files by author, series, and series numbers for library import.

Instructions

Generate optimal Audiobookshelf directory structure from metadata

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_audiobookshelf_structure"
  }
}

Input Schema

NameRequiredDescriptionDefault
basedOnNoSource for structure generationhybrid
conventionNoPreferred organization structurehybrid
includeSeriesNumbersNoInclude series numbers in directory names

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it does not say whether the generated structure is merely returned as a proposal or actually creates/moves directories on disk — a critical distinction for a tool with no destructiveHint. It also omits any permission requirements, whether existing folders are affected, or what the result contains.

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?

A single front-loaded sentence with no filler, which is appropriately tight for a three-optional-parameter tool. It is efficient rather than padded, though the brevity comes at the cost of detail that the other dimensions penalize.

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 no annotations and no output schema, the description is the only source of behavioral context, and it leaves the most important questions unanswered: whether filesystem changes occur, what the output looks like, and how it differs from the standardization sibling. For a tool that plausibly mutates a library layout, this is under-specified.

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 100% and two of three parameters are enums with defaults, so the schema already explains basedOn, convention, and includeSeriesNumbers. The description adds nothing beyond what the schema provides ("from metadata" loosely gestures at basedOn), which is the expected baseline-3 case when the schema does the heavy lifting.

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 pairs a specific verb ("Generate") with a specific resource ("Audiobookshelf directory structure") and names the input source (metadata), so the core action is unambiguous. It does not distinguish itself from close siblings such as standardize_audiobookshelf_structure, suggest_reorganization, or create_directory, which leaves real ambiguity about whether this produces a plan or writes to disk.

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 when-to-use or when-not-to-use guidance at all. An agent cannot tell from this sentence why it would choose this over standardize_audiobookshelf_structure (which sounds like it also produces a canonical layout) or suggest_reorganization, and no prerequisites or sequencing are stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.