Skip to main content
Glama

browser.set_control_mode

Switch browser control between human and AI: observe for read-only, shared for joint input, agent for AI-owned input, or paused to freeze AI actions.

Instructions

Arbitrate human and AI control. observe = read only; shared = both drive; agent = AI owns input; paused = AI frozen. Mutating tools refuse under observe and paused.

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": {
      "mode": "<mode>"
    },
    "name": "browser.set_control_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

The description adds real context beyond the annotations (readOnlyHint=false, openWorldHint=true): it discloses that observe is read-only and that observe/paused gate all mutating tools, which is valuable cross-tool behavior. However, it does not say whether the change is per-browser or global, whether it interrupts in-flight actions, or whether the previous mode is returned.

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?

Four dense clauses, mode semantics front-loaded after a one-word framing sentence; nothing is redundant. The telegraphic 'agent = AI owns input' form is compact at the cost of a little reading effort, but no sentence is wasted.

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 two-parameter state-setting tool with no output schema, the description covers the semantics of the required enum and the key behavioral consequence of each mode. It omits what the call returns and the scope of the mode change, which are the only notable gaps.

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?

Schema coverage is only 50%, but the description fully compensates for the undocumented 'mode' parameter by spelling out the meaning of each enum value, which the schema merely lists. The optional 'browser_id' is documented in the schema itself, so no additional explanation is needed.

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 names the resource domain (human vs AI control of a browser session) and defines the four mode values precisely, so an agent can tell what state the call produces. It stops short of an explicit verb-object statement like 'sets the session control mode', leaving the operation itself implied rather than stated.

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 clause 'Mutating tools refuse under observe and paused' gives concrete operational consequences that tell an agent when those modes are appropriate, and the mode definitions imply when 'shared' or 'agent' should be chosen. There is no explicit 'use this instead of X' routing or precondition statement, but no sibling tool overlaps this function.

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

Deploy Server

Other Tools