Skip to main content
Glama

services_camera_record

Record a video clip from a Home Assistant camera entity to a file in the config directory for a specified duration.

Instructions

Record a short clip from a camera entity to filename for duration seconds.

filename is a path inside the HA config dir (e.g. /config/www/snapshots/clip.mp4).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entity_idYes
filenameYes
durationNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

The description lacks behavioral details beyond the basic action. It does not disclose what happens if the file exists, required permissions, or return value implications. Given no annotations, the description carries the full burden, and this is insufficient.

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?

The description is extremely concise with two sentences, no redundancy. It efficiently conveys the core information without extraneous details.

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

Completeness2/5

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

Given the tool's complexity and lack of annotations, the description is incomplete. It omits crucial context like camera recording prerequisites, file overwrite behavior, and what the tool returns (despite an output schema existing).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description should compensate. It only adds context for 'filename' (path in HA config dir) but leaves 'entity_id' and 'duration' (beyond its existence) unexplained. The example helps but is not comprehensive.

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 clearly states the action ('Record a short clip'), the resource ('camera entity'), and the key parameters ('filename', 'duration'). It effectively distinguishes this from the sibling tool 'services_camera_snapshot' by specifying it records a clip rather than a snapshot.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like 'services_camera_snapshot' or prerequisites such as camera support for video recording. The description does not address context or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fistacho/ha-nexus-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server