Skip to main content
Glama

Change or render the video

edit_video
Destructive

Change the camera path and render it as video: add or delete keyframes, clear path, generate an aerial orbit, adjust fps/speed, and write a Motion-JPEG AVI file.

Instructions

Change the video camera path, or render it. add {cam? | x?,y?,z?,yaw?,pitch?,fov?, i?} appends a keyframe (missing values from the visitor); delete {i}; clear; orbit {z?,n?} replaces the path with an aerial tour; set {fps?,speed?}; render {path .avi, w?,h?} writes a Motion-JPEG video. cm, degrees, m/s. The path itself is the video tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hNoVideo height, px
iNoKeyframe index (`delete`, or insert position for `add`)
nNoKeyframes for `orbit`
wNoVideo width, px
xNoKeyframe eye position on the plan, cm
yNoKeyframe eye position on the plan, cm (y grows down)
zNoKeyframe eye height, cm
camNoStored view index to add as keyframe
fovNoKeyframe horizontal field of view, degrees
fpsNoFrames per second of the rendered video
yawNoKeyframe direction, degrees clockwise on the plan
pathNoOutput `.avi` for `render`
pitchNoKeyframe tilt, degrees down
speedNoCamera speed m/s
actionNo`add`, `delete`, `clear`, `orbit`, `set` or `render`

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
vNoPlan version written to, when there are several
okNoAlways true
idsNoIds created or touched
revNoPlan revision
secsNoaction=render: length in seconds
textNoThe reply as written
bytesNoaction=render: file size
framesNoaction=render: frames written

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already mark the tool as destructive and not read-only, and the description adds concrete behavioral details: delete removes a keyframe, clear removes the path, orbit replaces the path, and render writes a Motion-JPEG .avi file. It also documents units and visitor fallback behavior, adding value beyond the raw annotations.

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?

The description is densely packed and front-loaded with the tool's purpose, followed by a compact syntax summary. The final sentence 'The path itself is the video tool' is cryptic and could confuse rather than clarify, but overall there is little wasted text.

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 15-parameter tool with no required parameters, the description covers all actions, parameter groupings, units, and the render output format. An output schema exists, so return-value explanation is unnecessary. Examples or a note on default behavior when no action is provided would strengthen it, but no critical semantic gap remains.

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

Parameters5/5

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

Although schema coverage is 100%, the description adds a compact action-to-parameter language that the schema alone does not convey: add accepts cam or coordinate groups, delete takes i, orbit takes z/n, set takes fps/speed, and render takes path/w/h. It also supplies physical units (cm, degrees, m/s), which is essential semantic context.

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 states a specific verb and resource: 'Change the video camera path, or render it.' It then enumerates the exact operations (add, delete, clear, orbit, set, render), so an agent can clearly tell this is the video-path manipulation/rendering tool among camera and rendering siblings.

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?

The opening line gives clear context for when to use the tool: modifying the video camera path or rendering it. It does not explicitly name alternatives or exclusions (e.g., use edit_cameras for static camera edits), but the purpose is clear enough to route an agent correctly.

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