Skip to main content
Glama

OpenFactory

desktop_start_recording

Start recording a VM's screen to a video file.

Runs server-side on the libvirt capture path, so you can keep watching the VM's live VNC console and keep driving it with the desktop_* tools while it records. Returns a recording_id and a video_url (fetchable once stopped). Call desktop_stop_recording(recording_id) to finish.

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": {
      "vm_name": "<vm_name>"
    },
    "name": "desktop_start_recording"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNoFrames per second (1-5; default 2)
labelNoOptional human label
formatNoVideo format: mp4 (H.264) or webm (VP9)mp4
api_keyNoYour OpenFactory MCP API key (optional)
vm_nameYesTester/desktop VM to record (of-tester-* / of-desktop-*)
session_tokenNoSession token from a previous tool response

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

With no annotations, the description carries the disclosure burden well: it explains the capture runs server-side, that the console remains interactive during recording, and that the returned video_url is only fetchable after stopping. It omits failure modes such as what happens if a recording is already active or whether long recordings are capped.

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?

Four short sentences, front-loaded with the action, then the concurrency benefit, then the return values, then the closing call. Every sentence contributes a distinct fact with no redundancy.

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 and all six parameters are documented in-schema, so the description needs only to cover the recording lifecycle and concurrency behavior, which it does. The only gap is edge-case behavior (duplicate recordings, duration limits) for a stateful operation.

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% (fps range, format options, label, API key, session token all documented inline), so the baseline is 3. The description adds no additional meaning about vm_name naming conventions or format/fps trade-offs beyond the schema.

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: 'Start recording a VM's screen to a video file.' It further distinguishes the scope from one-shot siblings by explaining the recording happens server-side on the libvirt capture path while the live VNC console stays usable.

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?

Explicitly gives the lifecycle pairing: 'Call desktop_stop_recording(recording_id) to finish,' which names the required follow-up tool. It also implies the use case (record while continuing to drive the VM with desktop_* tools) but stops short of explicitly contrasting with desktop_screenshot for a single frame.

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.