Skip to main content
Glama
SamDreamsMaker

Unity API Communicator MCP Server

camera_capture

Capture high-quality images from Unity cameras using RenderTexture. Specify camera name, dimensions, and output path to save PNG files directly from the Unity Editor.

Instructions

Capture what a specific camera sees using RenderTexture. Higher quality than screenshot. Falls back to main camera if not specified.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoCamera name (falls back to Main Camera)
pathNoOutput PNG file pathAssets/CameraCapture.png
widthNoImage width in pixels
heightNoImage height in pixels
Behavior2/5

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

With no annotations provided, the description carries full burden. It mentions the fallback behavior and quality comparison, but doesn't disclose important behavioral traits like whether this is a blocking operation, what permissions are needed, if it affects game performance, what happens if the camera doesn't exist, or error conditions. For a tool that presumably creates files and interacts with Unity's rendering system, this is insufficient.

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?

The description is extremely concise with just two sentences that are front-loaded with the core functionality. Every word earns its place - first sentence states purpose and technology, second adds quality comparison and fallback behavior. No wasted words or redundant information.

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

Completeness2/5

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

For a tool with 4 parameters, no annotations, and no output schema, the description is incomplete. It doesn't explain what the tool returns (presumably a file path or success indicator), doesn't mention error conditions, doesn't describe the RenderTexture behavior in detail, and doesn't provide context about Unity-specific requirements or limitations.

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%, providing good documentation for all 4 parameters. The description adds minimal value beyond the schema - it mentions the fallback behavior for camera name but doesn't provide additional context about parameter interactions, validation rules, or usage patterns. Baseline 3 is appropriate when 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?

The description clearly states the tool captures camera views using RenderTexture and mentions it's higher quality than screenshot. It distinguishes from sibling 'camera_screenshot' by specifying the technology used and quality difference. However, it doesn't explicitly contrast with 'camera_configure' or 'camera_list' which are also camera-related tools.

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 usage when needing camera captures with higher quality than screenshots, and mentions fallback behavior to main camera. However, it doesn't provide explicit guidance on when to choose this over 'camera_screenshot' or other camera tools, nor does it mention prerequisites or when-not-to-use scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SamDreamsMaker/unity-api-communicator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server