Skip to main content
Glama

set_mute

Mute or unmute a specific audio input in OBS Studio to control audio levels during streaming or recording.

Instructions

Mute or unmute an audio input.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_nameYesName of the audio input (from list_audio_inputs).
mutedYestrue to mute, false to unmute.

Implementation Reference

  • The handler logic for the 'set_mute' tool, which calls the OBS WebSocket 'SetInputMute' command.
    case "set_mute": {
      await obs.call("SetInputMute", {
        inputName: args.input_name,
        inputMuted: args.muted,
      });
      return ok({ input: args.input_name, muted: args.muted });
    }
  • The schema definition for the 'set_mute' tool, defining the input properties 'input_name' and 'muted'.
      name: "set_mute",
      description: "Mute or unmute an audio input.",
      inputSchema: {
        type: "object",
        properties: {
          input_name: {
            type: "string",
            description: "Name of the audio input (from list_audio_inputs).",
          },
          muted: {
            type: "boolean",
            description: "true to mute, false to unmute.",
          },
        },
        required: ["input_name", "muted"],
      },
    },
Behavior2/5

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

No annotations provided, so the description carries the full disclosure burden. It states the core mutation but omits critical behavioral details: whether changes persist across sessions, error conditions if the input_name doesn't exist, idempotency properties, or success indicators.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely concise at four words. While efficient and front-loaded with the action, this brevity is insufficient given the lack of annotations and sibling tool context. However, the sentence structure is direct and contains no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Adequate for a simple 2-parameter mutation with complete schema coverage, but leaves significant gaps regarding the relationship to `toggle_mute` and runtime behavior expectations. No output schema exists, but for a boolean setter this is acceptable.

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?

With 100% schema description coverage documenting both parameters clearly, the baseline is 3. The description adds minimal semantic value beyond the schema—essentially restating the `muted` parameter's boolean purpose and confirming the resource type as 'audio input' (already implied by the parameter name).

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?

The description states a specific action (mute/unmute) on a specific resource (audio input). However, it fails to distinguish from the sibling tool `toggle_mute`, which performs a similar function using a different mechanism (toggling vs. explicit boolean setting).

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

Usage Guidelines2/5

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

No explicit guidance on when to use `set_mute` versus the sibling `toggle_mute`, or when to prefer this over `set_volume` (setting volume to 0). The schema parameter description references `list_audio_inputs` as a prerequisite, but the main description provides no usage context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LarsCanGit/OBS-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server