Skip to main content
Glama

start_recording

Starts background video recording from a specified camera and returns a recording_id to stop it later.

Instructions

开始用指定摄像头录像(后台运行,返回 recording_id 用于停止)

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

Input Schema

NameRequiredDescriptionDefault
fpsNo帧率 1-60,默认 30
pathNo保存路径,默认 ./videos/video-{timestamp}.mp4
deviceYes摄像头设备名
resolutionNo分辨率,如 1280x720,默认 1280x720

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose two non-obvious behaviors: recording runs in the background and the call returns a recording_id required for stopping. It omits failure modes (camera busy/not found), permission needs, and file-overwrite behavior at the target path.

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?

A single tight sentence with the action front-loaded and the non-obvious behavior (background execution, returned recording_id) packed into a compact parenthetical. No wasted words; the parenthetical does double duty but remains readable.

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

Completeness3/5

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

For a 4-parameter tool with no annotations and no output schema, the description usefully explains the return value and async nature. However, it leaves out device discovery, error/conflict behavior, and how the returned recording_id links to stop_recording, leaving real gaps for an agent to infer.

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%; the schema already documents device, fps (1-60, default 30), resolution, and path default. The description adds no parameter-level meaning beyond that, so the baseline 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?

The description states a specific verb+resource: start recording video with the specified camera. The parenthetical '返回 recording_id 用于停止' implicitly signals the start/stop pairing with the stop_recording sibling, but no sibling is named explicitly, so it stops short of a 5.

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: you call this to capture video rather than a still (take_photo). There is no explicit guidance on prerequisites, such as using list_cameras to obtain a valid device name, or on what to do if a recording is already in progress.

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