Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

get_libraries_by_id_items

Read-onlyIdempotent

Fetch a library's items by ID with optional sorting, filtering, including RSS feed, and collapsing series options.

Instructions

Get items in a library.

GET /api/libraries/{id}/items

Args: id: Path parameter. sort: The field to sort by from the request. filter: The filter for the library. include: The fields to include in the response. The only current option is rssfeed. collapse_series: Whether to collapse series into a single cover

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
sortNo
filterNo
includeNo
collapse_seriesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the tool read-only, idempotent, and non-destructive, so the bar is lower. The description adds a little behavioral context via the include option ('only current option is rssfeed') and collapse_series ('collapse series into a single cover'), but it does not discuss pagination, filtering syntax, or response-level behavior beyond what the output schema provides.

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 description is short and well-structured: a purpose sentence, the endpoint, then a parameter block. It is front-loaded and every line attempts to add value, though some parameter entries are too terse.

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

Completeness3/5

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

The output schema presumably covers the return shape, but for a 5-parameter endpoint, the description leaves gaps: valid sort values, filter format, and how the library ID is selected or resolved are not explained. It is adequate for a simple call but incomplete for nuanced use.

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 0%, so the description carries all parameter meaning. It gives genuinely useful semantics for include and collapse_series, but id is only called a 'Path parameter' and sort/filter are underspecified with no valid fields or filter syntax explained.

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 first sentence identifies a specific action and resource ('Get items in a library') and the endpoint path reinforces it. However, it does not explicitly differentiate this from sibling library endpoints like get_libraries_by_id_series or get_libraries_by_id_search.

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?

No usage context is provided: the description does not state when to use this tool instead of other library or items endpoints, nor does it mention exclusions or preconditions. The agent is left to infer from the name and endpoint alone.

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