Skip to main content
Glama

get_library_collections_by_collection_id_items

Read-onlyIdempotent

Retrieve all items within a specific Plex collection by its ID. Use this tool to list media titles in a collection for easier management or viewing.

Instructions

Get items in a collection.

GET /library/collections/{collectionId}/items

Args: collection_id: The collection id

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collection_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds the HTTP GET method and path template, but it does not disclose pagination, ordering, filtering, or what types of items are returned. Given the strong annotations, this is acceptable but not rich.

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 with the core action. The endpoint line is useful, but the 'Args' block mostly repeats the parameter title, so it is not maximally efficient.

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 one-parameter read operation with a rich output schema and strong annotations, the description is minimally viable. However, it lacks any mention of pagination, item scope, or behavior for empty or missing collections, leaving some ambiguity about the returned result.

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 must compensate for the parameter. It only says 'collection_id: The collection id,' which is tautological. The endpoint template does imply the parameter is a path variable, which adds some meaning, but the description otherwise adds no format, source, or usage detail beyond the schema.

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 states a specific verb and resource: 'Get items in a collection.' The endpoint path further clarifies the operation. It does not explicitly distinguish itself from sibling collection-related tools, but the resource is unambiguous enough for an agent to identify what it does.

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 on when to use this tool versus alternatives such as get_library_sections_by_section_id_collections or update_library_collections_by_collection_id_items. The description only restates the operation and gives no context, exclusions, or prerequisites.

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