Skip to main content
Glama

e2e_generate_cypress

Turn E2E test scenarios into Cypress test code. Provide Given/When/Then or plain text scenarios to generate executable tests for your application.

Instructions

Generate Cypress test code from E2E test scenarios (Pro)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key for authentication
base_urlNoBase URL of the application under test
scenariosYesE2E test scenarios in Given/When/Then or plain text format
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions generation but does not describe whether this operation has side effects, whether authentication via api_key or base_url is required, what output format is returned, or any Pro-tier gating implications. The description is too thin to inform an agent about the tool's runtime behavior.

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?

A single concise sentence contains the essential action and input information. It is front-loaded and has no filler. The '(Pro)' qualifier adds context without bloat.

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?

For a simple three-parameter generation tool, the description is minimally viable but has gaps: no output format detail, no division between the required scenarios parameter and optional api_key/base_url, and no note about prerequisites or output delivery. Since there is no output schema or annotations, the description could have been enriched with more operational context.

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 the structured schema already documents all three parameters. The description adds minimal semantic value by indicating that scenarios are the source material for generation, but it does not clarify how api_key or base_url factor into the generation process beyond what the schema says.

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?

The description states a specific verb ('Generate'), a specific output resource ('Cypress test code'), and the input source ('E2E test scenarios'). It clearly identifies what the tool produces. However, it does not explicitly differentiate itself from the sibling e2e_generate_playwright, relying on the framework name alone.

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 implies the tool should be used when you have E2E test scenarios and want Cypress code. It does not explicitly state when not to use it or name alternatives such as e2e_generate_playwright for Playwright output. The usage context is inferable but not made explicit.

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/barnburner121/claude-plugin-marketplace'

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