Skip to main content
Glama

obs_set_scene_item_enabled

Destructive

Toggle a scene item's visibility in OBS Studio by setting it enabled or hidden. Returns the obs-websocket request without applying changes unless dry_run is set to false.

Instructions

Show or hide a scene item (SetSceneItemEnabled). dry_run defaults to true.

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": {
      "scene_item_id": "<scene_item_id>",
      "enabled": "<enabled>"
    },
    "name": "obs_set_scene_item_enabled"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation profile is known. The description adds that dry_run defaults to true, i.e. the call is a no-op unless explicitly applied, which is real behavioral context. However, that same fact is already spelled out in the schema's dry_run field, and the description does not explain reversibility, why the call is flagged destructive, or what happens to a hidden item's state.

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?

Two short sentences, front-loaded with the action and followed by the safety-relevant default; nothing is padded. The '(SetSceneItemEnabled)' parenthetical is arguably redundant but useful for mapping to the OBS API.

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?

For a five-parameter mutating tool with no output schema and 60% parameter coverage, the description is thin: it never says how to obtain scene_item_id, nor what the returned dry-run request looks like. Annotations plus schema carry most of the load, so this is adequate but not complete.

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

Parameters2/5

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

Schema coverage is 60% and the description only restates the dry_run default, which the schema already documents verbatim. It adds no meaning for enabled, scene_item_id, or the scene_name/scene_uuid either-or relationship, so it does not compensate for the uncovered parameters.

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?

"Show or hide a scene item" gives a specific verb pair and resource, and the parenthetical maps it to the underlying OBS request (SetSceneItemEnabled), which lets an agent distinguish it from siblings like obs_set_source_filter_enabled. It stops short of explicit sibling differentiation in prose, but the purpose is unambiguous.

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 only usage-relevant statement is that dry_run defaults to true, which is implied guidance about safe previewing. There is no explicit when-to-use or when-not guidance, and no pointer to alternatives such as obs_get_scene_items for discovering scene_item_id.

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