Skip to main content
Glama

create_media_subscriptions

Idempotent

Create automated media subscriptions to add or download shows and seasons into a Plex library section, using hints and preferences to target specific content.

Instructions

Create a subscription.

POST /media/subscriptions

Args: target_library_section_id: The library section into which we'll grab the media. Not actually required when the subscription is to a playlist. target_section_location_id: The section location into which to grab. type: The type of the thing we're subscribing too (e.g. show, season). hints: Hints describing what we're looking for. Note: The hint ratingKey is required for downloading from a PMS remote. prefs: Subscription preferences. params: Subscription parameters.

  • mediaProviderID: Required for downloads to indicate which MP the subscription will download into

  • source: Required for downloads to indicate the source of the downloaded content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNo
hintsNo
prefsNo
paramsNo
target_library_section_idNo
target_section_location_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already indicate the operation is not read-only, is idempotent, and is non-destructive, so the description need not repeat that. It adds behavioral context by noting the playlist exception and the required ratingKey hint for downloads, but it does not detail side effects or post-creation behavior. This is reasonable given annotation coverage.

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 core purpose is front-loaded in the first line, and the argument descriptions follow a clean list. The sub-bullets under 'params' are slightly awkward, but they convey needed detail in a compact way. It is not over-engineered and every sentence carries meaning.

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

Completeness4/5

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

With an output schema available and a domain-normal concept, the description adequately explains how to pass each parameter and the circumstances that modify them. It could state the higher-level purpose of a subscription more explicitly, but it is sufficient for an agent to invoke this tool correctly.

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%, so the description must document the parameters itself, and it does so for all 6. For instance, target_library_section_id is described as the section into which media will be grabbed and extra notes clarify its necessity, while hints includes the ratingKey requirement. The descriptions of prefs and params are thin, but still offer a meaning plus an example sub-parameter, which is above baseline.

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 clearly states it creates a subscription and provides the POST /media/subscriptions endpoint, making the verb, resource, and intent specific. It does not explicitly differentiate itself from the sibling create_media_subscriptions_process, but the name and sentence are enough to distinguish it from update/delete/list tools.

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

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no explicit comparison to alternative tools, but it does include useful conditional usage hints: 'Not actually required when the subscription is to a playlist' and the requirement that ratingKey is needed for PMS remote downloads. These imply scenarios in which the tool is appropriate, though they are parameter-level guidance rather than tool-level decision rules.

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