Skip to main content
Glama

Start or Stop Virtual Camera

obs_set_virtual_camera
Idempotent

Turns the OBS virtual camera on or off by setting its active state, and does nothing if it is already in the requested state.

Instructions

Turn the OBS virtual camera on or off. Does nothing if it is already in the requested state.

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": {
      "active": "<active>"
    },
    "name": "obs_set_virtual_camera"
  }
}

Input Schema

NameRequiredDescriptionDefault
activeYestrue to start the virtual camera, false to stop it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety profile is covered by structured data. The description's 'does nothing if it is already in the requested state' reinforces the idempotent behavior, which is useful confirmation but largely restates the annotation. It adds no context about failure modes, permissions, or side effects on downstream consumers of the camera feed.

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, no filler, and the core action is front-loaded in the first sentence. The idempotency note follows logically and every clause earns its place.

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 one-parameter toggle with full schema coverage, no output schema, and annotations covering safety and idempotency, the description is nearly sufficient. The remaining gap is operational context—whether OBS must be running and what happens on failure—but that is a modest omission for a tool this simple.

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 boolean parameter is fully documented in the schema itself ('true to start the virtual camera, false to stop it'). The description's 'on or off' phrasing maps directly onto that parameter but contributes no additional syntax or constraint detail. Baseline 3 is correct when the schema does the work.

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 names a specific verb+resource: turning the OBS virtual camera on or off. That is distinct from every sibling, none of which touch the virtual camera, so an agent can identify the tool without ambiguity. It stops short of 5 only because it doesn't frame the tool relative to the rest of the OBS control surface.

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?

Usage is implied rather than stated: the agent knows the tool toggles the virtual camera but gets no guidance on preconditions, such as whether OBS must be running or whether the camera can be toggled during an active stream. No alternatives or exclusions are mentioned, though for a single-purpose toggle there are few plausible ones.

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