Skip to main content
Glama

get_collection_items

Retrieve all media items in a Plex collection by providing its rating key. Returns collection metadata and contained items.

Instructions

Get the items in a Plex collection with full collection details.

Provide the rating_key of a collection. Returns collection metadata (title, smart, mode, sort, labels) and the media items it contains.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rating_keyYes
Behavior2/5

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

No annotations provided, so the description carries full burden. It describes the return value but does not disclose whether the operation is read-only, has side effects, or requires specific permissions.

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?

Two concise sentences with the action front-loaded. No unnecessary words, though the meaning is clear.

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 get operation with one required parameter and no output schema, the description covers the purpose, required input, and return contents. Lacks only behavioral safety context.

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?

The only parameter 'rating_key' has no schema description (0% coverage). The description simply says to provide it, adding minimal meaning beyond listing the parameter. No format or example is given.

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?

Clearly states 'Get the items in a Plex collection with full collection details', specifying the resource and action. Does not explicitly distinguish from sibling tools like 'get_collections' but the intent is clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Tells the agent to provide the rating_key, which is necessary, but does not provide guidance on when to use this tool versus alternatives like 'get_collections' or 'get_playlist_items'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/obrien-matthew/mcp-plex'

If you have feedback or need assistance with the MCP directory API, please join our Discord server