Skip to main content
Glama
MCP Screen Capture

MCP Screen Capture

by chacebot

screenshot

Captures images from URLs or local files and saves them to a chosen path, with viewport, delay, full-page, and selector-wait options.

Instructions

Take a screenshot of a URL or local file path

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>",
      "outputPath": "<outputPath>"
    },
    "name": "screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL to capture (e.g., http://localhost:3000 or https://example.com)
delayNoDelay in milliseconds before capturing (default: 0)
widthNoViewport width in pixels (default: 1280)
heightNoViewport height in pixels (default: 720)
fullPageNoCapture full scrollable page (default: false)
outputPathYesPath to save the screenshot (e.g., /path/to/screenshot.png)
waitForSelectorNoWait for a specific CSS selector before capturing

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and discloses almost nothing. It does not state that it writes a file to disk, whether an existing file at outputPath is overwritten, whether it waits for page load or network idle, or what happens when the target is unreachable. For a tool that renders a page and produces an artifact, these are material omissions.

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?

A single front-loaded sentence with zero waste and no filler. It is efficient but borders on under-specification, since brevity here comes at the cost of behavioral detail rather than by trimming redundancy.

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?

With seven parameters, no annotations, and no output schema, the definition should explain side effects and timing behavior, but it does not. The agent knows what it captures yet not how it behaves on failure, overwrite, or load timing, which is inadequate for a tool this configurable.

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 description coverage is 100%, with every one of the seven parameters documented including defaults and examples, so the schema already does the heavy lifting. The description adds no parameter-level meaning beyond restating the URL/path input, so the baseline 3 applies.

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 states a specific verb and resource ("Take a screenshot") and clarifies the input domain ("a URL or local file path"). That distinguishes it implicitly from the GIF/video siblings, but no sibling is named, so the differentiation comes from the resource noun rather than explicit contrast.

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 when-to-use guidance. Nothing says to prefer this over capture_gif or record_video when a static image suffices, and there is no mention of prerequisites such as whether the URL must be reachable or the target file path writable. The agent must infer all selection logic.

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