Skip to main content
Glama

obs_batch

Destructive

Sends a raw obs-websocket RequestBatch to control OBS Studio, supporting serial or parallel execution and dry-run preview by default.

Instructions

Send a raw obs-websocket RequestBatch (opcode 8). Each item needs requestType and may include requestData. execution_type is serial_realtime (default), serial_frame, or parallel. Responses redact streamServiceSettings key fields. 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": {
      "requests": "<requests>"
    },
    "name": "obs_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoWhen true (the default), return the obs-websocket request and do not send it. Set false to apply the change.
requestsYes
execution_typeNoserial_realtime
halt_on_failureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=true; the description earns credit by disclosing that dry_run defaults to true (a safety gate), that responses redact streamServiceSettings key fields, and what opcode semantics apply. It stops short of explaining halt_on_failure behavior or what a partial-failure batch returns.

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?

Four short sentences, front-loaded with the core action and opcode, then the item contract, execution modes, redaction, and the safety default. No sentence is filler and nothing repeats structured fields verbatim.

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, nested-array batch tool with no output schema and 25% schema coverage, the description supplies enough to call it correctly and safely. The omissions (halt_on_failure semantics, response envelope shape) are minor but real for a tool whose annotations flag it as destructive.

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 only 25%, so the description must compensate and largely does: it documents requestType/requestData shape, the three execution_type values with the default, and the dry_run default. The one real gap is halt_on_failure, which neither the schema nor the description explains.

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: 'Send a raw obs-websocket RequestBatch (opcode 8).' The 'raw batch' framing implicitly separates it from the single-purpose sibling setters (obs_set_input_mute, obs_set_transition, etc.), but it never explicitly differentiates itself or names when the raw escape hatch is preferred.

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?

Gives per-field mechanics (requestType required, requestData optional, allowed execution_type values) but no when-to-use or when-not guidance relative to the many specific siblings. The dry_run default is stated, which is a useful operating hint, yet an agent is left to infer that this tool is for multi-request atomic batches rather than single operations.

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