Skip to main content
Glama

browser_batch

Run a sequence of browser actions in one batch to eliminate round-trip overhead and support low-latency web automation.

Instructions

Execute a sequence of browser actions in a single rapid batch to eliminate round-trip overhead.

Input Schema

NameRequiredDescriptionDefault
actionsYes
tab_indexNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says the batch is 'rapid' but does not disclose execution order, failure semantics (does one failed action abort the rest?), atomicity, whether the batch is transactional, or how tab_index interacts with the actions. For a composite mutation-style tool this is a substantial gap.

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?

A single front-loaded sentence with no filler, and the purpose plus its benefit are stated immediately. It is efficient, though it is arguably under-specified rather than optimally concise.

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

Completeness2/5

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

An output schema exists, so return-value explanation is not required. But the critical 'actions' payload format is undocumented in both schema and description, and with no annotations there is no fallback for safety or failure semantics. An agent cannot reliably construct a batch from this definition alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the 'actions' parameter is an untyped array of free-form objects (additionalProperties: true), so the schema explains nothing. The description only hints that the array holds 'browser actions' without identifying the allowed action types, their field shape, or what tab_index does. It adds marginal meaning over an empty schema.

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 a clear verb+resource ('execute a sequence of browser actions') plus a distinguishing characteristic (single rapid batch). It implicitly separates itself from the single-action siblings like browser_click and browser_navigate, though it never names them explicitly.

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?

The phrase 'to eliminate round-trip overhead' implies the usage context: batch multiple actions when you want fewer round trips. However, it gives no explicit when-to-use vs alternatives, no guidance on when a single call is preferable, and no stated prerequisites (e.g. an active tab/session).

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