Skip to main content
Glama
raymondsambur

Automation Script Generator MCP Server

process_test_scenario

Generate complete WDIO test files from Gherkin scenarios and UI selectors for automated testing workflows.

Instructions

Process a test scenario provided directly by the user and generate complete WDIO test files

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scenario_titleYesTitle of the test scenario
tagsNoTest ID tags for the scenario (e.g., ["@login", "@smoke", "@TEST-001"])
gherkin_syntaxYesComplete Gherkin syntax with Given/When/Then steps
selectorsYesUI element selectors as key-value pairs (e.g., {"usernameInput": "#username", "loginButton": "[data-testid=login-btn]"})
data_itemsNoTest data items and configurations (optional)
output_directoryYesBase directory where all generated files should be saved
repo_pathNoPath to existing repository for pattern analysis (optional)
Behavior2/5

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

With no annotations provided, the description carries full burden but only states what the tool does, not how it behaves. It doesn't disclose whether this is a read-only operation, what happens to existing files, error handling, performance characteristics, or what 'complete WDIO test files' entails. For a tool with 7 parameters and file generation, this is inadequate behavioral disclosure.

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, well-structured sentence that efficiently communicates the core functionality without any wasted words. It's front-loaded with the main action and outcome, making it immediately understandable.

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?

For a complex tool with 7 parameters, nested objects, file generation, and no output schema or annotations, the description is insufficient. It doesn't explain what 'complete WDIO test files' means, what format they're in, whether this overwrites existing files, or what the expected output looks like. The agent would need to guess about the tool's behavior and results.

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 schema description coverage is 100%, so all parameters are documented in the schema itself. The description doesn't add any additional meaning about parameter usage, relationships, or constraints beyond what's already in the schema. This meets the baseline for high schema coverage.

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 specific action ('process a test scenario') and the output ('generate complete WDIO test files'), distinguishing it from sibling tools that focus on individual file generation or analysis. It explicitly mentions the resource being processed (test scenario) and the transformation performed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus its siblings like generate_feature_file or generate_steps_file. It doesn't mention prerequisites, alternatives, or exclusions, leaving the agent to infer usage from the tool name alone.

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/raymondsambur/automation-script-generator'

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