Skip to main content
Glama
Almond MCP

Almond MCP

capture_conditioning_pass

Capture RGB, edge, and depth frames along a camera path from the live Rhino document to condition geometry-guided video generation, with per-frame camera data for re-projection.

Instructions

Capture RGB + edge (line drawing) + depth frames along a camera path from the LIVE Rhino document, as conditioning for geometry-guided video generation (Wan VACE / ControlNet). Depth and edges are read from the model itself, not estimated, and every frame's camera is recorded so the generated video can be re-projected against the source geometry.

shot: JSON string describing the camera path (model units, usually mm). One of: {"type":"orbit","center":[x,y,z],"radius":r,"height":z,"frames":81, "start_deg":0,"end_deg":90,"lens":35,"target_height":z} {"type":"track","cam0":[x,y,z],"cam1":[..],"target0":[..],"target1":[..],"frames":81,"lens":35} {"type":"keyframes","keyframes":[{"camera":[..],"target":[..],"lens":35}, ...],"frames":81} Use 4n+1 frames for Wan models (17, 33, 49, 65, 81). 81 frames = 5 s at 16 fps.

Writes to out_dir: rgb/ edge/ depth/ (f0000.png ...), rgb.mp4 / edge.mp4 / depth.mp4 (when ffmpeg is available), camera.json (per-frame camera receipt, schema building0.camera/0.1), zrange.csv (per-frame depth range), doc.json, summary.json. Depth is grayscale with near = bright (Rhino's native convention, what Wan/ControlNet depth expects); set invert_depth for near = dark. The user's viewport camera is restored when the pass finishes. Returns the summary JSON.

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": {
      "shot": "<shot>",
      "out_dir": "<out_dir>"
    },
    "name": "capture_conditioning_pass"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNo
shotYes
chunkNo
widthNo
heightNo
passesNorgb,edge,depth
out_dirYes
rgb_modeNoRendered
edge_modeNoTechnical
invert_depthNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the concrete side effects (files written into out_dir, exact directory and filename layout, optional mp4s only when ffmpeg is present), the viewport-restore behavior, and the depth encoding convention with the invert_depth escape hatch. An agent knows what will be produced and what state is touched before calling.

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?

Purpose and scope are front-loaded in the first two sentences, followed by the shot contract and then the output manifest. The shot JSON block is long but earns its place given zero schema coverage; some lines break mid-sentence from wrapping, which slightly hurts scanability.

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?

The return value need not be explained because an output schema exists, and the core path (shot, out_dir, depth polarity, viewport restore) is fully specified. The gap is the six undocumented tuning parameters — resolution, chunking, and the passes/rgb_mode/edge_mode selectors — which materially change what gets rendered and are left entirely to the schema's bare types.

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 0% across 10 parameters, so the description has to compensate, and it does thoroughly for shot — three literal JSON shapes with field names, units (mm) and lens — plus out_dir contents, invert_depth, and the fps default. However chunk, width, height, passes, rgb_mode and edge_mode get no explanation at all, leaving over half the parameters undocumented in both places.

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?

Names a specific verb and resource: capture RGB + edge + depth frames along a camera path from the live Rhino document, explicitly for geometry-guided video conditioning (Wan VACE / ControlNet). It also states what makes this capture distinctive versus an estimated-depth sibling — depth and edges are read from the model itself — so an agent can distinguish it from capture_scene_metadata_snapshot without opening 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?

Gives clear usage context: it is a conditioning-data pass for video generation, with the 4n+1 frame convention, the 81 frames = 5 s at 16 fps equivalence, and the depth polarity choice via invert_depth. It does not name an alternative tool or state when not to use this one, so it stops short of full when/when-not routing.

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

Deploy Server

Other Tools