Skip to main content
Glama
ni-c

audiobookshelf-mcp

by ni-c

List library items

list_library_items
Read-only

Lists books or podcasts from a library with pagination, sorting, and filtering. Check valid filter values with get_library_filter_data, then browse media by genre, author, progress, and more.

Instructions

Lists items (books or podcasts) of a library, paginated, sortable and filterable. Use get_library_filter_data first to learn the valid filter values. Filter groups — valued (need filter_value): genres, tags, series, authors, progress, narrators, publishers, publishedDecades, missing, languages, tracks, ebooks; standalone: issues, feed-open, share-open, recent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo0-based page number, default 0
sortNoSort key in dot notation. Common values: media.metadata.title, media.metadata.authorName, media.metadata.publishedYear, media.duration, birthtimeMs, addedAt, size, progress, random.
limitNoNumber of entries to return, default 25, max 100
detailNo"compact" (default) returns a projection with the fields that matter for browsing; "full" returns the raw Audiobookshelf object including audio files, tracks and chapters, which is very large.
descendingNoReverse the sort order, default false
library_idYesLibrary id, as returned by list_libraries
filter_groupNoFilter group. The server encodes group and value into the base64 form its API expects.
filter_valueNoValue for filter_group: an id for authors/series, a name for genres/tags/narrators/languages/publishers, one of finished/in-progress/not-started/not-finished for progress. Must be omitted for the standalone groups.
collapse_seriesNoCollapse books of the same series into one entry

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.1

TDQS

A4.4/5.0
Behavior4/5

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

With the readOnlyHint annotation already indicating the tool is safe (no destructive side effects), the description adds valuable behavioral context by listing filter groups and explaining the detail parameter's projection behavior. However, it does not mention rate limits or the 0-based page number convention, which would be useful.

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 3 sentences long, which is reasonably concise. The second sentence about using get_library_filter_data is valuable but slightly front-loads a niche instruction. The list of filter groups is dense and could be better separated into a structured list for readability, but it does convey essential information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter tool with no output schema, the description covers the main nuances: pagination, sorting, filter types, and the two detail levels. It is mostly complete for effective invocation, though it omits explanation of how page is 0-based and what the 'random' sort value implies. The absence of output schema is compensated by the detail parameter description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description goes beyond by grouping filter parameters into 'valued' vs 'standalone', clarifying that filter_value must be omitted for standalone groups. This adds practical meaning to the enum definitions. A small deduction because the description doesn't explain all param relationships (e.g., how collapse_series interacts with sorting).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'Lists' targeting 'items (books or podcasts) of a library', clearly differentiating it from sibling tools like 'list_libraries', 'list_series', and 'list_authors' that list other entities. The pagination, sorting, and filtering capabilities are explicitly stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly tells agents to 'use get_library_filter_data first to learn the valid filter values', providing a clear prerequisite. It distinguishes between 'valued' and 'standalone' filter groups, guiding correct parameter usage and preventing invocation mistakes.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ni-c/audiobookshelf-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server