Skip to main content
Glama

Take a screenshot

screen_capture
Read-onlyIdempotent

Capture this client computer locally, returning a bounded image and its coordinate mapping. Use the returned imageToDesktop scale/offset to convert image pixels to mouse coordinates (needed for Retina, scaling and multiple monitors). Images are not stored by the relay. Requires an interactive desktop and OS permission.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "screen_capture"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNojpeg
qualityNo
maxWidthNo
steerlatchDeviceNoOptional: name or deviceId of the computer that runs this action (from operatorlane_list_devices). Recommended when several computers are online or several conversations work at once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely new behavior: images are not retained by the relay, capture is bounded, and an interactive desktop with OS permission is required. Only the return shape (e.g., what metadata accompanies the image) is left implicit.

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?

Four short sentences, purpose front-loaded, then the coordinate-mapping instruction, then data-retention and prerequisites. Every sentence carries useful information; only the parenthetical '(needed for Retina, scaling and multiple monitors)' is close to redundant.

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

Completeness3/5

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

With no output schema, the description does a fair job explaining the return value and the imageToDesktop mapping needed for downstream mouse coordinates. However, it leaves format/quality/maxWidth undocumented and doesn't describe what happens on failure when permissions are missing, which matters for a tool gated on OS permission.

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

Parameters2/5

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

Schema description coverage is only 25% – steerlatchDevice is documented in the schema, but format, quality and maxWidth are not. The description says only 'bounded image', which hints at maxWidth but never explains format, quality, or how resolution trade-offs work, so it fails to compensate for the coverage gap.

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?

Specific verb and resource: 'Capture this client computer locally, returning a bounded image and its coordinate mapping.' It clearly conveys a one-shot local screenshot, though it never explicitly distinguishes itself from the screen_stream_* siblings, which is the main ambiguity an agent could face.

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?

Provides prerequisite context ('Requires an interactive desktop and OS permission') and post-call guidance (use imageToDesktop to convert pixels for mouse moves), but gives no when-to-use versus screen_stream_start/screen_stream_next or wait_for_screen_change. The usage boundary with the streaming siblings is left to inference.

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