Skip to main content
Glama

ralph_start

Start PRD execution by parsing the PRD file, creating an isolated worktree, and storing ready/pending task state for the Runner, with dependency checks and merge options.

Instructions

Start PRD execution. Parses PRD file, creates worktree, and stores ready/pending state for the Runner. Manual agent prompts are returned only when RALPH_AUTO_RUNNER=false. Dependencies must be merged before dependents start unless ignored.

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": {
      "prdPath": "<prdPath>"
    },
    "name": "ralph_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
prdPathYesPath to the PRD markdown file (e.g., tasks/prd-xxx.md)
worktreeNoCreate a worktree for isolation (default: true)
autoMergeNoAuto add to merge queue when all stories pass (default: true)
autoStartNoGenerate agent prompt for auto-start (default: true)
onConflictNoConflict resolution strategy for merge (default: agent)agent
projectRootNoProject root directory (defaults to cwd)
queueIfBlockedNoIf dependencies are not satisfied, create a pending execution instead of failing (default: false)
notifyOnCompleteNoShow Windows notification when all stories complete (default: true)
ignoreDependenciesNoSkip dependency check and start even if dependencies are not merged (default: false)
contextInjectionPathNoPath to a file (e.g., CLAUDE.md) to inject into manual-mode agent prompts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.4

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnly/not-destructive/not-idempotent; the description goes further by disclosing the filesystem side effect (worktree creation), state persistence for the Runner, the dependency-gating rule, and the environment-variable-dependent return behavior. It still doesn't say what happens on re-invocation despite idempotentHint=false, nor how failures are surfaced.

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?

Four short sentences with the core action front-loaded and each subsequent sentence carrying distinct information (return behavior, dependency constraint). The telegraphic phrasing of the last clause is slightly compressed but nothing is wasted.

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 10-parameter orchestration tool with no output schema, the description covers side effects and the manual-prompt return path, but leaves the general success response, the pending/queued outcome shape, and error conditions unexplained. Adequate to start safely, not complete for predicting what comes back.

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 the ten parameters are already self-documenting; the description only adds the dependency ordering rule that ties ignoreDependencies and queueIfBlocked together. It adds no detail on worktree, autoMerge, onConflict, or contextInjectionPath beyond what the schema already states.

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 a specific verb and resource ('Start PRD execution') and enumerates the concrete effects: parsing the PRD file, creating a worktree, and storing ready/pending state for the Runner. It doesn't explicitly contrast with the sibling ralph_batch_start, so an agent must infer which of the two start-flavored tools applies to a single PRD.

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?

It gives real preconditions ('Dependencies must be merged before dependents start unless ignored') and a conditional on when manual prompts are returned (RALPH_AUTO_RUNNER=false), which shapes how the caller should behave. It stops short of naming an alternative tool for batch or queued execution, so routing between ralph_start, ralph_batch_start, and ralph_claim_ready is left to inference.

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