Skip to main content
Glama

document_renderRange

Render a PNG frame sequence across a frame range from the open Moho document, automatically creating the output directory. Set start/end frames, step, and filename prefix to control the export.

Instructions

Render a PNG frame sequence across a frame range live from the open Moho document (auto-creates outputDir).

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": {
      "outputDir": "<outputDir>"
    },
    "name": "document_renderRange"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepNoFrame stride (default: 1)
prefixNoFilename prefix (default: 'frame_')
endFrameNo
outputDirYesDirectory where PNG frames will be written
startFrameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.4/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 behavioral burden. It usefully discloses that rendering happens 'live from the open Moho document' and that outputDir is auto-created, which are real side-effect details. It omits important behavioral facts such as whether existing PNGs are overwritten, whether the call blocks until all frames finish, and what result or progress information is returned.

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 definition is a single tightly written sentence with no filler. The key scope (frame range, PNG sequence, open document) is front-loaded, and the outputDir auto-creation note is appended efficiently.

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 five-parameter file-producing render tool with no annotations and no output schema, the description leaves significant gaps. It does not explain how the frame range defaults are determined, what happens to existing files, whether the render is synchronous, or what the tool returns, so an agent cannot fully predict behavior from this definition alone.

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 coverage is 60%, with step, prefix, and outputDir documented in the schema; startFrame and endFrame are undocumented. The description adds meaning for outputDir by stating it is auto-created, but it does not clarify defaults or behavior for the unbounded startFrame and endFrame parameters. This is an adequate but incomplete contribution over the schema.

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 and output ('Render a PNG frame sequence across a frame range') and names the source ('live from the open Moho document'). It is clear enough to distinguish from alternatives like single-frame or window capture tools, but it does not explicitly name or contrast document_renderFrame or document_cliRender, so the differentiation is implicit rather than stated.

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 implied: this is the tool for rendering a sequence of frames from the currently open document. However, there is no explicit guidance on when to choose this over document_renderFrame, document_cliRender, layer_renderImage, or document_captureWindow, and no stated preconditions beyond the document being open.

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