Skip to main content
Glama
Antigravity in Chrome MCP Server

Antigravity in Chrome MCP Server

by sxqib

switch_browser

List connected Chrome profiles and Chromium browsers, or switch the active target by browser ID, browser name, or profile name to direct commands to the intended profile.

Instructions

List all connected Chrome profiles and Chromium browsers (Chrome, Brave, Edge, Arc, etc.) where the extension is installed, or switch the active target browser/profile by ID or profile name.

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

Input Schema

NameRequiredDescriptionDefault
browserIdNoOptional browserId, browser name (e.g. "Brave", "Edge"), or profile name (e.g. "Work", "Personal") to switch to. Omit to list all connected browsers/profiles.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the dual read/mutate nature (list vs switch) and gives examples of accepted identifier forms, which is useful. It omits the consequential behavior an agent most needs: that switching changes the active target for subsequent tool calls, and what happens if the ID or name matches nothing.

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?

A single well-formed sentence that front-loads the list operation before the switch operation, matching the default (parameter-less) behavior. It is dense but every clause carries information; no filler or repetition.

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 one-parameter tool with full schema coverage and no output schema, the definition covers both modes and the accepted identifier forms. The remaining gap is the side effect of the switch on later tool invocations, which matters for sequencing but is a modest omission at this complexity level.

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 description coverage is 100%, so the single optional parameter is already fully documented, including that omitting it lists everything. The description echoes the same ID/browser-name/profile-name forms rather than adding syntax or precedence rules beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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?

Names two concrete operations on a specific resource: listing connected Chrome/Brave/Edge/Arc profiles where the extension is installed, and switching the active target by ID or profile name. An agent can distinguish it from tab-level siblings like switch_tab because the resource is explicitly browser/profile, not tab. It stops short of naming a sibling outright, so it is clear but not maximally differentiated.

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?

The description supplies the selection rule: omit the argument to list all connected browsers/profiles, supply an ID or name to switch. That is explicit trigger guidance for both modes. It does not state when this tool is the wrong choice (e.g., that it is not for switching tabs), leaving one condition unstated.

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