Skip to main content
Glama

create_library_metadata_by_id_arts

Idempotent

Upload custom art for a Plex media item by providing its ID and the art payload.

Instructions

Upload media art Art.

POST /library/metadata/{id}/arts

Args: id: The unique identifier of the item body: Request payload. Read the matching GET or the /schema endpoint first to see the fields this resource expects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
bodyYes

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 readOnlyHint=false, idempotentHint=true, and destructiveHint=false, and the description does not contradict them — 'Upload' is consistent with a write operation. The description adds the useful context that the body schema is open-world and must be discovered via the GET or /schema endpoint. It does not, however, disclose what happens to existing art, whether the upload replaces or appends, or what content formats are accepted.

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 well-ordered: one-line purpose, endpoint path, then a two-line args list. Nothing is wasted. The awkward 'media art Art' phrasing is a blemish, but structurally it is front-loaded and appropriately sized for a two-parameter tool.

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 two-parameter tool with an output schema and safety annotations, the critical gap is the open-world body parameter, which the description addresses by pointing the agent to the GET/schema endpoints. The remaining gaps — what 'art' means versus posters, whether existing art is replaced, and what the response represents — are not covered, and these matter given the large set of library metadata siblings.

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 description coverage is 0%, so the description carries the burden of explaining parameters. It explains id as 'the unique identifier of the item' and, more valuably, tells the agent how to discover the body structure since the schema defines body as an unconstrained additionalProperties:true object. The id explanation is somewhat vague ('the item' is not clearly identified), so compensation for the 0% coverage is only partial.

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 — 'Upload media art' for a library metadata item identified by id. This is clear enough for an agent to know the operation performs an upload of artwork. However, the phrasing is garbled ('media art Art') and it does not distinguish this from the close sibling create_library_metadata_by_id_posters, so it misses the differentiator bar.

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 on when to use this tool versus alternatives such as create_library_metadata_by_id_posters or create_library_metadata_by_ids_by_element. The advice to 'Read the matching GET or the /schema endpoint first' is a field-discovery instruction, not a tool-selection guideline. There are no exclusions, prerequisites, or alternative routing provided.

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