Skip to main content
Glama

get_library_sections_by_section_id_playlists

Read-onlyIdempotent

Retrieve all playlists in a Plex library section using its section ID. Get a list of playlists for a specific media library to manage or browse them.

Instructions

Get Section Playlists.

GET /library/sections/{sectionId}/playlists

Args: section_id: The unique identifier of the library section

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
section_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the description adds no behavioral information beyond what is in the structured data. It does not mention pagination, response scope, authentication, or any side effects; the 'GET' line merely restates the read-only nature already captured by the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded with the purpose, then the endpoint, then the parameter explanation. Every line is useful and there is no filler or repetition that detracts from its readability.

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?

Given the single parameter, output schema, and read-only/idempotent annotations, the core mechanics are covered. However, it omits any guidance about how this endpoint differs from related playlist tools (list_playlists, get_playlists_by_playlist_id) and does not mention whether returned playlists are limited to the section or require special permissions; for such a simple tool this is a modest but real gap.

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?

The only parameter, section_id, is explained as 'the unique identifier of the library section' in the Args block. This adds meaning beyond the schema's bare 'integer' type and title, and covers the sole required parameter despite the 0% schema coverage.

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 opening phrase 'Get Section Playlists' states a specific verb and resource: retrieving playlists belonging to a library section. It is clear at a glance, though it does not distinguish itself from the many sibling tools such as list_playlists or get_playlists_by_playlist_id, so it stops 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?

No guidance is provided for when this tool should be chosen over alternatives. There is no mention of when to use section playlists versus global playlists, nor any exclusions or prerequisites; the only context is implicit in the tool's name and endpoint.

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