Skip to main content
Glama

run_batch

Run multiple ArcGIS Pro commands in a single round trip for multi-step workflows; optionally continue after failed steps.

Instructions

Run several commands in one round trip -- much faster for multi-step workflows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandsYese.g. [{"command": "set_layer_visibility", "params": {"layer_name": "roads", "visible": true}}].
continue_on_errorNoKeep going after a failed step instead of stopping.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.1

TDQS

A3.5/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 burden of behavioral disclosure. It mentions only the round-trip performance benefit and omits execution order, error semantics beyond the schema's continue_on_error field, and the fact that batched commands may mutate or delete data.

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?

A single front-loaded sentence with no wasted words. It efficiently communicates the core action and primary benefit.

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?

An output schema exists and schema coverage is complete, so return values and parameter details need not be repeated. However, for a no-annotation batch executor capable of running destructive commands, the description is missing execution semantics and safety context that an agent needs.

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 description coverage is 100%, so the structured parameters already document the commands array and continue_on_error flag. The description adds no parameter syntax or meaning beyond what the schema provides, making the baseline 3 appropriate.

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 specific verb and resource: run several commands in one round trip. The batching behavior distinguishes it from single-operation siblings like run_geoprocessing_tool, though it does not name any alternative explicitly.

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 clear context for use: multi-step workflows and faster execution. It does not state when not to use batch mode or name alternative tools for single-step workflows, so it falls short of full when/when-not guidance.

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

Deploy Server

Other Tools