Skip to main content
Glama

update_library_metadata_by_ids_by_element

Idempotent

Update artwork, theme, or other metadata elements for Plex library items by specifying media IDs, element type, and the new asset URL.

Instructions

Set an item's artwork, theme, etc.

PUT /library/metadata/{ids}/{element}

Args: ids: Comma-separated list of IDs element: The type of artwork element (e.g., art, poster, thumb) url: The url of the new asset.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYes
urlNo
elementYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already provide idempotency, mutability, and non-destructive flags, so the baseline burden is lower. The description adds that this performs a PUT-style set of an element to a new URL, implying replacement. However, it does not state what happens when url is null, auth requirements, or any side effects like cache invalidation.

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 text is tight: one purpose sentence, one endpoint line, and three parameter lines with no filler. 'etc.' is vague, but the overall structure is easily scannable and front-loads the action.

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 3-parameter update with an output schema and safety annotations, the essential call mechanics are present. The main gaps are the lack of differentiation from create_library_metadata_by_ids_by_element and no clarification of nullable url behavior, which an agent would need to choose and invoke this tool confidently among many siblings.

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 Args block compensates: ids is defined as a comma-separated list, element is described with examples (art, poster, thumb), and url is explained as the location of the new asset. It stops short of clarifying the null default or allowed element values, but it provides the core meaning absent from 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 opens with a concise verb+resource: 'Set an item's artwork, theme, etc.' and is reinforced by the documented PUT endpoint. It clearly identifies this as a mutation of metadata artwork elements, but 'etc.' is vague and it doesn't explicitly contrast with the similarly named sibling create_library_metadata_by_ids_by_element.

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 conditions for when to use this tool rather than create_library_metadata_by_ids_by_element or other update_library_metadata_by_ids_* alternatives. It lists parameters but not any selection criteria, prerequisites, or exclusions. The only hint is the PUT method embedded in the endpoint line.

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