Skip to main content
Glama
Audiobook Library MCP Server

Audiobook Library MCP Server

by joelmale

create_m4b_audiobook

Convert and combine audio files into a single M4B audiobook with embedded metadata and optional chapter markers. Use it to organize audiobooks for compatible players and libraries.

Instructions

Convert and combine audio files into M4B audiobook format with metadata

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "inputFiles": "<inputFiles>",
      "outputPath": "<outputPath>"
    },
    "name": "create_m4b_audiobook"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoPreview the operation without executing
bitrateNoAudio bitrate for output file128k
metadataNoMetadata to embed in the M4B file
inputFilesYesArray of audio file paths relative to audiobook root
outputPathYesOutput M4B file path relative to audiobook root
createChaptersNoCreate chapter markers from individual files
deleteOriginalsNoDelete original files after successful conversion

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 provided, so the description carries the full burden of behavioral disclosure. It does not mention that dryRun defaults to true, that deleteOriginals can delete source files, whether an existing output file is overwritten, or what happens on partial failure.

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 single sentence is front-loaded and free of wasted wording. It is perhaps too terse for a tool with destructive and dry-run behavior, but structurally it is clean and efficient.

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?

This is a complex file-conversion tool with seven parameters, nested metadata, chapter creation, optional deletion of originals, and a dry-run mode. With no annotations and no output schema, a one-line description leaves important operational context unstated.

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%, so the input schema already documents all seven parameters, including the nested metadata fields. The description mentions metadata embedding but adds no syntax, validation, or precedence details beyond the schema.

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 action and output format: converting and combining audio files into an M4B audiobook with embedded metadata. This distinguishes it reasonably from sibling tools like combine_mp3_files and generate_audiobookshelf_structure, though it does not explicitly name alternatives.

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 combine_mp3_files or generate_audiobookshelf_structure. It also omits preconditions, such as whether inputs must be ordered or from the same audiobook root.

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