Skip to main content
Glama

get_library_sections_by_section_id_prefs

Read-onlyIdempotent

Retrieve current preferences for a Plex library section by its ID, optionally specifying a metadata agent to review or update its configuration.

Instructions

Get section prefs.

GET /library/sections/{sectionId}/prefs

Args: section_id: Section identifier agent: The identifier of the metadata agent to use

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentNo
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 safety profile is fully covered. The description adds no behavioral context beyond the annotations: 'Get section prefs' and the GET endpoint simply restate what annotations imply. There is no mention of output characteristics, authentication needs, or side effects.

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 exceptionally concise: one clear summary line, the endpoint, and two parameter lines. No filler or repetition. The most important information is front-loaded, and the structure is scannable.

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

Completeness4/5

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

For a read-only, idempotent GET operation with two parameters and an existing output schema, the description supplies the essential endpoint and parameter semantics. The agent can construct a correct request. It lacks richer context about what 'prefs' contains or how 'agent' affects results, but the safety annotations and simple interface keep the deficiency minor.

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?

The input schema has 0% description coverage, so the description must compensate. It provides brief Args lines: 'section_id: Section identifier' and 'agent: The identifier of the metadata agent to use.' These add minimal semantic value over the parameter titles by clarifying the agent's role, but 'Section identifier' is largely tautological and the broader meaning of 'metadata agent' is left unexplained.

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 opens with 'Get section prefs,' which clearly states a specific verb and resource. The appended HTTP endpoint 'GET /library/sections/{sectionId}/prefs' confirms the operation. It does not explicitly distinguish itself from sibling tools like update_library_sections_by_section_id_prefs or list_library_sections_prefs, but the tool name and 'Get' verb make the intended use unambiguous.

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?

The description offers no guidance on when to use this tool versus alternatives. It neither mentions related read tools (e.g., list_library_sections_prefs) nor the mutating counterpart (update_library_sections_by_section_id_prefs). An agent must infer from the tool name alone that this is the read-only preference getter.

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