Skip to main content
Glama
laststance

mac-mcp-server

by laststance

take_screenshot

Capture screenshots of screen, display, window, or region. Auto-resizes to 1600px and compresses to 1.8MB for API compatibility, with option to save at full resolution.

Instructions

Captures a screenshot of the screen, display, window, or region. Auto-resized to max 1600px and compressed to max 1.8MB for API compatibility (both file and base64 output). Use rawFile: true to save at full resolution, or maxDimension/maxFileSize: 0 to disable processing

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
displayNoDisplay number to capture (1-based)
windowIdNoWindow ID to capture
regionNoRegion coordinates for partial capture
formatNoOutput format (png or jpg)png
filePathNoFile path to save screenshot (returns base64 if not specified)
maxDimensionNoMaximum dimension (width or height). Default: 1600. Set to 0 to disable resizing. Applies to both file and base64 output.
maxFileSizeNoMaximum file size in bytes. Default: 1800000 (1.8MB). Set to 0 to disable compression. Applies to both file and base64 output.
qualityNoJPEG quality for compression (1-100). Default: 85. Only used when compression is applied.
rawFileNoSkip resize/compression for file output. Default: false. Set to true to save at full resolution.
Behavior4/5

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

With no annotations, the description discloses key behaviors: auto-resizing to 1600px, compression to 1.8MB, and how to disable them. It also mentions both file and base64 output. Minor omissions like timeout or error handling are acceptable for a screenshot tool.

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 three sentences, front-loaded with purpose, and every sentence adds crucial information. No unnecessary words.

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 (9 parameters, nested region object, no output schema, no annotations), the description covers purpose, default behaviors, and options. It could mention return format details more explicitly, but overall it is complete enough for an agent to use correctly.

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?

All 9 parameters have descriptions in the schema (100% coverage). The description adds value by explaining default values (e.g., maxDimension 1600) and how to disable processing, which enhances the schema's information.

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 captures a screenshot of screen, display, window, or region. It distinguishes itself from siblings by being the only screenshot capture tool among many UI interaction 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 usage context (e.g., when to use rawFile for full resolution) and notes that processing is applied by default. It does not explicitly state when not to use it or list alternatives, but the sibling list shows no other screenshot tool, making the guidance adequate.

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/laststance/mac-mcp-server'

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