Skip to main content
Glama

get_library_sections_by_section_id_albums

Read-onlyIdempotent

Retrieve all albums in a Plex library section by specifying its section ID. Returns the album list for that section.

Instructions

Set section albums.

GET /library/sections/{sectionId}/albums

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

D1.8/5.0
Behavior1/5

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

Annotation contradiction: annotations declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, but the description says 'Set section albums,' implying a mutating operation. The description also adds no behavioral context beyond what annotations already provide, and the 'Set' wording directly conflicts with the annotated safety profile.

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

Conciseness2/5

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

The description is short, but its first sentence is misleading and its 'Args' block merely repeats information already in the input schema. The useful endpoint line is buried after the incorrect verb, so the structure does not earn its place.

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?

While the schema and annotations are simple and an output schema exists, the description does not clearly state what albums are returned or how this endpoint relates to other library section album-like endpoints. The misleading opening and lack of alternative-routing leave the definition under-informed for an agent deciding whether to call it.

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 needed to compensate, but it only restates 'section_id: Section identifier,' which adds no meaning beyond the schema's title 'Section Id' and integer type. There is no guidance on where section IDs come from or how they are used.

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

Purpose2/5

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

The description opens with 'Set section albums,' which reads as a write operation, while the tool name and endpoint ('GET /library/sections/{sectionId}/albums') clearly indicate a read operation. This makes the purpose misleading rather than merely vague, though the resource ('albums') and endpoint are identifiable.

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 given about when to use this tool versus the many sibling tools such as get_library_sections_by_section_id_all, get_library_sections_by_section_id_collections, or get_library_sections_by_section_id_search. The description only restates the endpoint and parameter without explaining selection criteria.

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