Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

get_libraries_by_id_playlists

Read-onlyIdempotent

Fetch playlists for a specific library by providing its ID.

Instructions

Get libraries playlists.

GET /api/libraries/{id}/playlists

Args: id: Path parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering the safety profile. The description adds the HTTP GET method and path structure, which is useful but doesn't go beyond that. It doesn't describe return format, pagination, or permissions, but given the annotation coverage, a 3 is appropriate.

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 concise and front-loaded with the purpose. It includes the endpoint and parameter listing in a clean format. No unnecessary words. However, it could be slightly more structured, but it's efficient.

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?

For a simple GET tool with one parameter and an output schema, the description is adequate but not rich. It omits explicit clarification that the id is a library ID and doesn't mention any additional context like pagination or sorting. Given the output schema covers return values, it's acceptable but leaves room for improvement.

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

Parameters2/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 the burden for parameter meaning. It only states 'id: Path parameter.' This is redundant given the endpoint and doesn't clarify that the id is the library ID. An agent might infer it from context, but the description does not explicitly state it, leaving ambiguity.

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 the verb 'Get' and the resource 'playlists' for a library, which is clear and specific. It is implicitly distinct from sibling tools like get_libraries_by_id_items by naming 'playlists'. However, it doesn't explicitly describe what the response contains (a list of playlists), so it falls short of a 5.

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. Given the large number of sibling get_libraries_by_id_* tools, the description provides no criteria for selection, such as 'use this to retrieve playlists for a library' or mention of any exclusions. This is a significant gap.

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