Skip to main content
Glama

Remove a Source from a Scene

obs_remove_scene_item
Destructive

Remove a source from a specific OBS scene while keeping the source available to other scenes. Use only when the user asks to remove it, not to hide it temporarily.

Instructions

Remove one source from one scene. The source itself still exists if other scenes use it. To hide it temporarily, use obs_set_scene_item_enabled instead. Call only when the user asked to remove it.

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_name": "<scene_name>"
    },
    "name": "obs_remove_scene_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
scene_nameYesExact scene name, as returned by obs_list_scenes
source_nameNoSource name, used to look the item up when scene_item_id is not given
scene_item_idNoScene item id from obs_list_scene_items. Takes precedence over source_name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, and the description is consistent with all three. It adds genuine context beyond them: the blast radius is limited to the scene item while the underlying source survives if other scenes reference it, plus a user-intent gate before calling. It stops short of describing failure behavior when neither identifier resolves, which keeps it off a 5.

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, each doing distinct work: scope, side effect, alternative, and gating condition. The core action is stated first with no preamble or filler.

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 destructive mutation with no output schema, the description covers scope, side effects, the safer alternative, and the intent requirement. What remains thin is error/not-found behavior and whether removal is undoable, but nothing essential for correct invocation is missing.

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

Parameters3/5

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

Schema coverage is 100%, so scene_name, source_name and scene_item_id are all documented in the schema, including the precedence rule that scene_item_id wins over source_name. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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?

"Remove one source from one scene" gives a specific verb and both sides of the relationship, and the following sentence clarifies that only the scene item is deleted, not the source itself. This distinguishes it from obs_remove_scene and obs_remove_input without the agent needing to open either schema.

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

Usage Guidelines5/5

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

It names an explicit alternative (obs_set_scene_item_enabled) for the temporary-hide case and adds a hard precondition: "Call only when the user asked to remove it." That is both a when-to-use and a when-not-to-use rule with a named sibling.

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