Skip to main content
Glama

start_recording

Start recording a ready sandbox's screen, and its audio unless audio is false. Its files upload as assets while it records, in a folder of its own in the sandbox's folder. Stop it with stop_recording; stopping the sandbox stops it too.

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>"
    },
    "name": "start_recording"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe folder in the sandbox's folder its files go in, such as `checkout-flow`; the recording's ID when absent.
audioNoRecord the browser's audio too, as its own file; true when absent.
sandbox_idYesThe sandbox, `sbx_…`.

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

A4.2/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses real behavior: files are uploaded as assets continuously while recording and land in a dedicated folder inside the sandbox's folder. It also warns that stopping the sandbox terminates the recording, a lifecycle side effect an agent would not otherwise know. It does not cover failure modes such as starting a second recording.

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 sentences, each earning its place: capture scope first, then where output goes, then how to stop it. Front-loaded and free of 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?

An output schema exists, so return values need not be explained, and the description covers capture scope, output location, and termination. Minor gaps remain around re-entrancy (what happens if a recording is already in progress) for what is a state-changing tool.

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%, so the defaults for name and audio are already documented in the schema. The description restates the audio default and folder placement but adds no format or edge-case detail beyond the structured fields, so the baseline of 3 applies.

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 names a specific verb and resource ('Start recording a ready sandbox's screen') and immediately scopes what is captured (screen plus audio by default). It also names the sibling that ends the operation ('stop_recording'), so an agent can distinguish this from the teardown tool without inspecting either 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 states the prerequisite implicitly but clearly with 'a ready sandbox', which tells the agent the sandbox must already be running, and it points to stop_recording as the counterpart action. It stops short of an explicit when-not-to-use statement or guidance on what to do if a recording is already active.

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