Skip to main content
Glama

stop_recording

Destructive

Ends video recording in the browser and returns the generated WebM file path and duration.

Instructions

[Cinematic Engine] Stop video recording and return the video file path.

Closes the recording context and retrieves the generated video file. The video is saved as WebM format by Playwright.

Returns: {"success": True, "data": {"path": "...", "duration_sec": ...}}

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": "stop_recording"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
dataNo
hintsNo
messageNo
successNo
suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds genuine context beyond them: it closes the recording context, the output is a WebM file produced by Playwright, and it gives the return payload shape. It omits failure behavior when no recording is in progress.

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?

Front-loaded with the action and outcome in the first sentence, with supporting detail after. The second sentence largely restates the first, and the Returns block duplicates the output schema, but neither is long enough to be a real cost.

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 terminal action, the definition covers what it does, what it produces, and the file format. With an output schema present the return documentation is redundant, and the only real gap is what happens when no recording is active.

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?

Zero parameters, so the baseline of 4 applies; there is nothing for the description to clarify beyond what the empty schema already conveys.

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 and resource ("Stop video recording") plus the side effect (returns the video file path). The pairing with start_recording / recording_status in the sibling list is clear enough that an agent can select this tool without ambiguity.

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 must infer that this is the counterpart to start_recording and is called at the end of a capture session. There is no explicit guidance on preconditions (e.g., whether a recording must be active) or on what to do instead if no recording is running.

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