Skip to main content
Glama

screenshot_session

Screenshot a browser session page to capture state at a specific point in a workflow. Returns the image path; option to capture full page, viewport, or a single element.

Instructions

Screenshot the session's current page as-is — no actions performed. Returns the image path (full-page by default; full_page=false captures just the viewport). Full-page captures are PREPARED for fidelity: sticky/fixed headers are neutralized (no mid-page duplication), animations disabled, reduced-motion emulated, and scroll-reveal sections forced visible — the applied steps are reported in capture_prep. Pass raw=true to capture the unprepared stitch. Use to grab state at a point in a workflow; interactive tools already return screenshots, so don't call this after every step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNoSkip full-page capture preparation (sticky neutralization, reveal forcing) and capture the raw Playwright stitch (default: false). Only affects full-page captures.
selectorNoClip to one element: screenshot just the first match (for citing evidence). Overrides full_page.
full_pageNoCapture full scrollable page (default: true)
session_idYesSession ID
Behavior5/5

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

Without annotations, the description fully discloses behavior: it prepares captures by neutralizing sticky headers, disabling animations, emulating reduced motion, forcing scroll-reveal sections visible, and reports these in capture_prep. It also explains the raw parameter for unprepared stitches. This is comprehensive and transparent.

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?

The description is concise with no redundancy. It front-loads the purpose, then explains options, behavior, and usage guidance in a logical flow. Every sentence adds distinct value.

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?

The description covers purpose, usage, behavior, and parameter semantics adequately for a 4-parameter tool with no output schema. It mentions return value (image path) but does not detail error conditions or prerequisites beyond an implicit active session. Still, it is largely complete.

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

Parameters4/5

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

Schema coverage is 100% and parameters are already well-described. The description adds minor but useful context, e.g., 'for citing evidence' for selector and clarifying raw's effect on full-page captures. This justifies a baseline 3 plus incremental value.

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 clearly states it screenshots the session's current page as-is, with 'no actions performed.' It distinguishes from interactive tools that already return screenshots, and specifies full-page vs viewport capture. The verb and resource are specific and unambiguous.

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

Usage Guidelines5/5

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

The description explicitly says 'use to grab state at a point in a workflow' and warns 'don't call this after every step' because interactive tools already return screenshots. This provides clear when-to-use and when-not-to-use guidance, effectively distinguishing it from sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/segentic-lab/periscope-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server