Skip to main content
Glama
HusneShabbir

Automation Coverage MCP

by HusneShabbir

Generate Playwright MCP brief

generate_playwright_brief

Turns UI coverage gaps into an explore-then-write Playwright MCP prompt, ensuring browser exploration precedes spec code.

Instructions

Generate the explore-then-write prompt for Playwright MCP from UI coverage gaps. Pair with the playwright MCP server (--caps=testing). Do not write spec code until you have used browser_* tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNo
baseNo
modeNo
workspaceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations to rely on, the description provides useful behavioral context: this tool generates an explore-then-write prompt rather than spec code, requires pairing with the Playwright MCP server, and imposes an ordering constraint. It does not detail return format or side effects, but the generation role is reasonably well conveyed.

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 description is two sentences with no unnecessary filler. Key information—what is generated, from what input, and the usage constraint—is front-loaded and compact.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description leaves major invocation details unspecified: parameter semantics, expected output shape, and any behavior differences between modes. Given no annotations and no output schema, the definition is not complete enough for reliable correct usage.

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 0%, and the description does not explain cwd, base, mode, or workspace. It only loosely implies that coverage gaps feed the prompt, which is insufficient for an agent to understand distinct parameter meanings or how diff vs workspace mode affects behavior.

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 states a specific verb and object: 'Generate the explore-then-write prompt for Playwright MCP from UI coverage gaps.' It distinguishes this from sibling tools like generate_test_plan and generate_layer_brief by naming Playwright MCP and the 'explore-then-write' prompt format.

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 clearly indicates when to use the tool: when UI coverage gaps exist and a Playwright MCP brief is needed. It also gives operational guidance by specifying the server pairing and sequencing ('Do not write spec code until you have used browser_* tools'), though it does not explicitly contrast it with sibling tools.

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