Skip to main content
Glama

Remove Input (Source)

obs_remove_input
Destructive

Permanently deletes a source from every scene that uses it; irreversible, so call only when the user explicitly requests deleting that input.

Instructions

Permanently delete an input from every scene that uses it. This cannot be undone. Call only when the user explicitly asked to delete that source. To take it out of one scene, use obs_remove_scene_item; to hide it, obs_set_scene_item_enabled.

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_remove_input"
  }
}

Input Schema

NameRequiredDescriptionDefault
input_nameYesExact input (source) name, as returned by obs_list_inputs

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 and idempotentHint=false, so the description's credit comes from the multi-scene blast radius ("from every scene that uses it"), which the annotations do not convey. It does not cover secondary effects — e.g. whether dependent filters or other inputs referencing the source are also removed — which keeps it below 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 sentences, front-loaded with the destructive action and its scope, then the precondition, then the alternatives. Every sentence carries distinct information with no repetition of the title.

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 destructive single-parameter tool with full annotations and no output schema, the description covers action, scope, irreversibility, precondition, and alternatives. The only gap is what happens to dependent objects that reference the input.

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% and the single parameter is documented as the exact name from obs_list_inputs, so the description needn't carry this load. It adds nothing beyond the schema, which is the baseline 3 case for a one-parameter tool.

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?

States a specific verb and resource ("Permanently delete an input") plus the critical scope ("from every scene that uses it"). The scope clause is exactly what distinguishes it from obs_remove_scene_item, so an agent can route correctly without opening a 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?

Gives an explicit precondition ("Call only when the user explicitly asked to delete that source") and names two alternatives with the conditions that select them: obs_remove_scene_item for single-scene removal, obs_set_scene_item_enabled for hiding. No inference required.

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