Skip to main content
Glama

unity_screenshot

Capture the Unity game or Scene view camera to a PNG and return the saved file path for visual inspection or documentation.

Instructions

Render the game camera or scene view camera to a PNG and return its path. (Unity editor offline right now: schemas are cached; calls will fail until it reconnects)

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": "unity_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNodefault game
widthNodefault 960
heightNodefault 540
inlineNoalso return base64 PNG

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It adds valuable context about output format (PNG, path returned) and the offline editor caveat, which is genuinely useful. However, it doesn't cover permissions, file overwrite behavior, or side effects of rendering. The offline warning is a noteworthy addition beyond a bare purpose statement.

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?

Two sentences, both front-loaded, with the core action first and the critical operational caveat second. No redundant or filler wording.

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 simple 4-parameter tool with no output schema, the description covers the essential action and result type (PNG path). It doesn't explain what happens on failure or the return format beyond the path, but the offline caveat covers the most important current condition. A reasonable level of completeness given low complexity.

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%, so all four parameters are already documented in the schema, with defaults and an enum for 'view'. The description doesn't add any meaning beyond what the schema provides for width, height, or inline. 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.

Purpose5/5

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

The description states a specific verb (render) and resource (game/scene view camera to PNG) and returns a path, which distinguishes it from siblings like unity_scene or unity_asset_search. The operational caveat about offline editor is also front-loaded.

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 description implies use when a visual capture is needed, but provides no explicit guidance on when to choose this over alternatives (e.g., unity_scene or unity_hierarchy for inspection). It doesn't explain the practical differences between 'game' and 'scene' views beyond the enum in the schema.

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