Skip to main content
Glama

get_library_sections_by_section_id_search

Read-onlyIdempotent

Search a Plex library section by its unique ID to find matching media. Specify the section identifier and retrieve targeted results from your server.

Instructions

Search Section.

GET /library/sections/{sectionId}/search

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

C2.9/5.0
Behavior2/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, and the description does not contradict them. However, it adds no behavioral context beyond the HTTP path and method: it does not describe what the search returns, whether it accepts a search term, how results are ordered, or any caveats. The description therefore contributes little beyond the structured annotations.

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 short and front-loaded: 'Search Section.' is immediately followed by the endpoint path and the parameter definition. There is no filler or repetition beyond what is necessary, though the overall terseness borders on under-specification.

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?

With only one parameter, strong safety annotations, and an output schema present, the description is minimally sufficient for invoking the tool with the required section_id. However, it leaves a clear gap: it never explains the meaning of the 'search' operation or how this endpoint relates to other search/autocomplete/filter siblings, so an agent cannot reliably decide when to use it.

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?

Schema description coverage is 0%, but the description compensates for the only parameter: it defines section_id as 'the unique identifier of the library section,' which adds meaning beyond the schema's bare title 'Section Id.' For a single-parameter tool, this is sufficient semantic coverage.

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

Purpose3/5

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

The description says 'Search Section' and provides the endpoint path, so it does identify the resource and the high-level operation. However, it does not explain what is being searched (metadata? files? titles?) or what the result represents, and it does not distinguish this tool from closely related siblings like get_library_sections_by_section_id_autocomplete, get_library_sections_by_section_id_common, or list_library_search.

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 gives no guidance on when to use this tool versus alternatives. There are multiple search-like sibling tools, but the description does not mention any selection criteria, exclusions, or context such as 'use this for searching within a section rather than globally.'

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