Skip to main content
Glama

obs_set_preview_scene

Destructive

Set the OBS Studio preview scene in Studio Mode to stage a scene before going live; defaults to a dry run that returns the obs-websocket request without applying it.

Instructions

Set the preview scene (SetCurrentPreviewScene). Studio mode must already be on. dry_run defaults to true.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "obs_set_preview_scene"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoWhen true (the default), return the obs-websocket request and do not send it. Set false to apply the change.
scene_nameNoOBS scene_name. Provide this or scene_uuid.
scene_uuidNoOBS scene_uuid. Provide this or scene_name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, and the description usefully adds that dry_run defaults to true, meaning the call is safe-by-default unless explicitly disabled — genuine context an agent would not get from the annotations alone. The studio-mode precondition is also behavioral context not encoded in the schema; only failure behavior when studio mode is off is left unstated.

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?

Three short sentences, front-loaded with the action, then the prerequisite, then the safety default. Nothing is repeated or wasted.

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?

A destructive mutation with full schema coverage and no output schema needs to convey the safety profile and prerequisites — this description does both. The only gap is what happens if studio mode is off (error vs no-op), which is minor given the explicit precondition.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and each parameter already documents its role, including the scene_name/scene_uuid alternative and the dry_run semantics. The description reinforces the safety-relevant default ('dry_run defaults to true'), adding emphasis on the one parameter whose value most changes the call's impact, so it exceeds the baseline without contradicting the schema.

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?

States a specific verb and resource ('Set the preview scene') and even names the underlying obs-websocket request (SetCurrentPreviewScene), so the action is unambiguous. It does not distinguish itself from the closely named sibling obs_set_current_scene (program scene), leaving the preview-vs-program distinction for the agent to infer.

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

Usage Guidelines4/5

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

Gives a concrete precondition: 'Studio mode must already be on,' which is the key gating condition for this call. It stops short of naming an alternative or stating when not to use it (e.g., use obs_set_current_scene to change the program scene), so it is clear context without exclusions.

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