Skip to main content
Glama
glh230

cypress-mcp-server

by glh230

cypress_execute_command

Execute specific Cypress commands with chaining support, enabling step-by-step test automation and debugging.

Instructions

Execute a Cypress command with chaining support. This is a lower-level tool for executing specific Cypress commands.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesCypress command to execute (e.g., "visit", "get", "click", "type")
argsNoArguments for the command
selectorNoCSS selector or text to find element
optionsNoAdditional options for the command
Behavior2/5

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

No annotations are provided, so the description carries full burden. It only mentions 'chaining support' and 'lower-level', but fails to disclose side effects, permissions, error behavior, or any behavioral traits beyond basic execution.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise at two sentences, front-loading the main action. Every sentence serves a purpose, though additional context would be welcome. No structural issues.

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?

Given the tool's complexity (4 parameters, chaining support, no output schema), the description is too brief. It does not explain how chaining works, how to use the parameters effectively, or what the command execution returns, making it incomplete for safe and effective use.

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 has 100% description coverage for all 4 parameters, so the baseline is 3. The description adds no additional meaning beyond what the schema provides, e.g., it does not explain how 'args', 'selector', or 'options' interact with chaining.

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 it executes a Cypress command with chaining support, which is a specific verb+resource. However, it does not distinguish from sibling tools like cypress_run, which might also execute commands but at a higher level.

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 merely calls it a 'lower-level tool' but gives no explicit guidance on when to use it versus alternatives such as cypress_run or cypress_generate. No when-not or alternative tools are mentioned.

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/glh230/cypress-mcp-server'

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