Skip to main content
Glama

Control Media Playback

obs_control_media

Control playback of an OBS media input: play, pause, restart, stop, skip to next or previous, or seek to a specific position in milliseconds.

Instructions

Play, pause, restart, stop or skip in a media input, or seek to a position. Give action, or seek_to_ms, or both (the seek is applied first).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input_name": "<input_name>"
    },
    "name": "obs_control_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoPlayback action
input_nameYesExact input (source) name, as returned by obs_list_inputs
seek_to_msNoPosition to jump to, in milliseconds from the start

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already disclose the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false), so the description doesn't need to restate safety. It adds one genuinely useful behavioral fact beyond annotations: that the seek is applied before the action when both are supplied. It does not say what happens on an invalid input_name, whether a seek alone implies a pause, or whether seek is clamped at media end.

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?

Two short sentences, zero filler. The capability list is front-loaded and the parameter-combination rule follows immediately, so the most decision-relevant information is first.

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?

For a three-parameter, no-output-schema mutation tool with full annotation coverage, this is nearly sufficient: the agent knows what it can do, how to combine parameters, and the ordering rule. The only real gap is the return/confirmation behavior and seek-only semantics, which is minor for a fire-and-forget control tool.

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 coverage is 100%, so the baseline is 3, and the description earns above baseline by specifying the combination rule and, importantly, the ordering semantics ('the seek is applied first') which the schema does not encode at all. It doesn't restate the enum values or the ms-from-start unit, correctly deferring those to the schema.

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 opens with a specific set of verbs (play, pause, restart, stop, skip) applied to a clearly named resource (a media input), plus seeking. That verb-and-resource precision, plus the explicit action enum in the schema, makes it distinguishable from status-oriented siblings like obs_get_media_status without consulting their schemas.

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 states the valid invocation shapes ('Give action, or seek_to_ms, or both'), which is real usage guidance for combining parameters. But it gives no when-to-use versus alternatives guidance, no prerequisites (e.g. that the input must be a media source, that input_name comes from obs_list_inputs is only in the schema), and no error or exclusion conditions.

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