Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
QA_MCP_ROOTNoThe project directory the server works on. If not set, the current directory is used.

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
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
explore_pageA

Open a URL in a headless browser (optionally with a saved login and/or steps to reach a deeper page) and list its meaningful elements with locators verified to match exactly one element, most stable first. Use these locators when writing tests instead of guessing selectors.

check_locatorA

Check how many elements a Playwright locator matches on a page (1 = good) and whether the match is visible. Accepts the same session as explore_page.

save_login_stateA

Log in once by running steps on a login page, then save the browser's cookies and storage to .qa-mcp/auth/.json. Pass that file as session.storage_state to other tools, or to Playwright's storageState in tests. Put passwords in environment variables and reference them as ${ENV:NAME}; never pass them literally. The saved file contains session tokens: keep .qa-mcp/auth out of version control.

review_user_storyA

Call this BEFORE parse_user_story. Finds what a careful tester would ask before writing tests: missing acceptance criteria, outcomes that can't be asserted, no user role, untestable words (fast, easy, many), limits without numbers, no failure path, missing preconditions, and (with context) terms the context never explains. Returns questions for a person to answer, each with why it matters and the words that raised it. If ready is false, ask the user these questions and wait; do not guess the answers.

parse_user_storyA

Turn a user story (As a.../I want.../so that..., Gherkin scenarios, or acceptance-criteria bullets) into structured scenarios and a Playwright Test skeleton with one test per scenario and one test.step per step. Call review_user_story first; the result includes a short review so open questions are never silently skipped.

write_testA

Write a Playwright spec into the project's tests/ folder. Refuses paths outside tests/ and will not overwrite unless overwrite=true.

run_testsA

Run Playwright Test in the project and return per-test results. Failures include the error, its location and, when the cause was a locator, the locator Playwright was waiting for (pass it to heal_locator).

capture_baselineA

While tests pass, record a fingerprint (role, name, test id, id, classes, text...) of the element each locator matches, saved in .qa-mcp/baselines.json under the page reached. heal_locator uses these after the UI changes. Accepts the same session as explore_page for pages behind a login.

heal_locatorA

For a locator that no longer matches (or matches several elements), find the most likely intended element on the current page and suggest a verified replacement with a confidence score and reasons. Accepts the same session as explore_page. Never edits files: review the suggestion, update the test, then re-run.

list_devicesA

Device profiles for mobile web testing (Playwright's built-in list): phones and tablets with their screen size, pixel density and touch. Pass a name as device to explore_page, check_locator, capture_baseline and heal_locator.

Prompts

Interactive templates invoked by user choice

NameDescription
story_to_playwrightGuided workflow: user story to a passing, maintainable Playwright test.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 10 tools

Disambiguation5/5

Each tool has a clearly distinct role in a linear QA workflow: story review, story parsing, exploration, locator checking, baseline capture, locator healing, test writing, test running, device listing, and login capture. The only near-overlaps (explore_page vs check_locator, capture_baseline vs heal_locator) are explicitly delineated by descriptions as 'discover', 'verify', 'record', and 'suggest replacement'. parse_user_story's built-in mini-review is flagged as a safety net rather than a duplicate of review_user_story.

Naming Consistency5/5

Every tool follows a snake_case verb_noun pattern (review_user_story, parse_user_story, explore_page, check_locator, capture_baseline, heal_locator, write_test, run_tests, list_devices, save_login_state). Verb choices are meaningful and non-redundant, and resource nouns are consistent across the set.

Tool Count5/5

Ten tools sit squarely in the well-scoped range, and every one earns its place as a step in the story-to-green-test loop. None feel like filler or a thin wrapper, and there is no density that would overwhelm an agent.

Completeness4/5

The surface covers the full authoring lifecycle: review, parse, explore, verify locators, write, run, and self-heal, plus auth and device support. Minor gaps exist: run_tests appears to run the project suite with no documented filter/target parameter, and there is no tool to read, update, or delete existing spec files (write_test only refuses overwrites), which agents must work around via the filesystem.

Maintenance

ActivityMaintained
ResponsivenessOutdated data