Skip to main content
Glama

take_screenshot

Capture screenshots of web pages or specific elements. Specify page ID and optional element UID, format, quality, and save location.

Instructions

Take a screenshot of the page or element.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uidNoThe uid of an element on the page from the page content snapshot. If omitted, takes a page screenshot.
formatNoType of format to save the screenshot as. Default is "png"png
pageIdYesTargets a specific page by ID.
qualityNoCompression quality for JPEG and WebP formats (0-100). Higher values mean better quality but larger file sizes. Ignored for PNG format.
filePathNoThe absolute path, or a path relative to the current working directory, to save the screenshot to instead of attaching it to the response.
fullPageNoIf set to true takes a screenshot of the full page instead of the currently visible viewport. Incompatible with uid.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations supply only readOnlyHint=false, and the description adds nothing further. It never says the screenshot is attached to the response by default, that filePath writes to disk (which is the only thing that could explain a non-read-only hint), or anything about format/quality side effects. For a tool with effectively no behavioral annotation coverage, this is a substantial gap.

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?

A single clean sentence with no wasted words, and the core action is front-loaded. However, its extreme brevity means it conveys almost nothing beyond the tool name, so it reads as under-specified rather than efficiently scoped.

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 six parameters, no output schema, and only a one-line description, the definition is incomplete. It omits whether the image is returned inline or saved via filePath, what the response looks like, and when fullPage is appropriate, leaving the agent to reconstruct behavior from the schema alone.

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 all six parameters including uid, format, quality, filePath and fullPage are already documented in the schema. The description's 'page or element' phrasing merely restates what the uid description already says, adding no syntax or format detail beyond the schema. 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?

States a specific verb and resource ('take a screenshot') and covers both page-level and element-level capture. It does not, however, distinguish itself from siblings like take_snapshot or take_heapsnapshot, which an agent could plausibly confuse with this tool.

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 tool versus take_snapshot or the other capture tools, nor any mention of prerequisites such as needing a page already open or selected. The page-vs-element choice is left entirely to inference.

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