Skip to main content
Glama

browser_batch

Idempotent

Run multiple read-only browser steps in one call to cut round-trips, while destructive actions are rejected and must be called directly.

Instructions

Run multiple read-only/non-destructive steps in one MCP call to cut round-trips. Destructive tools (click/fill/press/eval/upload/close_tab/session/cdp) are rejected and must be called directly.

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
stepsYesOrdered non-destructive tool calls.
stop_on_errorNoStop on first error (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=false and idempotentHint=true, but the description adds a behavior not encoded anywhere in structured data: the server actively rejects a specific class of tools at runtime, so a rejected step is a call-time failure mode rather than a silent no-op. It does not explain partial-failure semantics or whether results for completed steps are still returned, which is the main remaining behavioral gap.

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

Conciseness5/5

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

Two sentences, zero filler, with the positive use case front-loaded and the rejection rule second. The parenthetical tool list is dense but each item earns its place by preventing a failed call.

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 batch executor with full schema coverage and no output schema, the definition covers purpose, routing, and the rejection constraint adequately. The only real omission is what the response contains when one step fails (partial results vs. abort), which matters given the `stop_on_error` option.

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 100%, so `steps` and `stop_on_error` are already documented, but the description meaningfully constrains the legal values of the nested `tool` field by naming which tool names will be rejected. That is real semantic content absent from the schema, which only says 'Tool name.'

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?

States a specific verb and resource ('Run multiple ... steps in one MCP call') plus the reason ('to cut round-trips'), and immediately scopes it against the siblings by naming the tools it will not accept (click/fill/press/eval/upload/close_tab/session/cdp). An agent can distinguish this batch executor from the individual browser_* tools without opening any schema.

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 a clear when-to-use motive (reduce round-trips by batching) and an explicit when-not-to-use rule (destructive tools are rejected and must be called directly), which is the key routing decision for this family. It stops short of advising on ordering or when a single call is preferable to a batch, but the exclusion list carries most of the guidance weight.

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