Skip to main content
Glama
Chrome Testing MCP Server

Chrome Testing MCP Server

by prabhubng

Launch Chrome Browser

chrome_launch_browser

Starts a controllable Chrome browser for automated web testing, with headless or visible mode and custom launch options. Call it before other Chrome testing tools to begin a session.

Instructions

Launch a Chrome browser instance for testing web applications.

This tool starts a new Chrome browser that can be controlled for automated testing. It must be called before any other chrome_* tools.

Args:

  • headless (boolean): Run browser without visible window (default: true)

  • executablePath (string): Custom Chrome/Chromium path (optional)

  • args (string[]): Additional Chrome command-line arguments (optional)

Returns: Status message confirming browser launch.

Examples:

  • Start headless browser: { headless: true }

  • Start visible browser for debugging: { headless: false }

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": "chrome_launch_browser"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoAdditional Chrome arguments
headlessNoRun browser in headless mode (default: true)
executablePathNoCustom Chrome/Chromium executable path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare non-readonly, open-world, non-idempotent, non-destructive behavior. The description adds value beyond them by disclosing the mandatory call ordering and the headless default, though it never says what happens if launch is called twice or whether a browser must be closed before relaunching.

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?

Front-loaded with the purpose, then the ordering rule, then args and examples — a sensible progression. The Args block duplicates a fully-covered schema and the Returns line is thin, so a few lines do not earn their place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description compensates by stating that a status message confirming launch is returned. Combined with the ordering prerequisite and defaults, an agent has enough to invoke it, with only repeated-launch and teardown semantics unaddressed.

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 the args block in the description mostly restates what the schema already documents. The examples add a little meaning by pairing headless:false with debug scenarios, but no new syntax or constraint is introduced.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Launch a Chrome browser instance') plus the scope ('for testing web applications'). It also declares an ordering constraint — it must be called before any other chrome_* tools — which separates it from every sibling in the list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear when-to-use context: call it first, and choose headless:false when you need a visible browser for debugging. It does not name the counterparts (e.g., chrome_close_browser for teardown, chrome_status for checking an existing instance), so lifecycle routing is left implicit.

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