Skip to main content
Glama

document_cliRender

Render a saved .moho project headlessly to PNG, MP4, MOV, GIF, PSD, or SVG with frame ranges and Layer Comp filtering, without blocking the Moho GUI.

Instructions

Run Moho Pro 14.4's multi-threaded, GPU-accelerated headless CLI renderer (Moho.exe -r) on any saved .moho file to export PNG sequences, MP4, MOV, AnimatedGIF, PSD, or SVG with optional Layer Comp filtering without blocking the Moho GUI.

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": {
      "projectPath": "<projectPath>"
    },
    "name": "document_cliRender"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoOutput format (PNG, MP4, MOV, AnimatedGIF, JPEG, BMP, TGA, PSD, SVG; default: PNG)
halfFpsNo
endFrameNo
halfSizeNo
layerCompNoRender only a specific Layer Comp by name (-layercomp)
outputDirNoOutput folder (-outfolder); auto-created if missing
timeoutMsNoRender timeout in ms (default: 180000)
outputFileNoExplicit output file path (-o) instead of outputDir
startFrameNo
extraSmoothNo
multithreadNo
premultiplyNo
projectPathYesAbsolute path to saved .moho project file
returnImageNoIf true and PNG was produced, include first PNG frame in MCP response (default: false)
antiAliasingNo
layerEffectsNo
shapeEffectsNo
addLayerCompSuffixNo
createFoldersForLayerCompsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it usefully discloses that rendering is a spawned external process (Moho.exe -r), multi-threaded/GPU-accelerated, and non-blocking. It is silent on failure modes, whether Moho must be installed/locatable, timeout behavior, and what the caller gets back.

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 dense sentence that front-loads the action and keeps the key qualifiers (saved project, non-blocking) visible. Verbose in places ('multi-threaded, GPU-accelerated headless CLI renderer' with a parenthetical binary name) but nothing is genuinely redundant.

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?

For a 19-parameter, no-annotation, no-output-schema tool, the description covers only the headline purpose and formats. An agent still cannot tell what most of the flags do or what a successful call returns, which is a substantial gap given the complexity.

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?

Schema description coverage is only 37% across 19 parameters, and the description only hints at format, Layer Comp filtering, and output destination. The many boolean render flags (halfSize, halfFps, premultiply, antiAliasing, layerEffects, shapeEffects, extraSmooth, addLayerCompSuffix, createFoldersForLayerComps) and frame-range/timeout parameters get no explanation anywhere.

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?

States a concrete verb (run the headless CLI renderer) and the resource (a saved .moho project), and enumerates the export formats (PNG sequences, MP4, MOV, AnimatedGIF, PSD, SVG). The phrase 'without blocking the Moho GUI' implicitly separates it from the in-app frame/range render siblings, though no sibling is named explicitly.

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?

Provides one real prerequisite — the project must be a saved .moho file — and implies full-project export with optional Layer Comp filtering. It gives no explicit guidance on when to choose this over document_renderFrame or document_renderRange, and no when-not conditions.

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