Skip to main content
Glama

update_metadata_from_json

Update a Plex media item's metadata using a JSON payload. Ensure PLEX_ENABLE_MUTATIVE_OPS is enabled to apply changes.

Instructions

Update metadata from a JSON payload (requires PLEX_ENABLE_MUTATIVE_OPS=true)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metadataYesMetadata payload to apply
ratingKeyYesThe rating key of the media item to update
setPosterFromUrlNoAttempt to set poster from metadata.images.posters[0].url
Behavior2/5

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

With no annotations provided, the description carries full responsibility for disclosing behavioral traits. It does disclose that the operation is mutative and gated by an environment variable, which is useful context. However, it fails to explain what happens to existing metadata (overwrite vs. merge), whether permissions are required beyond the env var, side effects, or error/return behavior. The single sentence leaves most behavioral expectations unspecified.

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

Conciseness5/5

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

The description is a single, efficient sentence that is front-loaded with the core action and contains no filler. It earns its place by also noting the critical environment variable requirement.

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

Completeness2/5

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

Given the tool's complexity (nested metadata object, mutation, sibling update_metadata) and the absence of annotations and output schema, the description is too sparse. It does not explain return values, error conditions, how metadata is applied, or how this tool differs from 'update_metadata'. A more complete description should cover at least merge behavior and the env var consequence.

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 100%, so the input schema already documents all parameters. The description adds no extra meaning about parameter semantics; it just repeats 'JSON payload' without detailing the expected structure or how parameters interact. Baseline 3 is appropriate given the schema's completeness.

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 'Update metadata from a JSON payload' clearly states the action (update metadata) and the input format (JSON payload). It is specific enough to convey the tool's basic function, but it does not explicitly differentiate from the sibling tool 'update_metadata', leaving some ambiguity about when to use this vs. that variant.

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 provides no guidance on when to use this tool versus alternatives like 'update_metadata'. It only mentions a prerequisite (PLEX_ENABLE_MUTATIVE_OPS=true), which is a condition for use but not a usage guideline. There is no mention of scenarios, exclusion criteria, or preferred alternative tools.

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/niavasha/plex-mcp-server'

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