Skip to main content
Glama

ue5_screenshot

Captures Unreal Editor screenshots from the viewport, agent camera, or PIE for visual self-checking, so you can inspect rendered results and fix issues.

Instructions

Screenshot for visual self-check (edit -> screenshot -> inspect -> fix). source: editor_viewport | agent_camera (camera {pitch,yaw,roll} required) | pie (fails loudly if PIE not running). Returns an image block + saved_path / camera_used provenance; PNG also saved for the dashboard. | 视觉自检截图;camera_used 可溯源,PIE 未运行 fail-loud。

Input Schema

NameRequiredDescriptionDefault
cameraNoagent_camera rig {pitch, yaw, roll}; REQUIRED for source=agent_camera | agent_camera 的机位角(该来源必填)
sourceYes'editor_viewport' | 'agent_camera' | 'pie' (default editor_viewport) | 截图来源
annotateNoDraw visible actor name labels (default true; needs Pillow) | 是否叠加 actor 名标注
out_nameNoOptional relative filename inside the screenshot folder, e.g. 'shot_a.png' | 约定目录内的相对文件名(缺省自动命名)
max_dimensionNoLong-edge cap of the returned image (default 768) | 返回图像长边上限

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv6.5.4

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the return payload (image block + saved_path / camera_used provenance), a side effect (PNG saved for the dashboard), and failure behavior (fail-loud when PIE is not running). It doesn't state cost, latency, or whether capture disturbs editor state, leaving a small gap.

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?

Front-loaded with purpose and workflow, then source semantics, then return values — a sensible ordering with no filler sentences. The piped, telegraphic phrasing and the duplicated bilingual tail make it denser than ideal but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter tool with a nested camera object and no output schema, the description covers sources, return shape, provenance, and the fail-loud precondition — enough for correct invocation. The 768px default and the Pillow dependency for annotate are handled by the schema, so the remaining omission is minor.

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 every parameter is already documented, including the camera-required-for-agent_camera constraint. The description restates those same facts rather than adding new meaning (e.g. valid pitch/yaw/roll ranges or how annotate interacts with Pillow availability), so it sits at the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Screenshot for visual self-check') and enumerates the three capture sources with their semantics, so an agent can tell exactly what it gets. No sibling tool in the list overlaps with screenshotting, so differentiation is implicit but unambiguous.

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?

The 'edit -> screenshot -> inspect -> fix' workflow gives concrete usage context, and preconditions are named per source ('pie (fails loudly if PIE not running)', camera required for agent_camera). It stops short of saying when *not* to use it or pointing to a sibling alternative, so it doesn't reach a 5.

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