Skip to main content
Glama

Generate Playwright test from report

test_gen_from_report

Generates a Playwright test spec from a classified report and opens a draft pull request.

Instructions

POST to inventory test-gen: uses the project BYOK LLM to author a Playwright spec from a classified report and opens a draft PR (internal service orchestration). Requires inventory_v2 + GitHub + LLM keys.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reportIdYesReport UUID to turn into a Playwright PR
projectIdNoProject UUID — defaults to configured project
Behavior4/5

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

Annotations indicate non-read-only, non-destructive, non-idempotent. The description adds the key behavioral trait of opening a draft PR, which is a side effect beyond the annotations. It also mentions dependence on external services and keys, providing useful context not covered by annotations.

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 extremely concise: two sentences convey the action, requirements, and key constraints. Every sentence serves a purpose with no fluff. Front-loaded with the main verb and resource.

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?

No output schema is present, so the description should ideally explain the return value or additional side effects. It mentions opening a draft PR but doesn't specify what the tool returns (e.g., PR URL, status). While context on keys and orchestration is provided, the output behavior is under-specified.

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 coverage is 100% with clear parameter descriptions. The tool description does not add significant new meaning beyond what the schema already provides. The phrase 'classified report' adds minor context but does not change parameter semantics.

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 creates a Playwright test from a classified report using BYOK LLM and opens a draft PR. It uses a specific verb ('generates') and resource ('Playwright test from report'), distinguishing it from sibling tools like 'generate_tdd_from_story' which generates TDD from a story.

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 mentions required keys (inventory_v2, GitHub, LLM) and calls it 'internal service orchestration', implying it's for specific internal use. However, it does not explicitly state when to use this tool versus alternatives like 'generate_tdd_from_story' or 'analyze_codebase_impact'. More explicit usage context would improve clarity.

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/kensaurus/mushi-mushi'

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