Skip to main content
Glama

update_library_metadata_by_ids_prefs

Idempotent

Set metadata preferences for selected Plex library items by providing their comma-separated IDs and the desired preference parameters to update them directly.

Instructions

Set metadata preferences.

PUT /library/metadata/{ids}/prefs

Args: ids: Comma-separated list of IDs args: The args

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYes
argsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.6/5.0
Behavior2/5

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

Annotations indicate readOnlyHint=false, openWorldHint=true, idempotentHint=true, destructiveHint=false. The description repeats the HTTP method (PUT) and provides the endpoint path, but does not add meaningful behavioral context beyond that. It does not mention whether the operation requires special permissions, what happens to existing preferences, or whether the changes are reversible. With no annotation coverage beyond the basic hints, the description fails to carry the burden of behavioral disclosure for a mutating tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short but not effective. It includes a bare endpoint and docstring-like parameter lines, but the info is under-specification. The phrase 'Set metadata preferences.' is too terse to be useful, and the 'Args' section is repetitive of the schema without adding clarity. The structure is front-loaded with the vaguest summary instead of actionable details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (it modifies preferences for metadata items), the description is severely incomplete. There is no information about what preferences can be set, the expected format of the 'args' object, or how the response will look, even though an output schema exists. The tool is part of a large family of library update tools, and without further context, an agent would not know when to use it or how to fill in the parameters correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description adds almost no parameter meaning. It states 'ids: Comma-separated list of IDs' which is helpful, but 'args: The args' is completely tautological. The description does not explain what 'args' should contain, what keys are valid, or what the structure of the preference object is. Given the open-world annotation, the tool expects arbitrary data, but the description leaves the agent in the dark about how to construct the args.

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

Purpose2/5

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

The description 'Set metadata preferences.' is extremely vague. It does not specify what 'metadata preferences' are, which metadata items they apply to, or how the tool differs from the numerous sibling tools like update_library_metadata_by_ids, update_library_sections_by_section_id_prefs, or update_prefs. The verb 'Set' is clear, but the resource and scope are ambiguous.

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

Usage Guidelines1/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. The description does not mention any context for use, such as when updating preferences for specific metadata items or how it relates to other update_library_* tools. An agent would have no way to distinguish this from update_library_metadata_by_ids or update_prefs without guessing.

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