Skip to main content
Glama

Capture Frame

capture_frame

Render a single frame as a PNG for review to verify text positioning, image placement, and animation states; optionally use a scene ID to make the frame number relative to that scene.

Instructions

Render a single frame as a PNG image for review. Useful for verifying text positioning, image placement, and animation states. If a sceneId is provided, the frame number is relative to that scene's startFrame.

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>",
      "frame": "<frame>"
    },
    "name": "capture_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
frameYesFrame number to capture (0-based)
sceneIdNoOptional — makes frame relative to this scene
projectPathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/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 discloses the output artifact type (PNG) and the frame-numbering rule, which is valuable. However, it says nothing about whether the image is written to disk or returned inline, where it lands, whether a preview/session must be running, or cost/latency of rendering.

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?

Three short sentences, correctly ordered: what it does, why you'd use it, then the one non-obvious parameter rule. Nothing is redundant or padded.

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?

For a simple 3-parameter tool with no output schema and no annotations, the description covers purpose and intent but leaves the return/delivery mechanism and the undocumented projectPath unspecified. An agent could call it, but would not know what to expect back.

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 67%, so most parameters are already documented. The description usefully clarifies that with a sceneId the frame number is relative to that scene's startFrame, adding meaning beyond the schema's terse note, but the undocumented projectPath parameter gets no explanation in either place.

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 single frame as a PNG image') plus the output format, which immediately distinguishes it from the video-rendering sibling. It does not name an alternative explicitly, so it stops short of a 5.

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?

'Useful for verifying text positioning, image placement, and animation states' gives a concrete intent that tells the agent when this tool is the right choice over a full render. There is no explicit when-not guidance or named alternative, but the usage context is clear.

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