Skip to main content
Glama

take_screenshot

Read-only

Capture a PNG of the running Godot viewport for debugging or inspection. Saves image under .mcp/godot-runtime/screenshots/ and returns inline preview, full image, or path as needed.

Instructions

Capture a PNG of the running viewport. responseMode: preview (default - saves full PNG, returns bounded inline preview at 960x540), full (full inline PNG; use for small text or pixel-level inspection), path_only (saved-path only, no inline image). Saved under .mcp/godot-runtime/screenshots/ (persists after stop_project). Returns: inline image block (full/preview modes), plus path and size of the saved PNG; previewPath/previewSize in preview mode; warnings for non-fatal runtime errors. Errors if no session or bridge times out (default 10000ms).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeoutNoTimeout in milliseconds to wait for the screenshot (default: 10000)
responseModeNoResponse payload mode. "preview" returns a bounded inline preview plus paths (default). "full" returns the full inline PNG. "path_only" returns paths only.
previewMaxWidthNoMaximum preview width in pixels when responseMode is "preview" (default: 960)
previewMaxHeightNoMaximum preview height in pixels when responseMode is "preview" (default: 540)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo
sizeNo
warningsNo
previewPathNo
previewSizeNo
responseModeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.1
  2. Removedv3.0.0
  3. Addedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, and the description adds substantial behavioral context beyond that: the file is persisted under .mcp/godot-runtime/screenshots/ and survives stop_project, warnings are emitted for non-fatal runtime errors, and it errors when there is no session or the bridge times out. This is rich disclosure for a read tool.

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 the core action followed by mode semantics, persistence location, and error conditions. It is dense and somewhat long, but nearly every clause conveys actionable information, so little is wasted.

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

Completeness5/5

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

An output schema exists, and the description still clarifies the return payload (inline image block, saved path/size, previewPath/previewSize, warnings) and failure modes. Nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description exceeds it by explaining what each responseMode actually produces (preview saves the full PNG but returns a bounded inline preview; path_only returns no image) and by justifying the full mode. It adds rationale and consequences beyond the schema's terse enum docs.

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 and resource: 'Capture a PNG of the running viewport.' No sibling tool captures images, so it is unambiguously distinguishable, and the subject (running viewport) scopes it precisely.

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?

Gives clear mode-selection guidance, notably 'full ... use for small text or pixel-level inspection', which tells the agent when a given mode is appropriate. It stops short of naming an alternative tool or stating when to avoid screenshots entirely, so it is strong context rather than full when/when-not routing.

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