Skip to main content
Glama

screenshot

Capture an image of a web page or specific CSS-selected element to visually inspect UI rendering across viewports, with options for full-page capture and reload.

Instructions

Take a screenshot of a web page or a specific element. Returns the image. Use this to see what the UI looks like.

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
urlNoPage URL. Auto-detected if omitted.
reloadNoForce page reload. Default: true on first call.
selectorNoCSS selector to screenshot a specific element.
viewportNoViewport size. Default: desktop.
full_pageNoCapture full scrollable page. Default: false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the return type ("Returns the image"), which matters because there is no output schema, but it omits side effects (does it navigate or reload the page?), failure behavior when no page exists, and any latency or size expectations.

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?

Three short sentences, front-loaded with the action, with the return value stated immediately after. "Use this to see what the UI looks like" is mildly redundant with the first sentence but still adds a usage cue.

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 low-complexity capture tool with zero required parameters and full schema coverage, the description covers what it does and what it returns. The remaining gap is context about the page/session state it operates on, which the schema only hints at via "Auto-detected if omitted."

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 coverage is 100% and every parameter carries its own description (url auto-detection, reload default, selector, viewport enum, full_page), so the schema already does the work. The description adds only the page-vs-element distinction that selector already encodes, 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?

States a concrete verb+resource ("Take a screenshot of a web page or a specific element"), and disambiguates the two capture scopes (page vs element), which is the main branch an agent faces. It does not differentiate itself from the sibling screenshot_all, so an agent must still guess between them.

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?

"Use this to see what the UI looks like" gives an implied purpose (visual inspection of rendered UI), but there is no when-not guidance, no prerequisites (e.g., requires an open page or a URL), and no routing to alternatives such as accessibility, dom_inspect, or screenshot_all.

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