Skip to main content
Glama

edge_take_screenshot

Capture screenshots of the active page or a specific CSS selector, optionally full-page, and return base64 image data or save directly to a file path.

Instructions

Capture a screenshot of the active page or a specific selector. Can return base64 image data or save directly to a file path.

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

Input Schema

NameRequiredDescriptionDefault
formatNoImage format (default: png)
qualityNoJPEG quality 1-100 (only applicable when type is 'jpeg')
filePathNoAbsolute file path to save image (e.g. C:/screenshots/page.png). If omitted, returns base64 image.
fullPageNoCapture the entire scrollable page height (default: false)
selectorNoOptional CSS selector to screenshot only that specific element

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the two output modes (returned base64 data vs. writing a file to a path), which is meaningful behavioral context. It omits prerequisites (connected/active page), whether capturing has any side effects on page state or scrolling, and the size/latency implications of base64 returns.

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 sentences, both load-bearing: the first establishes what is captured and at what scope, the second establishes the output modes. Nothing is padded and the core action is front-loaded.

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?

For a zero-required-parameter tool with a fully documented schema and no output schema, the description covers the essential capture modes adequately. However, it never states that the browser must be launched/connected, nor what the return value looks like when base64 is chosen, which an agent calling blind would want to know.

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%, so every parameter already carries its own documentation including defaults and the jpeg-only constraint on quality. The description's only added phrase ('active page or a specific selector') restates what the selector parameter already says, so it adds little beyond the schema — baseline 3.

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

Purpose5/5

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

The description names a specific verb and resource ('Capture a screenshot') and immediately narrows scope to 'the active page or a specific selector,' which is enough to distinguish it from data-extraction siblings like edge_get_html or edge_get_accessibility_snapshot.

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

Usage Guidelines3/5

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

Usage is only implied by the scope statement — an agent can infer it should call this when it needs a visual of the page or an element. There is no explicit when/when-not guidance, no mention that a browser must be launched/connected first, and no pointer to alternatives for text-based page inspection.

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