Skip to main content
Glama

Stop Recording

obs_stop_recording
Idempotent

Stops the current OBS recording and returns the finished file path, size, and duration after OBS confirms the output has stopped and the file is safe to read, copy, or edit.

Instructions

Stop the current recording and return the finished file.

Waits until OBS reports that the output has stopped and the file has stopped growing, so the returned path is safe to read, copy or edit. Returns output_path, size and duration. If OBS is not recording, returns that fact without error.

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

Input Schema

NameRequiredDescriptionDefault
wait_secondsNoHow long to wait for OBS to finish writing the file. Long recordings with remux enabled can need more

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses the key behavior an agent needs: the call blocks until OBS reports the output stopped and the file stopped growing, guaranteeing the returned path is safe to read, copy, or edit. It also states the returned fields (output_path, size, duration) and the no-recording no-error outcome, which is exactly the kind of context annotations cannot convey.

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 the file-safety guarantee, followed by return values and the edge case. No redundant or filler text; every sentence adds information.

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

Completeness5/5

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

With one optional parameter and no output schema, the description fully compensates by naming the returned fields and guaranteeing file readiness. There is nothing an agent needs to know in order to invoke or interpret this call that is missing.

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%, so the baseline is 3, but the description adds real meaning by explaining what the waiting represents (output stopped, file stopped growing) and why it matters for the returned path's safety. It never names wait_seconds directly, so the agent must map the 'waits' sentence to the parameter.

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 gives a precise verb and resource ('Stop the current recording') plus the added value of returning the finished file, which distinguishes it from obs_pause_recording or obs_start_recording without naming them. An agent can immediately tell what the call does and what it produces.

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 establishes the use context (when a recording is running) and explicitly covers the when-not case: calling while not recording returns that fact without error, so the agent knows a failed precondition is safe. It does not explicitly contrast with sibling pause/resume/stop_replay_buffer, which keeps it below a 5.

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