Skip to main content
Glama

browser_batch

Runs up to 20 pre-verified browser actions in sequence with configurable pauses and optional stop-on-error, enabling agents to execute planned steps without intermediate queries.

Instructions

Only for actions already verified this session, never for exploring: runs 1 to 20 steps {name, arguments, pauseMs} in order without queries between them. pauseMs is the pause in milliseconds after each step (0 default, max 10000) and is the only cadence setting: add reasonable pauses, because the mechanical cadence of a batch is an observable pattern for the page and does not guarantee undetectability. Each step is validated against the current mode catalog; browser_batch*, screenshot, mode and behavior cannot be steps. stopOnError (true by default) stops the batch at the first failure. Check with browser_batch_status and cancel with browser_batch_cancel.

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": {
      "steps": "<steps>"
    },
    "name": "browser_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYes
stopOnErrorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.4

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does well: it discloses pauseMs defaults and maximum, stopOnError default behavior, mode-catalog validation, prohibited step types, and that batch cadence is observable. It does not explain what happens when stopOnError is false or what the batch returns, which keeps it from a 5.

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?

The description is front-loaded with the key usage constraint and avoids filler. It is dense and somewhat run-on, but every sentence contributes operational detail for a complex batch tool.

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 complex batch tool with no annotations, no output schema, and undocumented parameters, the description covers most calling-critical concerns: usage boundaries, step constraints, cadence, failure behavior, and companion tools. Remaining gaps are return/result semantics and the exact behavior when stopOnError is false.

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 0%, so the description must compensate. It meaningfully explains pauseMs, stopOnError, step count, ordering, and validation constraints, but it leaves the step 'arguments' object and the allowed 'name' values largely implicit beyond reference to the mode catalog.

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

Purpose5/5

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

The description states a specific verb and resource: it runs 1 to 20 ordered steps. It immediately scopes the tool by saying 'Only for actions already verified this session, never for exploring,' which distinguishes it from interactive single-action siblings such as browser_click or browser_fill.

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

Usage Guidelines5/5

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

It explicitly states when to use the tool (verified actions) and when not to use it (exploring). It also names browser_batch_status and browser_batch_cancel for checking and cancellation, and it rules out steps such as browser_batch*, screenshot, mode, and behavior.

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