Skip to main content
Glama

screenshot

Read-only

Capture this session's simulator screen or browser viewport as an image to visually inspect UI appearance and layout.

Instructions

This session's simulator screen as a JPEG, or the lane's browser viewport as a PNG when the lane holds a browser and no simulator, or with browser: true. look finds elements more cheaply; use this to judge how the screen looks.

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

Input Schema

NameRequiredDescriptionDefault
cropNoA region in points, as look prints bounds. Simulator only.
scaleNoShrink the image, e.g. 0.5.
browserNoScreenshot the lane's browser, when the lane holds a simulator as well.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds the non-obvious defaulting rule (simulator unless the lane holds only a browser, or browser:true is passed) and the image encoding, which are real behavioral details. It stops short of stating image dimensions, latency, or what happens with no simulator and no browser.

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 that leads with what is returned, followed by the alternative and form. The chained "or ... or ..." clauses are dense and take a second read, but no sentence is wasted.

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?

For a 3-optional-parameter read tool with no output schema, the description covers source resolution, format, and the sibling relationship, which is enough to call it correctly. Remaining omissions (image size, failure modes when neither simulator nor browser exists) are minor.

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%, so the baseline is 3; the description goes slightly beyond by explaining the resolution logic for the `browser` flag against the lane's environment. `crop` and `scale` are left entirely to the schema, which is acceptable given its coverage.

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?

States a specific verb+resource (capture this session's simulator screen / the lane's browser viewport) and names the output formats (JPEG/PNG). It explicitly distinguishes itself from the `look` sibling, which handles element discovery, so an agent can pick between them without opening schemas.

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?

"look finds elements more cheaply; use this to judge how the screen looks" gives both the alternative and the selection criterion, effectively an implicit when-not-to-use. The only mild gap is that it doesn't discuss cost/latency of the screenshot itself.

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