Skip to main content
Glama

screenshot

Capture the virtual screen or a pixel region as PNG/JPEG and return the image with geometry so other tools can target screen coordinates.

Instructions

Capture the screen. Returns the image plus its geometry; coordinates for other tools are screen pixels.

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
scaleNo0.25 to 1 (default 1); the reply states the scale actually used
cursorNodraw the pointer (default true)
formatNopng (default) or jpeg
regionNocapture only this rectangle, in screen pixels
screenNoscreen name; optional when the session owns exactly one screen
settle_msNowait this long before capturing, for a toast or an animation to settle (default 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It usefully states the return shape (image plus geometry) and the coordinate space used by other tools, but says nothing about permissions required, behavior across multiple screens, or how a scaled capture affects the returned geometry.

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, front-loaded sentences with no filler; the return contract and coordinate convention are stated immediately after the verb. Nothing is redundant.

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?

With no output schema, the description correctly fills the gap by explaining the return value and the coordinate system. For a six-parameter capture tool it is nearly complete, though it omits multi-screen capture scope and any permission or failure considerations.

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

Parameters3/5

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

Schema coverage is 100%, so every parameter is already documented, including defaults for scale, cursor, format, and settle_ms. The description's reinforcement that coordinates and regions are in screen pixels adds modest meaning but nothing beyond what the schema's 'in screen pixels' wording already conveys.

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?

The description gives a specific verb and resource ('Capture the screen') and states what comes back (image plus its geometry). It does not explicitly contrast itself with sibling capture/inspection tools such as 'mirror' or 'windows', so an agent must infer the distinction from names alone.

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 explicit when-to-use or when-not-to-use guidance and no mention of alternatives. The reader is left to infer that this is the tool for visually inspecting the current screen state rather than enumerating windows or mirroring a display.

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