Skip to main content
Glama

screenshot

Read-only

Capture desktop or targeted screen regions as MCP images with separate JSON metadata, supporting format, quality, and save options.

Instructions

Return a screen-composite MCP image, separately from JSON metadata.

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": "screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveNo
formatNojpeg
regionNo
targetNodesktop
max_dimNo
qualityNo
timeoutNo
foregroundNo
capture_modeNoscreen
region_spaceNosurface
allow_fallbackNo
define_viewportNo
max_output_bytesNo
max_output_charsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered by structured data. The description contributes one useful behavioral fact, that the image is returned separately from JSON metadata, but says nothing about the save-to-disk behavior implied by the save parameter, foreground window raising, timeout/fallback behavior, or output size limits despite 14 parameters and no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single compact sentence with no filler, so it is concise and front-loaded. However, that brevity comes at the cost of substance rather than from efficient phrasing, leaving nothing usable beyond the return-format note.

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

Completeness2/5

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

For a tool with 14 optional parameters, no output schema, and no annotations beyond read-only safety, the definition is far too thin. The one useful fact (image plus metadata) does not cover capture targeting, region selection, saving, or size limits that an agent must reason about before calling.

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

Parameters1/5

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

Schema description coverage is 0% across 14 parameters, and the description mentions none of them. Save, format, region, target, capture_mode, foreground, region_space, allow_fallback, and the max_output_* limits are entirely undocumented in both schema and prose, so an agent has no basis for setting them correctly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description conveys that this returns a screen-composite image, which implies screen capture, but the verb is 'Return' rather than 'capture', and the resource ('screen-composite MCP image') is odd phrasing. It does distinguish the output form (image separate from JSON metadata), which helps differentiate it from siblings like window or record, but the core action is only implied by the tool name.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus siblings such as window, act, or record, and no prerequisites stated. An agent must infer from the single sentence that this is the tool for obtaining a visual capture rather than interacting with the UI.

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

Deploy Server

Other Tools