Skip to main content
Glama
WillBrock

Test Reporter MCP Server

by WillBrock

get_failure_screenshots

Retrieve screenshots from recent test failures as presigned S3 URLs to inspect the UI state at failure time. Filter by spec file, test title, project, days back, or result limit.

Instructions

Get screenshots from recent test failures. Returns presigned S3 URLs that can be viewed with the Read tool to see exactly what the UI looked like when the test failed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoDays to look back (default: 7)
limitNoMaximum screenshots to return (default: 10)
spec_fileYesThe spec file path (e.g., 'login.spec.js')
project_idNoProject ID to filter by (optional)
test_titleNoSpecific test title to filter by (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.8

TDQS

B3.4/5.0
Behavior3/5

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

No annotations provided, so the description carries the full burden. It discloses that it returns presigned S3 URLs and that they can be viewed with the Read tool, which is useful operational context. However, it doesn't mention URL expiration, permissions needed, or behavior when no failures exist.

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 sentences, front-loaded with purpose, followed by a useful operational note about viewing URLs with the Read tool. No waste.

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?

For a 5-param read tool with no annotations and no output schema, the description covers the purpose and return type well but omits when to choose it over siblings, any limitations, or error behavior. Adequate but leaves gaps.

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 description coverage is 100%, so all parameters are documented in the schema with defaults and meanings. The description doesn't add parameter-level detail beyond saying 'recent test failures', which aligns with the days parameter. Baseline 3 applies when schema fully covers params.

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 specific verb (get) and resource (failure screenshots from recent test failures). It's clear what it returns, but it doesn't distinguish itself from the many sibling tools like get_recent_failures or get_failure_patterns beyond the 'screenshots' aspect.

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 description implies usage — viewing what the UI looked like when a test failed — but doesn't say when to use this vs. siblings like get_recent_failures. No explicit when/when-not guidance.

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