Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OBS_WS_URLNoobs-websocket URL (`ws:` or `wss:`)ws://127.0.0.1:4455
OBS_STREAM_KEYNoStream key. Never printed by a tool result
OBS_WS_PASSWORDNoServer password, when OBS requires one
OBS_STREAM_SERVERNoIngest URL when `server` is omitted
OBS_WS_RETRY_MAX_MSNoBackoff cap2000
OBS_WS_RETRY_BASE_MSNoFirst backoff delay; later delays double200
OBS_WS_RETRY_ATTEMPTSNoConnection attempts4

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Read OBS with obs_status, obs_list_scenes, obs_list_inputs, obs_get_scene_items, and obs_list_transitions. Write tools default dry_run to true and return the obs-websocket request instead of sending it. Set dry_run to false only after the user confirms. Back up the scene collection before scene or item edits. Stream keys are redacted.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
obs_statusA

Read OBS version, stream status, record status, studio mode, program scene, preview scene, and stats. Does not return stream service settings.

obs_list_scenesA

List scenes (GetSceneList), including the current program and preview scene names.

obs_list_inputsB

List inputs (GetInputList). Optional input_kind limits the list to one kind.

obs_get_scene_itemsB

List scene items in one scene (GetSceneItemList). Provide scene_name or scene_uuid.

obs_list_transitionsB

List scene transitions (GetSceneTransitionList) and the current transition, including duration (GetCurrentSceneTransition).

obs_set_current_sceneB

Set the program scene (SetCurrentProgramScene). dry_run defaults to true.

obs_set_preview_sceneA

Set the preview scene (SetCurrentPreviewScene). Studio mode must already be on. dry_run defaults to true.

obs_set_studio_modeB

Enable or disable studio mode (SetStudioModeEnabled). dry_run defaults to true.

obs_set_transitionA

Set the current transition by name (SetCurrentSceneTransition) and optionally its duration in milliseconds (SetCurrentSceneTransitionDuration, 50-20000). Provide name, duration, or both. dry_run defaults to true.

obs_trigger_studio_transitionB

Trigger the studio mode transition (TriggerStudioModeTransition). dry_run defaults to true.

obs_set_input_muteA

Mute or unmute an input (SetInputMute). Provide input_name or input_uuid. dry_run defaults to true.

obs_set_input_volumeA

Set input volume (SetInputVolume). Provide exactly one of volume_db (-100 to 26) or volume_mul (0 to 20), plus input_name or input_uuid. dry_run defaults to true.

obs_set_scene_item_enabledB

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

obs_set_source_filter_enabledB

Enable or disable a source filter (SetSourceFilterEnabled). dry_run defaults to true.

obs_streamA

Start, stop, or toggle the stream (StartStream, StopStream, ToggleStream). Does not read or set the stream key. dry_run defaults to true.

obs_recordB

Start, stop, pause, or resume recording (StartRecord, StopRecord, PauseRecord, ResumeRecord). dry_run defaults to true.

obs_replay_bufferB

Start, stop, or save the replay buffer (StartReplayBuffer, StopReplayBuffer, SaveReplayBuffer). dry_run defaults to true.

obs_virtualcamB

Start, stop, or toggle the virtual camera (StartVirtualCam, StopVirtualCam, ToggleVirtualCam). dry_run defaults to true.

obs_batchA

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.

obs_backup_scene_collectionA

Read scenes, scene items, groups, and transitions, then write them to a JSON file. Use this before scene or item edits. dry_run defaults to true and does not connect or write a file. The second-wave item requests depend on the scene and group names OBS returns.

obs_recipe_scene_packA

Create the Starting, Live, BRB, and Ending scenes (CreateScene). Existing names are left in place. dry_run defaults to true. Apply requires backup_path and writes a scene-collection backup first.

obs_recipe_transitionsA

Set Fade at 300ms as the everyday transition (SetCurrentSceneTransition, SetCurrentSceneTransitionDuration). When stinger_path is set, configure that stinger (path, transition_point, fade out/in) and then return the current transition to Fade. dry_run defaults to true. Apply backs up first.

obs_recipe_mic_chainB

Add noise suppression (RNNoise), noise gate, compressor, and limiter to one input, in that order (CreateSourceFilter). An existing filter name is updated instead of created. dry_run defaults to true. Apply backs up first.

obs_recipe_celebrationA

Ensure a Celebration scene exists, cut to it, hold, then return to the program scene (RequestBatch with Sleep). dry_run defaults to true and does not read the current scene. Apply backs up first.

obs_set_stream_serviceA

Set the RTMP stream service (SetStreamServiceSettings). The server URL comes from the server argument or OBS_STREAM_SERVER. The stream key is read only from OBS_STREAM_KEY and is never accepted as an argument and never returned. dry_run defaults to true.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 25 tools

Disambiguation4/5

Most tools are clearly separated by resource and action (scenes, inputs, transitions, stream/record), and descriptions clarify boundaries. Minor overlap exists between obs_set_transition and obs_recipe_transitions, and between obs_stream and obs_set_stream_service, but the recipe/config distinction is still clear.

Naming Consistency4/5

The set uses a consistent obs_ snake_case prefix throughout. Most names follow verb_noun (obs_list_scenes, obs_set_input_mute), but several are noun/operation names (obs_status, obs_stream, obs_record, obs_batch), and recipe_* is a separate convention.

Tool Count3/5

25 tools sit at the top of the heavy 16-25 range. Core controls are justified, but the recipe tools duplicate lower-level capabilities and noticeably expand the surface area.

Completeness4/5

Coverage is broad: status, scenes, items, inputs, transitions, stream/record/replay/virtualcam, filters, studio mode, backup, and batch. Generic create/delete operations for scenes, inputs, and filters are missing, but obs_batch and the recipe tools provide workarounds.

Maintenance

ActivitySlowing
ResponsivenessNo recent community issues