Skip to main content
Glama

Play media

media_play

Start media playback in OBS with optional speed adjustment and seek to a specified time. Resolve playback control needs directly.

Instructions

Start normal playback. Optionally change playback speed and/or seek to startMs before playing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mediaIdNoMedia ID. This is the OBS input UUID returned by media_add/media_list.
startMsNo
mediaNameNoOBS media input name.
speedPercentNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
errorNo
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations are all false, offering little behavioral signal. The description discloses the primary action (start playback) and optional adjustments, but omits details like what happens if media is already playing, whether it restarts, or any side effects. It does not contradict annotations, but adds limited context beyond the basic operation.

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?

A single 14-word sentence that is front-loaded with the primary action ('Start normal playback') and then lists optional modifiers. No filler or repetition; each word earns its place.

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?

The tool has 4 optional parameters but the description does not clarify whether mediaId and mediaName are mutually exclusive alternatives or both needed, nor what happens if neither is provided. It also doesn't mention the output schema, but that exists separately. These gaps make it less complete than ideal for an agent to call 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 covers 50% of parameters (mediaId and mediaName have descriptions). The description compensates by explaining startMs ('seek to startMs before playing') and speedPercent ('change playback speed'), which are otherwise undocumented. This adds meaningful context for the ambiguous parameters, though units for speedPercent are not explicitly stated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action ('Start normal playback') with clear optional modifiers (speed and seek). It distinguishes from siblings like media_seek and media_speed_set by combining them, and from media_play_range by implying full playback. The verb and resource are explicit.

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 implies when to use the tool (starting playback with optional speed/seek) but does not explicitly mention alternatives or exclusions. It doesn't say 'use media_seek for seeking only' or 'use media_play_range for a range'. Guidance is implicit, not explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.