Skip to main content
Glama

batch

Run multiple browser tool calls in one request, in parallel or serial mode, to efficiently manage several tabs simultaneously.

Instructions

Run multiple tool calls in one request — parallel (default) or serial. Each op is { tool, args } and goes through the same policy gate, rate limit, and error handling as a direct call. In parallel mode, tab-scoped ops MUST pass an explicit tabId (the active-tab default is unsafe under concurrency). Use to drive several tabs at once (e.g. open tabs, then batch get_text across them). Cannot be nested.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opsYesOperations to run; each is a tool name + its args.
modeNoDefault "parallel".
stopOnErrorNoSerial mode only: stop after the first failing op (the rest are skipped).
maxConcurrencyNoParallel mode: max ops in flight at once (default 6).
Behavior3/5

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

No annotations present, so description carries the burden. It mentions policy gate, rate limit, error handling same as direct calls, and concurrency warning. However, it does not detail behavior on partial failures, return format, or what happens when an op fails in serial mode with stopOnError.

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?

Four sentences, front-loaded with main purpose, no unnecessary words. Each sentence adds essential information.

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?

With 4 parameters, no output schema, and moderate complexity, the description covers purpose, mode, concurrency, and tabId caution. Missing return value structure but overall adequate for an agent to select and invoke correctly.

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 baseline 3. Description adds value by explaining ops array, mode options, stopOnError for serial, maxConcurrency for parallel, and emphasizes the tabId requirement. Goes beyond what schema provides.

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?

Description clearly states it runs multiple tool calls in one request in parallel or serial mode. It distinguishes from sibling tools by being a batch operation that groups calls.

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?

Provides explicit context for when to use (e.g., drive several tabs at once) and constraints (tab-scoped ops need explicit tabId in parallel mode, cannot be nested). Lacks explicit when-not-to-use guidance but is still helpful.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mehmoodqureshi/chrome-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server