Skip to main content
Glama

screenshot

Read-onlyIdempotent

Capture Godot scenes headlessly and analyze images by returning base64 data for AI vision inspection.

Instructions

Screenshot capture and image analysis handoff. capture: capture a Godot scene screenshot in headless mode (experimental). analyze: return the image as MCP image content (base64) for the client vision capability to examine — returns image data, NOT a text description.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sceneNocapture: Scene file path relative to project (res://scenes/main.tscn). If omitted, captures the default scene or an empty viewport.
actionYesAction type: capture (take a screenshot) or analyze (AI visual analysis of an image)
detailNoP1-5 视觉成本层级:full(完整 base64 图像,高 token) / thumbnail(缩放至 thumbnail_width 的 PNG,中 token) / ascii(ASCII art 文本,低 token)。默认 full。full
questionNoanalyze: Question for the AI to answer about the image. Default: "Describe what you see in this game screenshot."Describe what you see in this game screenshot. Focus on: UI elements, character positions, any visual issues or bugs.
wait_nodeNocapture: 等待该节点(名或 /root/... 路径)出现在场景树再截图。对分帧构建/异步初始化场景,优先于 frame_delay 生效;超时(固定 300 帧≈5s@60fps,独立于 max_frames)后放弃等待直接截图
wait_textNocapture: 等待任一 Label/RichTextLabel 的 text 包含该子串再截图;超时同 wait_node(固定 300 帧≈5s@60fps,独立于 max_frames)
ascii_colsNodetail=ascii: 字符列数(默认 80)
ascii_rowsNodetail=ascii: 字符行数(默认 40)
godot_pathNo覆盖 Godot 二进制路径(可选,优先于项目配置和环境变量)
image_pathNoanalyze: Absolute path to the image file (PNG or JPG)
frame_delayNocapture: Frames to wait before capture (default: 15)
output_pathNocapture: Output PNG path (absolute). Defaults to <project_path>/screenshot.png
project_pathNoPath to Godot project directory
viewport_widthNocapture: Viewport width in pixels (default: 1280)
thumbnail_widthNodetail=thumbnail: 目标宽度像素(默认 256,保持纵横比)
viewport_heightNocapture: Viewport height in pixels (default: 720)
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context beyond annotations: it notes that capture operates in experimental headless mode and that analyze returns raw image data rather than a text description. It does not contradict the annotations, though it could disclose capture's potential file output behavior (which is partially covered by schema).

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 two sentences, front-loading the tool's overarching purpose. Each sentence earns its place: the first introduces the dual functionality, and the second breaks down the two modes with critical caveats. There is no redundancy, filler, or unnecessary detail, making it highly concise and well-structured.

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?

Given the tool's complexity (16 parameters, two actions) and the rich schema coverage, the description provides an adequate overview. It clarifies the return type for analyze, which is essential since there is no output schema. The 'handoff' workflow is mentioned but not fully elaborated, and capture's return value is only implied. Still, the combination of description, annotations, and schema is sufficient for an agent to invoke the tool correctly.

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?

The input schema covers 100% of parameters with descriptions, so the baseline is 3. The tool description adds little parameter-level meaning beyond mapping the action parameter to its two modes; it does not provide syntax, format, or additional constraints beyond what the schema already includes. Therefore, it earns the baseline score without raising it.

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 clearly states the tool's dual purpose: capturing Godot scene screenshots and enabling image analysis handoff. It distinguishes between the capture and analyze actions, specifying exactly what each does, and explicitly notes that analyze returns image data, not a text description. This provides a specific verb+resource+scope and differentiates the tool from any potential sibling tools.

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 description provides clear guidance on when to use each mode: capture for taking screenshots, analyze for sending an image to the client's vision capability. It also explicitly warns that analyze does NOT return a text description, which helps the agent avoid misuse. However, it does not mention alternative tools or explicit exclusion scenarios, so it falls just short of full guidance.

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/wgt19861219/godot-mcp-enhanced'

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