Skip to main content
Glama

system_capture_screen

Idempotent

Capture the full screen or one macOS window to a PNG file in an authorized folder. Requires Screen Recording permission and explicit approval for the output path.

Instructions

Capture full display or one window to PNG inside an authorized file root. Screen Recording permission required. [v1.0.0; permissions: screenRecording]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
windowIdNo
outputPathYesAbsolute .png path, will not overwrite
_approvalIdNoID of the exact action approved by a human in the macOS Agent Bridge extension
_idempotencyKeyYesClient-generated unique key, required for writes; reuse only with identical arguments, including while waiting for approval

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
toolYestool name
errorYes
statusYes
versionYessemantic version

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (idempotentHint true, destructiveHint false), so the bar is lower. The description adds genuinely useful context beyond them: the Screen Recording permission requirement and the authorized-file-root confinement for the output. It omits the human-approval requirement implied by _approvalId and the non-overwrite behavior, but the core behavioral traits are disclosed.

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 short sentences, front-loaded with the action and scope, with the permission requirement immediately following. Nothing redundant; the version tag is compact metadata.

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?

An output schema exists, so return values need no explanation, and the description carries the permission and file-root constraints. Approval workflow and overwrite behavior live in the schema, so the description is complete enough for correct invocation. Marginal room to note the approval gate.

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 75%, below the 80% baseline, and windowId ships with an empty description. The phrase "full display or one window" compensates for exactly that gap by explaining windowId's semantics (its presence selects single-window mode) and its optionality. The remaining three parameters are documented in the schema.

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?

"Capture full display or one window to PNG inside an authorized file root" gives a specific verb (capture), a clear resource (full display or one window), the output format (PNG), and a scope constraint (authorized file root). An agent can tell this apart from window-inspection siblings like system_get_active_window or system_list_windows. It stops short of the explicit 5 because it never names those siblings directly.

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?

It states a prerequisite ("Screen Recording permission required") and implies the display-vs-window choice, but gives no when-to-use/when-not guidance relative to alternatives and no exclusions. Usage context is only implied.

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