Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RETRIESNoNumber of times to retry failed tests0
TIMEOUTNoDefault action timeout in milliseconds10000
BASE_URLNoApplication base URLhttp://host.docker.internal:3000
POOL_URLNoChrome pool WebSocket URLws://localhost:3333
AUTH_TOKENNoJWT or session token injected into browser storage for authenticated pages
CONCURRENCYNoNumber of parallel test workers3
TEST_TIMEOUTNoPer-test timeout in milliseconds60000
ACTION_RETRIESNoNumber of times to retry failed individual actions0
AUTH_STORAGE_KEYNoThe key name used to store the AUTH_TOKEN in localStorage/sessionStorage (defaults to accessToken)
FAIL_ON_NETWORK_ERRORNoWhether to fail tests when network errors are detectedfalse

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
e2e_runB

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.

e2e_listA

List all available E2E test suites with their test names and counts.

e2e_create_testA

Create a new E2E test JSON file. Prefer built-in actions over evaluate — more robust and readable. Full catalog: the e2e-testing skill / references/action-types.md.

Action cheat-sheet:

  • Click: click (by text), click_regex, click_menu_item, click_option, click_chip, click_icon, click_in_context; in a dialog use click with scope:"dialog" (+ last/visible).

  • Select (MUI): select_combobox (open+optional filter+pick), select, focus_autocomplete.

  • Assert text: assert_text (present), assert_no_text (absent), assert_text_in (scoped regex), assert_element_text, assert_matches.

  • Assert elements (selector, NOT text): assert_visible, assert_not_visible, assert_count, assert_attribute, assert_input_value, assert_url.

  • Nav/wait: goto, navigate (SPA), wait {text|selector|gone|value(ms)}, wait_network_idle.

  • Form: type, type_react (React inputs; optional blur/waitAfter), clear, press.

Field rules: assert_text/assert_no_text use "text" (whole page); assert_visible/assert_not_visible use "selector"; for text absence use assert_no_text. Use evaluate only for computed styles, complex logic, GraphQL (window.__e2eGql), or app state.

Modules: { "$use": "module-name", "params": {...} } references reusable modules in e2e/modules/ (they compose). Run e2e_list to see available modules.

e2e_pool_statusB

Get the status of the Chrome pool (browserless/chrome). Shows availability, running sessions, capacity, and queued requests.

e2e_app_pool_statusA

Get the status of the app environment pool. Shows active forks, allocated ports, per-fork details (driver, baseUrl, test name, fork time). Only relevant when appPool is enabled in config.

e2e_screenshotA

Retrieve a screenshot by its hash (e.g. ss:a3f2b1c9). Returns the image. Hashes are shown in the dashboard next to screenshots.

e2e_dashboard_startB

Start the E2E Runner web dashboard. Provides a real-time UI for running tests, viewing results, screenshots, history, and pool status.

e2e_dashboard_stopB

Stop the E2E Runner web dashboard.

e2e_dashboard_restartA

Restart the E2E Runner web dashboard. Stops the current instance and starts a new one, optionally with a new cwd or port. Useful when switching projects or when the dashboard was started from another session.

e2e_issueA

Fetch a GitHub/GitLab issue and prepare E2E test generation. Returns issue details and a prompt for test creation. Use mode "verify" to auto-generate and run tests (requires ANTHROPIC_API_KEY).

e2e_captureA

Capture a screenshot of any URL on demand. Connects to the Chrome pool, navigates to the URL, takes a screenshot, and returns the image with its ss:HASH.

e2e_analyzeA

Analyze a page's structure and return all interactive elements (forms, buttons, links, navigation, tables, modals, etc.) with their CSS selectors, plus suggested test scaffolds. One call replaces the entire screenshot→guess-selectors→retry cycle.

e2e_create_moduleA

Create a reusable module for E2E tests. Modules encapsulate repeated action sequences referenced via { "$use": "module-name", "params": {...} }.

Good module candidates: auth setup, page navigation, tab clicking, opening sidebars/drawers, form fill sequences, cleanup routines. Modules can compose — a module can $use other modules. Params use {{paramName}} mustache syntax in action fields. Extract a module when you see the same 2+ action sequence in multiple tests.

e2e_learningsB

Query the E2E learning system for insights about test stability, flaky tests, selector health, page health, API health, error patterns, and trends. Builds knowledge across runs.

e2e_neo4jC

Manage the Neo4j knowledge graph container for E2E learnings. Requires Docker.

e2e_network_logsA

Query network request/response logs for a specific test run. Returns filtered logs from SQLite. Use the runDbId from e2e_run results to drill down into network details on demand.

e2e_varsB

Manage project variables stored in SQLite. Variables can be referenced in test JSON as {{var.KEY}}. Supports project-wide and per-suite scoping.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 17 tools

Disambiguation4/5

Most tools target clearly distinct capabilities: running tests, listing suites, creating tests/modules, analyzing pages, capturing screenshots, and querying logs are all separable. Two near-pairs require reading descriptions to distinguish — e2e_pool_status (Chrome pool) vs e2e_app_pool_status (app environment pool), and e2e_screenshot (retrieve by hash) vs e2e_capture (new capture). These are clarified in the text but are the only points of friction.

Naming Consistency3/5

The e2e_ prefix is applied consistently across all 17 tools, which helps grouping. However, the suffix convention is mixed: some are verb_noun (e2e_run, e2e_create_test, e2e_dashboard_start) while others are bare nouns with no clear action (e2e_vars, e2e_learnings, e2e_neo4j, e2e_issue, e2e_screenshot), making the intended action ambiguous from the name alone.

Tool Count4/5

17 tools is on the heavier side but each maps to a genuine, non-redundant capability of an E2E runner (execution, test/module authoring, page analysis, pools, dashboard control, learnings, logs, variables). The dashboard start/stop/restart trio and dual pool-status tools add some bulk but remain justified. Slightly over the ideal band rather than mis-scoped.

Completeness4/5

The surface covers the full workflow: authoring tests and modules, running and listing suites, analyzing pages, capturing screenshots, inspecting pools, logs, learnings, and variables. Gaps exist around lifecycle management — there is no explicit update/delete for tests or modules, and no run-history browse beyond learnings trends — but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessLimited data