Skip to main content
Glama

Run several browser actions

browser_batch

Run a sequence of browser actions in order, such as clicks, typing, key presses, and screenshots, and return all results; execution stops at the first error, with each action using an explicit tab ID.

Instructions

Run a short sequence of browser tool calls in order (e.g. click, type, key, screenshot) and return all their results. Stops at the first error. Every action needs an explicit tabId.

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

Input Schema

NameRequiredDescriptionDefault
actionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden and does disclose important behavior: sequential ordering, halting at the first error, and the per-action tabId requirement. It omits what happens to results collected before a failure, whether the batch is atomic, and any practical limits beyond "short" — gaps that matter for a sequencing tool.

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?

Three short sentences, front-loaded with purpose, then failure behavior and the tabId constraint. The parenthetical action examples partially duplicate the examples already in the schema's tool field, which is the only notable redundancy.

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

Completeness3/5

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

For a 1-parameter batch orchestrator with no annotations and no output schema, the description should state what the returned results look like and whether partial results survive an error. It covers sequencing and failure stopping but leaves the caller unable to predict the response payload or per-action error reporting.

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% for the single "actions" parameter, so the description must add meaning; it does contribute the tabId requirement, ordering semantics, and failure behavior not present in the schema. However, it says nothing about how each entry's tool/input pair maps to sibling tool names or whether all 16 sibling tools are permitted, leaving the main structural parameter only partly clarified.

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 gives a specific verb and resource ("run a sequence of browser tool calls") and lists concrete action examples (click, type, key, screenshot), which makes clear it is an orchestrator over the individual browser siblings. It does not explicitly name those siblings as alternatives, so it falls short of full sibling differentiation.

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?

"Run a short sequence ... in order" implies the triggering condition (multiple dependent actions that should execute together), but there is no explicit when-not guidance or named alternative such as calling the individual tools directly. The agent must infer that a single action should not be batched.

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