Skip to main content
Glama

document_renderFrame

Render a specific frame live through Moho's FileRender engine and return a PNG, with optional output path, image response, and timeline restoration.

Instructions

Render a specific frame live via Moho's FileRender engine and return the PNG.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "document_renderFrame"
  }
}

Input Schema

NameRequiredDescriptionDefault
frameNoFrame number to render (defaults to current frame)
outputPathNoOptional PNG output path (defaults to temp folder)
returnImageNoInclude base64 PNG image content in MCP response (default: true)
restoreFrameNoRestore timeline to prior frame after rendering (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it discloses only that a live render engine is used and a PNG is returned. It says nothing about prerequisites (an open document), that it may write a PNG file to disk, that rendering can be slow, or that the timeline frame may be temporarily changed and restored.

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?

One front-loaded sentence with the action, resource, engine, and return value, and no filler. It is dense but not padded, though it could have used a second sentence for the caveats it omits.

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?

With no output schema and no annotations, the description covers the return value briefly ('the PNG') and the parameters are fully documented in the schema. However, side effects from writing files to a temp path and mutating timeline state are left entirely to the schema defaults rather than explained.

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 100%, so each of the four parameters is already documented with its default, and the description adds no syntax, format, or interaction detail beyond that. Baseline 3 is appropriate when the schema does the heavy lifting.

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 specific verb and resource ('Render a specific frame') and names the underlying engine (Moho's FileRender), plus what it returns (the PNG). This distinguishes it from range-oriented siblings like document_renderRange, though it does not explicitly name any sibling.

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?

The phrase 'render a specific frame live' implies single-frame preview use versus a range or CLI render, but no when-to-use or when-not-to-use condition is stated and no alternative is named. The agent must infer that document_renderRange or document_cliRender are the alternatives for multi-frame or offline jobs.

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