Skip to main content
Glama

Change Input Settings

obs_set_input_settings
Idempotent

Change settings for an OBS input source, such as text or image file, by merging new values into existing settings or replacing them entirely when overlay is false.

Instructions

Change settings of one input, e.g. the text shown by a text source or the file of an image source. By default the given keys are merged into the existing settings; with overlay=false the settings are replaced, and unlisted keys reset to defaults.

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>",
      "input_settings": "<input_settings>"
    },
    "name": "obs_set_input_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
overlayNotrue merges into the current settings; false replaces them entirely
input_nameYesExact input (source) name, as returned by obs_list_inputs
input_settingsYesSettings as a JSON object. Keys depend on the kind; read the current ones first

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, but the description adds the crucial consequence not in the annotations: with overlay=false, unlisted keys are reset to defaults, i.e. what effectively gets lost. There is a mild tension with destructiveHint=false since that mode does discard existing keys, but it is opt-in and off by default, so this is a disclosed caveat rather than a contradiction. Error behavior (unknown input name, invalid keys) is not disclosed.

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 sentences, front-loaded with purpose and followed by the mode/risk semantics. No filler, no restatement of the title, and the most consequential clause (unlisted keys reset) lands last where it reads as a warning.

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 mutation tool taking an arbitrary nested settings object with no output schema, the definition covers the essential semantics: which input, merge vs replace, and the reset consequence. It stops short of describing the response or failure behavior for a bad input_name or rejected keys, which an agent would want before a replace operation.

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, but the description adds meaning the schema does not: the reset-to-defaults consequence of overlay=false, which the schema only frames as "replaces them entirely." That is a genuine semantic addition for the one parameter whose effect is easy to misjudge.

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 ("Change settings of one input") and immediately bounds the scope with two concrete examples (text source's text, image source's file). The set-vs-get and input-vs-filter distinction from siblings such as obs_get_input_settings and obs_set_source_filter_settings is clear from the wording itself.

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 thoroughly explains the two operating modes (merge by default, replace with overlay=false), which is real guidance about how to call it. It gives no explicit when-to-use/when-not guidance against alternatives — nothing tells the agent to prefer obs_create_input for new inputs or obs_get_input_settings first, and the 'read the current ones first' advice lives only in the schema.

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