Skip to main content
Glama
Audiobook Library MCP Server

Audiobook Library MCP Server

by joelmale

scan_library

Recursively scans the audiobook library and returns its folder structure, with options for depth, subfolder selection, and optional audio metadata extraction.

Instructions

Recursively scan the audiobook library and return structure

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": "scan_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxDepthNoMaximum directory depth to scan (default: 5)
subfolderNoSubfolder to scan (audiobooks, Temp, or blank for root)audiobooks
includeMetadataNoExtract metadata from audio files

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 behavioral burden. It confirms recursion but omits that this is a read-only operation, says nothing about cost or latency of deep scans versus includeMetadata extraction, and never clarifies what 'structure' looks like in the response.

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 zero filler; the core action and target land immediately. Its brevity is close to under-specification rather than verbosity, so no deduction for waste.

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?

Three optional parameters, no annotations, and no output schema means the description is the only place the return contract could be explained, and 'return structure' does not say whether it is a nested tree, a flat path list, or entries with depth markers. For a tool whose primary purpose is producing a structure, that is a significant omission.

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 defaults and the enum-like 'audiobooks/Temp/blank' semantics for subfolder are already documented in the schema. The description adds no additional meaning beyond that baseline.

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?

States a specific verb and scope ('recursively scan') plus the resource ('audiobook library') and that it returns structure, which cleanly separates it from single-target siblings like get_file_info or move_file. It stops short of naming which sibling to use instead for analysis-style tasks.

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 explicit when-to-use, when-not-to-use, or alternative-tool guidance. An agent must infer that this is the discovery/inventory step before renaming, validating, or reorganizing, but the description never says so or warns against using it for shallow, single-file inspection.

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