Skip to main content
Glama

stop_recording

Stop a recording. It answers once its files have finished uploading, with the assets it made: the screen's video and, when it recorded audio, the browser's audio as its own file.

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": {
      "sandbox_id": "<sandbox_id>",
      "recording_id": "<recording_id>"
    },
    "name": "stop_recording"
  }
}

Input Schema

NameRequiredDescriptionDefault
sandbox_idYesThe sandbox, `sbx_…`.
recording_idYesThe recording, `rec_…`.

Output Schema

NameRequiredDescriptionDefault
idYes`rec_…`.
errorNoWhy it failed, or why a file of it is missing.
stateYes`recording`, `done` or `failed`.
assetsYesIts files, once it's done: the screen's video (`screen.mp4`, or `screen.mkv` from a GPU capture), and the browser's audio (`system-audio.m4a`) when it records audio.
folderYesThe folder its files go in.
created_atYesRFC 3339.
sandbox_idYesThe sandbox it records.
stopped_atNoRFC 3339.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare it is a non-read-only, non-destructive, closed-world mutation. The description adds genuinely useful behavior not in the annotations: the call blocks until files finish uploading, and it returns the produced assets (screen video plus a separate browser audio file when audio was captured). It does not mention permission requirements or failure modes during upload.

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 short sentences, front-loaded with the action, then the important latency/return semantics. Every clause conveys information an agent needs when calling the tool; nothing is padding.

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 simple two-parameter mutation with an output schema present, the description is nearly complete: it explains the blocking upload behavior and the shape of returned assets, though it is slightly redundant with the output schema and omits error conditions. Nothing essential to invoking it correctly is missing.

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 description coverage is 100%, with both sandbox_id (`sbx_…`) and recording_id (`rec_…`) documented including their prefixes. The description adds no additional meaning about these identifiers, so the schema-carries-the-load baseline of 3 applies.

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?

States a specific verb and resource ("Stop a recording") that an agent can distinguish from start_recording on name alone. It stops short of naming or contrasting a sibling explicitly, so it is clear but not maximally differentiating.

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 only implied: an agent infers it should call this to end an in-progress recording. There is no explicit when-to-use/when-not guidance, no mention of what happens if no recording is active, and no pointer to complementary tools like get_recording or stop_sandbox.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources