Skip to main content
Glama

Computer snapshot

computer_snapshot
Read-onlyIdempotent

Use this when you need the first compact view of an unfamiliar desktop state, including windows, semantic UI, displays, clipboard metadata and optional pixels/browser/OCR. Prefer it over repeated screenshots; narrow later with ui_find, browser_find or screenshot_region.

Input Schema

NameRequiredDescriptionDefault
deviceYesReMCP device id returned by list_devices. Required for every device operation.
ocr_psmNoTesseract page segmentation mode, 3..13; default 11.
ui_scopeNoAccessibility scope for computer_snapshot. Default active keeps the compact snapshot fast; desktop requests all accessible applications/windows.
grid_rowsNoOptional reference-grid row count returned as visual metadata; 0..20.
include_uiNoInclude native accessibility tree; default true. False is the fast screenshot-only path.
include_ocrNoRun optional local OCR. Default auto: only when native accessibility and browser DOM are unavailable. Requires tesseract on PATH.
grid_columnsNoOptional reference-grid column count returned as visual metadata; 0..20.
max_ui_depthNoMaximum native accessibility depth; default 12.
max_ui_nodesNoMaximum native accessibility nodes; default 800.
ocr_languageNoTesseract language code, default eng; multiple languages may use eng+deu.
ocr_max_wordsNoMaximum OCR word boxes returned; default 2000, maximum 10000.
semantic_treeNoInclude compact semantic hierarchy text alongside nodes; default true.
ocr_timeout_msNoOCR timeout, default 30000 ms, maximum 120000 ms.
ui_browser_domNoPrefer the native browser accessibility document subtree when the OS exposes one; on Windows this also enables the Firefox MSAA/IAccessible fallback.
include_browserNoInclude CDP browser accessibility when available. Default auto: only when the active app looks Chromium-based.
browser_max_nodesNoMaximum browser accessibility nodes; default 500, maximum 2000.
browser_readinessNoOpt-in bounded CDP readiness status: disabled, blocked endpoint, unavailable, invalid response, no tabs, or ready. No tab URLs or titles; never launches Chrome. Default false.
screenshot_regionNoVirtual-desktop [left,top,right,bottom] region; takes precedence over full desktop.
include_screenshotNoInclude real rendered desktop pixels; default true.
screenshot_monitorNoMonitor name substring or "primary".
screenshot_paddingNoPixels of context around a targeted screenshot; 0..200.
screenshot_window_idNoCapture the window returned by list_windows instead of the whole desktop.
screenshot_monitor_indexNoZero-based monitor index.

Output Schema

NameRequiredDescriptionDefault
dataNoComputer snapshot structured result for computer_snapshot. Stable fields are declared explicitly; platform-specific fields may be added. Large results may return truncated/bytes/preview instead of the full payload.
textYesConcise human-readable result of the tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered structurally. The description adds only the notion that this is a compact/fast first pass with optional heavy payloads (pixels/browser/OCR); it does not disclose cost, latency, size limits, or that OCR requires tesseract on PATH – that detail lives in the schema, not the description.

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: the first states purpose and contents, the second states the preference rule and the narrowing alternatives. No filler, no restatement of the title, and the highest-value routing information comes last in the natural reading order.

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?

With an output schema present, return values need not be explained, and the description covers purpose, contents, and alternative routing for a 23-parameter tool. It is slightly thin on which optional payloads to enable for which situation, but the 100%-covered schema compensates for that gap.

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% across 23 parameters, so the schema does the heavy lifting and baseline 3 applies. The description's category list (pixels, browser, OCR, semantic UI, clipboard) loosely maps to parameter groups but adds no syntax, precedence, or cost guidance beyond what the individual parameter descriptions already give.

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 (a first compact snapshot of desktop state) and enumerates exactly what it captures: windows, semantic UI, displays, clipboard metadata and optional pixels/browser/OCR. It also distinguishes itself from the crowded computer_*/ui_*/browser_* sibling set by naming the tools used to narrow afterwards (ui_find, browser_find, screenshot_region).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use ("first compact view of an unfamiliar desktop state") plus an explicit preference rule ("Prefer it over repeated screenshots") that routes the agent away from take_screenshot loops. It then names three concrete alternatives for follow-up narrowing, so the fallback path is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources