Skip to main content
Glama

get_library_sections_by_section_id_agents

Read-onlyIdempotent

Retrieve metadata agents assigned to a Plex library section by providing its section ID. Quickly identify which agents handle media matching and metadata for that library.

Instructions

Get Section Agents.

GET /library/sections/{sectionId}/agents

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.1/5.0
Behavior2/5

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

The annotations already provide readOnlyHint, idempotentHint, and destructiveHint false, so the safety profile is clear. However, the description itself adds no behavioral context beyond those annotations, such as what the returned agents represent, whether any filtering applies, or what error or authorization behavior to expect.

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 and front-loaded with the action, followed directly by the endpoint and the single argument. It contains little unnecessary text, though it does repeat the argument definition in code-style Args format without adding much detail.

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 simple, read-only, one-parameter tool with an output schema and safety annotations, the description is generally complete enough to invoke: it gives the endpoint pattern and the required section_id. It does not explain what 'agents' are or why this endpoint is preferable to similar section/agent tools, but those gaps weigh more on usage guidance than on call-completeness.

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 description identifies section_id as 'the unique identifier of the library section,' which adds a small amount of meaning beyond the schema's integer type and 'Section Id' title. Schema description coverage is 0%, but with only one parameter, the provided phrase is minimally sufficient, though it lacks guidance on how to obtain or format the ID.

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 clearly states 'Get Section Agents' and provides the exact endpoint, GET /library/sections/{sectionId}/agents, so an agent can tell this is a read operation against a specific library section's agents. It is not a tautology, though it does not explicitly differentiate itself from sibling tools such as list_system_agents or get_system_agents_by_agent_id.

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 about when to use this tool versus alternatives, no exclusions, and no context about prerequisites or expected use cases. The description only shows the endpoint and argument list, leaving usage entirely to inference from the tool name.

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