Skip to main content
Glama

ralph_batch_start

Starts multiple PRD coding agents at once, resolving dependencies, creating isolated worktrees, preheating installs, and queuing ready executions for parallel work.

Instructions

Start multiple PRDs with dependency resolution. Parses all PRDs, creates worktrees, preheats dependencies, and queues ready/pending executions for the Runner. Manual prompts are returned only when RALPH_AUTO_RUNNER=false.

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": {
      "prdPaths": "<prdPaths>"
    },
    "name": "ralph_batch_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
preheatNoRun pnpm install serially before starting agents (default: true)
prdPathsYesArray of paths to PRD markdown files
worktreeNoCreate worktrees for isolation (default: true)
autoMergeNoAuto add to merge queue when all stories pass (default: true)
onConflictNoConflict resolution strategy for merge (default: agent)agent
projectRootNoProject root directory (defaults to cwd)
notifyOnCompleteNoShow Windows notification when all stories complete (default: true)
contextInjectionPathNoPath to a file (e.g., CLAUDE.md) to inject into the agent prompt

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.4

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare the safety profile (not read-only, not idempotent, not destructive). The description goes beyond that by disclosing actual side effects: worktrees are created, dependencies are preheated, and executions are queued for the Runner with ready/pending states. It still doesn't say what a partial failure or dependency cycle produces.

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 sentences, front-loaded with the core action and then the mechanical steps, with no filler. The environment-variable caveat is slightly tacked on but still earns its place by explaining return behavior.

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 an eight-parameter orchestration tool with no output schema, the description omits what the agent actually receives (execution identifiers, per-PRD status, queued counts). The env-var sentence hints at return shape but does not close the gap for a batch-launch operation.

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 100%, so every parameter including defaults and the conflict enum is already documented in the schema. The description only echoes the preheat/worktree behavior at a high level, adding little syntax or format detail beyond what the schema supplies.

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 opens with a specific verb+resource ('Start multiple PRDs') and enumerates the concrete operations performed (parse, worktree creation, dependency preheat, queueing). The plural 'multiple' implicitly contrasts with the singular ralph_start sibling, though it never names that sibling 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 note about manual prompts being returned only when RALPH_AUTO_RUNNER=false gives useful environmental context, but there is no explicit statement of when to choose this batch tool over ralph_start for a single PRD, nor any prerequisites or failure conditions.

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