Skip to main content
Glama

browser_mode

Switch Chrome between headless private, logged-in real, and cookie-less anonymous modes, with status checks and a fallback when sandboxed headless access is blocked.

Instructions

Low-risk mode switcher: private_start (headless, prefer when logins aren't needed), private_status, use_private, use_real, anon_on (fallback cookie-less context if sandbox blocks headless), anon_status.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "browser_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoInitial http(s) URL or about:blank (private_start).
actionYesMode action.
headedNoShow window instead of headless.
dry_runNoPrint Chrome flags without launching.
no_waitNoSkip waiting for initial URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare the operation is not read-only, is open-world, and is not destructive, so the safety bar is partly cleared. The description adds almost nothing beyond that: it does not say whether switching modes tears down the current session, invalidates tabs, drops cookies, or requires a restart. For a state-switching tool the only behavioral note is the sandbox fallback, which is thin.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single compact sentence with no wasted filler and the framing statement is front-loaded. But the parenthetical action list reads as an unparsed dump of enum values with inline notes, making it dense to scan rather than clearly structured; a short bullet or two of when-to-use would have used the same space better.

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

Completeness2/5

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

With five parameters, no output schema, and behavior that changes the browsing context, the description should explain what each mode means for subsequent calls and what the caller gets back. It enumerates action names and one fallback caveat but leaves the dominant questions (session impact, ordering, expected outcome) unanswered.

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% and all five parameters carry their own descriptions, so the baseline is 3. The description's parenthetical hints map to specific enum values (private_start headless, anon_on cookie-less) but only cover three of six actions and add nothing about headed, dry_run, or no_wait beyond what the schema already says.

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

Purpose3/5

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

"Low-risk mode switcher" names the resource class, and the list of six actions hints at what it manipulates (private vs. real vs. anonymous browser contexts). But it never states in plain terms what a "mode" governs or what switching it does to the running session, so an agent must infer purpose from the enum names alone.

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

Usage Guidelines3/5

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

Partial routing guidance is present: private_start is preferred "when logins aren't needed" and anon_on is a "fallback cookie-less context if sandbox blocks headless." That is genuinely useful conditional advice. However, nothing explains when to choose use_real vs. use_private, what the two *_status actions are for, or how this relates to the sibling browser_session/browser_status tools.

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