Skip to main content
Glama

browser_mode

Query or switch the browser automation mode for a session: fast for DOM/selector interactions, normal for screenshots and mouse/keyboard control.

Instructions

Query the current mode with no arguments, or switch this session between fast (DOM/selectors, preferred for speed) and normal (screenshots, mouse and keyboard). Use this tool when the user asks to change modes. Does not guarantee undetectability.

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

Input Schema

NameRequiredDescriptionDefault
modeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.4

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load. It discloses session scoping ('this session') and adds the important caveat 'Does not guarantee undetectability', which is real context beyond the schema. However, it says nothing about persistence across sessions, side effects on open tabs, or the shape of the query response.

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?

Dense and front-loaded: the dual query/switch contract comes first, mode semantics second, usage trigger third, caveat last. Every sentence carries information, though the undetectability caveat is loosely attached and slightly orphaned from the main flow.

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-optional-parameter tool with no output schema and no annotations, this covers purpose, mode meanings, and invocation trigger well. The remaining gap is what the no-argument query returns and whether mode changes persist, which matters for an agent reasoning about session state.

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 0%, so the description must explain the single 'mode' parameter — and it does define both enum values and the omitted-parameter case (query). That is meaningful, but it stops short of stating defaults, return values, or what switching does to an in-progress page state.

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?

States two specific operations on a named resource: query the current mode (no arguments) or switch the session mode. It goes further than the name by defining what each mode means (fast = DOM/selectors, normal = screenshots/mouse/keyboard), so an agent understands the resource being manipulated.

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 explicit triggers: call with no arguments to read the mode, and 'use this tool when the user asks to change modes' for switching. It does not name an alternative tool or state when not to use it, but the dual calling convention is clearly spelled out.

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