Skip to main content
Glama

screenshot

Read-only

Capture web-content as a PNG and return a private artifact path for visual verification; use for page content only, not native windows, and treat images as sensitive.

Instructions

Capture web-content PNG plus private artifact path. Not native window/desktop; screenshots may contain secrets.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "session_id": "<session_id>"
    },
    "name": "screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
locatorNo
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the description is free to add real context, which it does: the output is a PNG written to a private artifact path, capture is limited to rendered web content, and screenshots may contain secrets. It does not explain whether a locator crops the capture to the element or whether pages beyond the viewport are captured.

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?

Two short sentences with the core capability front-loaded and the restriction second. The telegraphic phrasing of 'plus private artifact path' is slightly ambiguous about whether that is a return value or an argument, but nothing is wasted.

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?

An output schema is absent, so the description's mention of a PNG and artifact path usefully fills in the return value, and the secrets caveat is valuable. However, the central behavior of the locator parameter - whether it scopes the capture - is undocumented, which is a real gap for a 2-parameter tool.

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

Parameters2/5

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

Schema description coverage is reported as 0% at the top level, so the description must carry the meaning of session_id and locator. It says nothing about either, leaving unclear whether supplying a locator screenshots only that element or fails when the element is not found.

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 and resource ('Capture web-content PNG') and adds what is produced ('plus private artifact path'). The scope exclusion 'Not native window/desktop' further pins it down, though it does not name a specific sibling such as snapshot or inspect.

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?

The 'Not native window/desktop' clause is a useful negative scope, implying use this for page content rather than OS-level capture. But there is no explicit when-to-use guidance relative to alternatives like snapshot or inspect, so the agent must infer the choice.

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