Skip to main content
Glama
Chrome Testing MCP Server

Chrome Testing MCP Server

by prabhubng

Close Browser

chrome_close_browser
DestructiveIdempotent

Closes the Chrome browser and cleans up resources after testing, freeing the session when automated UI checks are complete.

Instructions

Close the Chrome browser instance.

Shuts down the browser and cleans up resources. Call this when testing is complete.

Returns: Confirmation of browser closure.

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_close_browser"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructive=true, readOnly=false, and idempotent=true, so the safety profile is covered. The description adds that it 'cleans up resources' and returns a confirmation, but it does not say what state is lost (open sessions, unsaved page context) or how it behaves when no browser is running. Useful but thin on top of a rich annotation set.

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 core action, then the cleanup note, then an explicit Returns block. Every line is short and earns its place, though the 'Returns' section is near-redundant for a no-output-schema confirmation.

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?

For a zero-parameter lifecycle tool with strong annotations, this covers what it does and when to call it. Only the state-loss and already-closed edge cases are missing, which are minor for this complexity level.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline is 4. There is no argument to misinterpret, and the description correctly implies a no-argument call.

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 plus resource: 'Close the Chrome browser instance.' This clearly separates it from the lifecycle sibling chrome_launch_browser and from all the inspection/action siblings, though it never names an alternative explicitly.

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?

'Call this when testing is complete' gives a concrete triggering condition, which is better than most. It does not state what to do if the browser is already closed, nor any preconditions such as flushing results before shutdown.

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