Skip to main content
Glama

batch

Runs several Chromancer tools in order within one call, stopping at the first failure to support reliable multi-step browser automation.

Instructions

Run several Chromancer tools in order in one call; stops at the first failure. Example steps: [{"tool":"type","args":{"element":"Email","text":"a@b.c"}},{"tool":"click","args":{"element":"Sign in"}}]

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": "batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYes
profileNoApplied to every step that doesn't name its own profile.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the load and does disclose the key trait: it stops at the first failure, which is crucial for debugging and re-runnability. It omits partial-execution fallout details, like what state earlier successful steps leave behind after a mid-batch failure, and any per-step timeout or concurrency behavior.

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?

Two compact clauses: the purpose and the failure policy, followed by a useful inline example that doubles as schema illustration. The example is somewhat long, but it earns its place as the only explanation of the nested steps structure.

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?

No output schema and no annotations, so the description must explain everything, including step failure semantics. It handles the first-failure rule and the steps shape but does not state whether the response reports which step failed, whether prior successful steps are rolled back, or what happens with maxItems 30.

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 50%; the profile parameter has a schema description about being applied to steps without their own profile, which the description does not reinforce. The description instead illuminates the steps array via an example with tool and args, adding some meaning beyond the bare schema. However, the 1-30 step limit and failure behavior of remaining steps are not explained.

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+resource: runs several Chromancer tools in order in one call. It distinguishes itself from every sibling by being the only orchestration/meta tool, and the inline example makes the batch shape concrete.

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 description makes clear when to reach for it (multiple sequential actions in one call) and hints at an alternative for single actions, but it never explicitly says when NOT to batch or why the profile parameter is applied per-step. Guidance is implied rather than stated.

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