Skip to main content
Glama

browser_batch

Batch multiple browser actions into one call to save agent turns. Actions execute in order and stop on first error, optionally returning a final snapshot.

Instructions

Varias acciones en UNA llamada (ahorra un turno del agente por acción): [{tool:"browser_click", args:{ref:12}}, {tool:"browser_type", args:{ref:14, text:"hola", submit:true}}]. Se ejecutan en orden y se detiene en el primer error. Úsala cuando ya sabes los pasos siguientes; con snapshot:true devuelve el estado final.

Input Schema

NameRequiredDescriptionDefault
actionsYes
snapshotNoSi true, devuelve el snapshot tras la acción (ahorra un turno)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses execution order, fail-fast behavior ("se detiene en el primer error"), and that snapshot:true returns the final state. It omits what the error response looks like and whether partial results are returned or refs stay valid after earlier actions mutate the page.

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?

Front-loaded with the core claim, then the example, then the execution semantics—dense and waste-free. The example is inline rather than a separate block, which reads slightly compressed but nothing is superfluous.

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 2-param orchestration tool with no output schema and no annotations, missing pieces matter: no list of permitted inner tools, no error-payload description, no guidance on whether refs need re-snapshotting mid-batch. Adequate to call it, but an agent will likely need trial and error on failures.

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 50% and the actions array is opaque (tool is an unconstrained string), so the inline example {tool:"browser_click", args:{ref:12}} is genuinely additive—it shows the nested shape the schema never spells out. The description does not enumerate which tool names are legal inside actions, which is the biggest remaining gap.

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 states plainly that it runs several actions in ONE call and saves an agent turn per action, which distinguishes it from the single-action siblings like browser_click or browser_type. It stops short of naming those siblings as the alternative, but the batching purpose is unambiguous.

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?

"Úsala cuando ya sabes los pasos siguientes" gives a clear selection cue: use it for pre-planned sequences, not for adaptive flows that depend on intermediate observations. No explicit when-not or named alternative, so it falls short of a 5.

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