Skip to main content
Glama
Chrome Testing MCP Server

Chrome Testing MCP Server

by prabhubng

Generate Test Report

chrome_generate_report
Read-onlyIdempotent

Generate a test report from current session data, including metrics, network requests, errors, and optional screenshots in HTML, JSON, or Markdown; save it to a chosen path.

Instructions

Generate a test report from current session data.

Creates a detailed report with all collected metrics, network data, errors, and optionally screenshots.

Args:

  • format ('html'|'json'|'markdown'): Report format (default: html)

  • outputPath (string): Path to save report (optional)

  • includeScreenshots (boolean): Embed screenshots in report (default: true)

Returns: Generated report content and file path if saved.

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

Input Schema

NameRequiredDescriptionDefault
formatNoReport format (default: html)html
outputPathNoPath to save the report
includeScreenshotsNoEmbed screenshots in report (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that: it lists report contents, notes screenshots are embedded by default, and discloses that a file may be written to outputPath — context an agent would otherwise have to infer against a readOnly flag. It still omits prerequisites (session/browser must exist) and whether repeated calls overwrite an existing file.

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?

Front-loaded with the one-line purpose, then a contents sentence, then Args and Returns blocks — easy to scan and free of filler. It loses a point for duplicating the schema's parameter descriptions verbatim rather than using that space for behavior the schema cannot express.

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?

With no output schema, the description carries the return burden and does so briefly ('generated report content and file path if saved'), which is enough to know what comes back. For a zero-required-parameter tool the remaining gap is the unstated precondition that a session must already contain data to report on.

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 three parameters are already documented in the input schema, and the description's Args block is essentially a verbatim restatement with no new semantics (no path format hints, no size limits on embedded screenshots, no note on what happens if outputPath is omitted). Baseline 3 applies when the schema does the heavy lifting.

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 and resource ('Generate a test report from current session data') and enumerates what the report contains (metrics, network data, errors, screenshots), which differentiates it from the raw-data siblings like chrome_get_errors or chrome_get_network_requests. It stops short of explicitly naming those siblings as the alternative for raw access, so it is clear but not maximally disambiguating.

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?

Usage is only implied: 'from current session data' suggests an active session is required, and the aggregation framing implies you use this after collecting data rather than mid-run. There is no explicit when-to-use or when-to-prefer-a-sibling statement, and no stated prerequisites such as a launched browser or completed test.

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