Skip to main content
Glama

get_library_sections_by_section_id_collections

Read-onlyIdempotent

Retrieve all collections within a library section by supplying its section ID. Queries Plex to list the collections available in that section.

Instructions

Get collections in a section.

GET /library/sections/{sectionId}/collections

Args: section_id: Section identifier

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

C2.7/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, covering the safety profile. The description adds no additional behavioral context—no mention of result sets, filtering, pagination, or any side effects. It merely restates the operation without enriching the annotation-covered facts.

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 compact: one sentence plus endpoint and Args listing. It front-loads the action and avoids fluff. The Args line is somewhat redundant with the schema, but the overall size is appropriate for a simple get operation.

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?

With annotations and an output schema present, the description's main burden is usage contextcongruence. It provides none: no explanation of what a 'collection' is, no guidance on selecting this endpoint among dozens of section sub-resources, and no preconditions. Although the tool is read-only and simple, the complete lack of context makes it insufficient for an agent choosing between siblings.

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 must compensate. It only echoes the parameter name and a vague label ('Section identifier'), adding substantially no meaning beyond the schema's 'Section Id' title. No information about where to find section IDs, valid values, or how the parameter shapes the response.

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 a specific verb and resource: 'Get collections in a section' and includes the endpoint path. The tool name also mirrors this, making the core function clear. However, it does not explicitly differentiate from sibling tools like get_library_sections_by_section_id_playlists, though 'collections' is distinct enough.

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. The sibling list contains many similar get_library_sections_by_section_id_* tools, and the description provides no decision context, exclusions, or references to more appropriate tools.

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