Skip to main content
Glama

e2e_screenshot

Retrieve a screenshot image by its hash (e.g., ss:a3f2b1c9), with or without the ss: prefix, to inspect or verify visual results from E2E test runs.

Instructions

Retrieve a screenshot by its hash (e.g. ss:a3f2b1c9). Returns the image. Hashes are shown in the dashboard next to screenshots.

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": {
      "hash": "<hash>"
    },
    "name": "e2e_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYesScreenshot hash with or without ss: prefix (e.g. "ss:a3f2b1c9" or "a3f2b1c9")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description does disclose the key behavioral fact that it returns the image rather than metadata. However, it does not describe error behavior for invalid hashes, authentication requirements, or the exact image return format, leaving meaningful gaps for a tool with zero annotation coverage.

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 three sentences are front-loaded and waste-free: purpose first, return value second, and practical hash source third. Nothing is redundant or buried.

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 simple one-parameter retrieval tool, the description covers the essential information: what it retrieves, what it returns, and where to get the required hash. It could be more complete by mentioning invalid-hash behavior, but the core needs are met.

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?

The schema already documents the hash parameter with optional ss: prefix at 100% coverage, so baseline is 3. The description adds useful provenance beyond the schema by explaining that hashes are displayed in the dashboard next to screenshots.

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 names a specific verb and resource: retrieve a screenshot by its hash. This clearly distinguishes retrieval from capture-oriented siblings like e2e_capture, and the example hash makes the operation concrete.

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

Usage Guidelines4/5

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

It gives clear context for when this tool applies: you have a screenshot hash, and hashes are shown in the dashboard next to screenshots. It does not explicitly name an alternative or when-not to use it, so it falls short of full alternative guidance.

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