Skip to main content
Glama

e2e_run

Run E2E browser tests by suite, file, or all at once. Returns structured pass/fail results with duration and error details for quick debugging.

Instructions

Run E2E browser tests. Specify "all" to run every suite, "suite" for a specific suite, or "file" for a JSON file path. Returns structured results with pass/fail status, duration, and error details.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "e2e_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoRun all test suites from the tests directory
cwdNoProject root directory (defaults to the current working directory).
fileNoAbsolute or relative path to a JSON test file
suiteNoSuite name to run (e.g. "auth", "01-login"). Matches with or without numeric prefix.
baseUrlNoOverride the base URL for this run
retriesNoNumber of retries for failed tests
concurrencyNoNumber of parallel workers (default from config)
failOnNetworkErrorNoFail tests when network requests fail (e.g. ERR_CONNECTION_REFUSED). Default: false.
verificationStrictnessNoVisual verification strictness. strict: no ambiguity allowed, any doubt = FAIL. moderate: reasonable judgment (default). lenient: only fail on clear contradictions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations present, the description carries the full behavioral burden, and it only discloses the return shape (pass/fail, duration, error details). For a browser test runner it says nothing about whether the call blocks, typical runtime, timeouts, or side effects such as writing artifacts or mutating the application under test.

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?

Three short sentences, front-loaded with the core action and followed by invocation modes and the return summary; no filler. Slightly more terse than ideal since the selector guidance could have been compressed into one clause.

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?

Nine optional parameters, zero required, and no output schema make this a tool where an agent needs to know what happens by default; the description covers the selector modes and return values but leaves the no-argument behavior and execution side effects unspecified.

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%, so all nine parameters are already documented, and the description's restatement of the all/suite/file modes adds only mild reinforcement. It says nothing about the unmentioned tuning parameters (retries, concurrency, verificationStrictness) or what defaults apply when no selector is given.

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 opens with a specific verb and resource ("Run E2E browser tests") and immediately names the three selection modes, so the agent knows exactly what the tool does. It stops short of distinguishing itself from siblings such as e2e_create_test or e2e_analyze, which is why it falls short of a 5.

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?

It explains how to select what runs ("all", "suite", "file"), which is implied usage guidance for the tool's main decision. It gives no exclusions, prerequisites, or advice on when to reach for a sibling tool instead, so it is adequate but not instructive.

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