Skip to main content
Glama

Save Replay Clip

obs_save_replay

Saves the current replay buffer to a file and returns the clip path, so you can capture something that just happened in OBS Studio.

Instructions

Save the contents of the replay buffer to a file and return its path. Use to clip something that just happened.

The replay buffer must be running (obs_start_replay_buffer). Waits for OBS to report the saved file.

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_save_replay"
  }
}

Input Schema

NameRequiredDescriptionDefault
wait_secondsNoHow long to wait for OBS to write the clip

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false), the description discloses that this writes a file on disk, returns a path, and blocks while waiting for OBS to report completion — the blocking behavior is the non-obvious trait here given idempotentHint=false. It stops short of describing timeout/failure behavior for the wait.

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 result, followed by the use case and then the precondition. No restatement of the tool name or title, 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?

With no output schema, the description correctly states the return value (the file path), and it covers the prerequisite and the blocking semantics for a single optional parameter. The gap is what happens when the wait elapses without a report or when the buffer isn't active — a real question for a 2–120 second blocking call.

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 100% and it already documents wait_seconds as "how long to wait for OBS to write the clip," so the schema carries the detail. The description adds the causal context — the wait exists because OBS reports the saved file asynchronously — which clarifies why a 2–120 second timeout is exposed rather than the call being instantaneous.

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?

The description pairs a specific verb and resource ("Save the contents of the replay buffer to a file") with the observable outcome ("return its path"), and the phrase "replay buffer" cleanly separates it from obs_start_replay_buffer and obs_stop_replay_buffer, whose names alone signal different operations. An agent can tell exactly what this does without opening the schema.

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

Usage Guidelines4/5

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

It gives an explicit use case ("Use to clip something that just happened") and a hard precondition that routes the agent to a named sibling: "The replay buffer must be running (obs_start_replay_buffer)." What's missing is a failure/exclusion path — it never says what to do or expect if the buffer is not running, only that it must be.

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