Skip to main content
Glama
sadi-qa

AI QA Agent MCP

by sadi-qa

Generate Bug Report

generate_bug_report

Generate a structured bug report draft for a failed, timed-out, or flaky test from an approved Playwright JSON report. Supply the report path and test ID to produce the draft.

Instructions

Generate a structured draft bug report for one failed, timed-out, or flaky test from an approved Playwright JSON report.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
testIdYesThe normalized test ID returned by the failure-analysis tool.
reportPathYesPath to the report relative to the approved reports directory.
Behavior2/5

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

With no annotations provided, the description must carry the full burden of behavioral disclosure. It mentions the output is a 'draft' and requires an 'approved' report, but does not disclose whether the operation is read-only, if any resources are modified, what permissions are needed, or the exact return format. For a generation tool, this is a significant gap.

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 a single, focused sentence with no redundant words. It efficiently conveys the tool's purpose, input requirements, and output type without adding unnecessary detail.

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?

The description explains the tool's purpose and input source but does not elaborate on the output format or any side effects, which is important given the absence of an output schema and annotations. While the tool is relatively simple with only two parameters, the description leaves room for ambiguity about the exact return value and the workflow context (e.g., that it follows failure analysis).

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?

The input schema provides full descriptions for both parameters (reportPath and testId), so the baseline is 3. The description does not add any extra meaning or constraints beyond what the schema already states, but it does align with the schema by referencing 'approved Playwright JSON report' and 'test'.

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 clearly states the tool's function with a specific verb ('Generate') and resource ('structured draft bug report'), and defines the scope ('one failed, timed-out, or flaky test from an approved Playwright JSON report'). It is easily distinguishable from sibling tools like 'analyze_test_failures' and 'generate_qa_summary'.

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?

The description provides clear context for when to use the tool: for a single test from an approved Playwright report. However, it does not explicitly mention when not to use it or name alternatives, so it lacks the explicit exclusions or alternative guidance that would warrant a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sadi-qa/ai-qa-agent-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server