Skip to main content
Glama

update_library_metadata_by_ids_intro

Idempotent

Detect intros in Plex media items by providing comma-separated IDs. Optionally force re-detection or adjust threshold for identifying content as an intro.

Instructions

Intro detect an item.

PUT /library/metadata/{ids}/intro

Args: ids: Comma-separated list of IDs force: Indicate whether detection should be re-run threshold: The threshold for determining if content is an intro or not

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYes
forceNo
thresholdNo

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?

The description adds a bit of behavioral context beyond the annotations by indicating this is a detection operation that can be re-run and has a threshold for intro classification. Annotations already convey idempotency and non-destructiveness, so the description does not need to repeat those, and it does not contradict them.

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 structure is compact and easy to scan: a one-line purpose, the endpoint, and an Args list. The first sentence is grammatically poor, but there is no redundant filler and the endpoint is front-loaded.

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?

With an output schema present and safety-related annotations available, the description does not need to explain return values or destructive behavior. Still, it lacks parameter value domain details and any comparison to sibling detection tools, which makes it minimally adequate but not fully complete for confident invocation.

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 full burden for parameter meaning. It provides a functional gloss for each parameter: comma-separated ids, force as a re-run flag, and threshold as the intro decision boundary. However, it does not specify acceptable values, ranges, or behavior when optional parameters are omitted, leaving real gaps.

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 identifies intro detection as the operation and gives the explicit PUT endpoint, so an agent can distinguish it from sibling tools like credits or voice_activity by subject. The wording 'Intro detect an item' is awkward, but the verb 'detect' plus the endpoint and args make the core purpose clear.

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?

There is no guidance on when to use this tool versus related siblings such as update_library_metadata_by_ids_addetect, update_library_metadata_by_ids_credits, or update_library_metadata_by_ids_analyze. The only usage hint is implicit through the 'force' arg indicating re-running detection, but no explicit when-to-use or when-not-to-use conditions are given.

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