Skip to main content
Glama

swarm_screenshot

Capture full-screen, region, or app-window screenshots and return them as inline PNG images so vision-capable clients can inspect the screen; owner must enable screenshot permission.

Instructions

Capture a screenshot (full screen, region, or app window) and return it inline as PNG image content, so a vision-capable client can see the screen. REFUSED unless the owner set mcp.allow_screenshots=true in the config. Capture failures are reported honestly, never faked.

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

Input Schema

NameRequiredDescriptionDefault
hNo
wNo
xNo
yNo
nameNoapp name for target=app
targetNowhat to capture (default full)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: the config gate that can cause refusal, that output is inline PNG content rather than a file path, and that failures are surfaced rather than fabricated. It omits what happens on denial (error shape), whether a permission prompt appears, and any cost/rate considerations for repeated captures.

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?

Three short sentences with the core action front-loaded, then the gating rule, then failure semantics. Wording is tight; the closing 'never faked' clause is slightly editorial but still conveys actionable behavior.

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?

The return format is covered despite the absence of an output schema, and the refusal condition is stated. However, with six parameters and only 33% schema coverage, the region-coordinate parameters remain unexplained, leaving a real gap for anyone calling with target=region.

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 33% and the description only clarifies the target modes and, indirectly, the app name via 'app window'. The x/y/w/h region coordinates are undocumented in both the schema and the description, so an agent must infer that they define the region and in what unit or origin frame.

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?

Uses a specific verb and resource ('Capture a screenshot') and enumerates the three capture modes (full screen, region, app window) matching the target enum, plus the return medium (inline PNG). It stops short of naming any sibling or stating what it is not for, so it is clear but not explicitly differentiated.

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?

Gives a concrete precondition for use ('REFUSED unless the owner set mcp.allow_screenshots=true') and describes the intended consumer ('a vision-capable client'). It does not compare against alternatives or say when the tool should be avoided, but the prerequisite context is explicit rather than implied.

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