Skip to main content
Glama

get_library_sections_by_section_id_autocomplete

Read-onlyIdempotent

Get autocomplete search suggestions for a Plex library section by providing its section ID and an optional partial field query to match.

Instructions

Get autocompletions for search.

GET /library/sections/{sectionId}/autocomplete

Args: section_id: Section identifier field_query: The "field" stands in for any field, the value is a partial string for matching

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
section_idYes
field_queryNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this read-only, idempotent, and non-destructive, so the safety profile is covered. The description adds a useful behavioral nuance—field_query is a partial string for matching—but does not disclose return behavior or other side effects beyond what annotations and the output schema supply.

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 primary purpose, followed by the endpoint and a minimal Args block. It contains no filler, though the Args section could have been integrated with the schema rather than partially duplicating titles.

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?

For a simple read-only tool with an output schema and strong annotations, this is adequate but not complete. The missing clarity around field_query construction and the absence of any relationship to the search sibling mean an agent may call it correctly only by guessing at query semantics.

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?

Schema coverage is 0%, so the description must compensate. It does explain both parameters: section_id is an identifier and field_query is a partial string for matching, which is meaningful. However, the wording 'The "field" stands in for any field' is ambiguous about how to construct the query and which field names are valid, leaving a gap.

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 opening line 'Get autocompletions for search' is a specific verb+resource description and the endpoint line identifies the target resource. However, it does not differentiate this tool from the sibling get_library_sections_by_section_id_search, so an agent cannot tell them apart from the description alone.

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 choose this autocomplete endpoint over related search endpoints. There is no mention of alternatives, exclusions, or the typical interaction pattern of supplying a partial value, so usage is left entirely to inference.

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