Skip to main content
Glama

document_captureWindow

Captures the primary visible Moho Pro 14 application window as a PNG for screenshots of the viewport, timeline, layers, and toolbar, with an optional save path.

Instructions

Capture the primary visible Moho Pro 14 application window (viewport, timeline, layers, toolbar) as PNG using Win32 EnumWindows.

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_captureWindow"
  }
}

Input Schema

NameRequiredDescriptionDefault
outputPathNoOptional PNG path to save the screenshot

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.2/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 the capture mechanism (Win32 EnumWindows) and the 'primary visible' precondition, which implies window-selection and foregrounding behavior. It omits what happens when multiple windows exist, what occurs if the window is minimized/occluded, and what the call returns.

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 front-loaded sentence that names the target, the content regions, the format, and the capture mechanism without padding. The Win32 EnumWindows detail is arguably implementation trivia but is compact and informative.

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 one-parameter, no-annotation, no-output-schema tool, the definition covers what is captured and the format, but leaves the return value and the fallback save location unspecified. An agent cannot tell from the description where the PNG lands when outputPath is omitted or how to confirm success.

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 100% for the single optional outputPath parameter, so the schema already documents its meaning. The description adds only that the result is PNG, without clarifying the default save location when outputPath is omitted. Baseline 3 applies 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 (Capture) and a precisely scoped resource (the primary visible Moho Pro 14 application window, enumerating viewport, timeline, layers, toolbar) plus the output format (PNG). It does not explicitly contrast with siblings like document_renderFrame or document_cliRender, so an agent must infer that this grabs the UI rather than rendering document content.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance, and no named alternative. The phrase 'primary visible' hints that the window must be foregrounded, but the description never states prerequisites (window not minimized, not obscured) or when a screenshot is preferable to the render siblings.

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