A Model Context Protocol server that provides screenshot capabilities
Single tool 'capture' has a complete input schema with 7 parameters, all typed and described. However, the tool description is verbose (300+ chars) and mixes implementation details with user-facing intent. Parameter descriptions are present but generic (e.g., 'Output format' lacks enum constraint). No output schema is documented, the response structure (content array with text and base64_image types) is inferred from code, not declared. Error handling is minimal: only a 400 for unsupported region, no recovery guidance. The tool name 'capture' lacks a verb prefix (should be 'take_screenshot' or 'capture_screenshot'). Overall, the tool is functional but falls short of production-grade clarity and composability.
Captures a screenshot and returns a raw base64-encoded image. Options: - region: 'full' (only full supported) - format: 'markdown' (default) - windowName: Optional name of window to focus - switchToWindow: Whether to switch to the specified window (default: false) - switchToSubwindow: Whether to switch to a subwindow (e.g., a specific view in the app) (default: false) - subwindowKey: The key to press with Cmd to switch to the subwindow (e.g., '2' for Cmd+2 in Outlook to switch to calendar view) (default: none) - includeBase64: Whether to include base64 image data in response (default: true) The screenshot is saved to a dated directory in Downloads and returned as raw base64 data.
Tool name 'capture' lacks action verb prefix. Should be 'take_screenshot' or 'capture_screenshot' to signal intent clearly to LLMs.
Output schema not documented. Response structure (content array with text and base64_image fields) is inferred from code, not declared. LLMs cannot plan downstream operations without knowing return fields.
Parameter 'format' accepts free-form string with default 'markdown' but no enum constraint or valid values listed. Should declare enum: ['markdown'] or document all supported formats.
Tool description mixes implementation details ('saved to a dated directory in Downloads') with user-facing intent. Should focus on WHAT the tool does and WHEN to use it, not WHERE files are stored.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 42 | 2026-07-28+ | v2 |
Error handling is minimal. Only validates 'region' parameter; no guidance on recovery for other failures (e.g., window not found, screenshot permission denied). Errors should tell LLM what to do next.