Skip to main content
Glama

Stop Replay Buffer

obs_stop_replay_buffer
DestructiveIdempotent

Stops the OBS replay buffer and discards its saved moments; has no effect when the buffer is not running. Save first if the recent footage matters.

Instructions

Stop the replay buffer and discard what it holds. Does nothing if it is not running. Save first with obs_save_replay if the last moments matter.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "obs_stop_replay_buffer"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description reinforces these with concrete meaning — the held buffer data is lost, and the call is harmless when not running. It does not cover permissions or what the call reports back, but the safety-relevant behavior is fully surfaced.

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?

Three short sentences, front-loaded with the action and its destructive consequence, then the no-op condition, then the safe alternative. Every sentence carries distinct operational information with no filler.

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 zero-parameter, non-read-only control call with full annotation coverage and no output schema, the definition covers action, side effect, no-op case, and the recommended predecessor. Only the shape of the response is left unstated, a minor gap for a tool this simple.

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?

The tool takes zero parameters, so the baseline is 4 and there is nothing for the description to disambiguate. It correctly avoids inventing parameter discussion where none exists.

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 (stop) and resource (replay buffer) plus the immediate consequence (discards contents), which separates it cleanly from obs_save_replay, obs_start_replay_buffer, and obs_get_replay_buffer_status. An agent can distinguish it from every listed sibling without opening a schema.

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

Usage Guidelines5/5

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

Explicitly names the alternative action and the condition that should precede this one: save first with obs_save_replay if the last moments matter. It also gives the precondition under which the call is a no-op, so both when-to-call and when-not-to-bother are covered.

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