Skip to main content
Glama

start_ralph

Initialize a development loop with .ralph directory, safety scripts, and multiple protections to prevent runaway costs during unattended execution.

Instructions

当用户需要启动 Ralph Wiggum Loop 循环开发时使用。生成 .ralph/ 目录结构、安全模式脚本和执行指南。默认启用多重安全保护,防止无人值守时费用失控

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
goalNo本次要完成的目标/需求描述。例如:'实现用户认证功能'、'修复登录 bug'
modeNo运行模式:safe(安全模式,默认)、normal(普通模式)。安全模式包含多重保护机制
completion_promiseNo完成条件描述。默认:'tests passing + requirements met'
test_commandNo每轮执行的测试命令。默认:'npm test'(会在首轮由 agent 识别正确命令)
cli_commandNoClaude Code CLI 命令名。默认:'claude-code'(可能需要改为 'claude')
max_iterationsNo最大迭代轮数。safe 模式默认:8
max_minutesNo最大运行分钟数。safe 模式默认:25
confirm_everyNo每几轮要求人工确认。safe 模式默认:1(每轮都确认)
confirm_timeoutNo确认等待秒数,超时自动停止。safe 模式默认:20
max_same_outputNo输出重复多少次停止(防卡死)。safe 模式默认:2
max_diff_linesNogit diff 变更行数超过此值停止(防失控)。safe 模式默认:300
cooldown_secondsNo每轮后冷却秒数。safe 模式默认:8
Behavior3/5

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

No annotations are provided, so the description must convey behavioral traits. It mentions generating files and enabling safety protections, but does not detail side effects, return values, or specific behaviors beyond initialization. Adequate but not rich.

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?

The description is concise, front-loaded with purpose, and contains no unnecessary information. It could be slightly more structured (e.g., bullet points), but overall efficient.

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?

Given 12 optional parameters and no output schema, the description covers overall intent but does not explain what happens after execution or how the agent should proceed. Adequate for a setup tool, but could be more complete.

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 baseline 3 is appropriate. The description adds no additional parameter meaning beyond what the schema already provides, but it does not need to compensate since coverage is high.

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?

The description clearly states the tool's purpose: starting the Ralph Wiggum Loop, generating .ralph/ directory structure, safe mode scripts, and execution guide. It distinguishes itself from sibling tools like start_feature or start_bugfix by specifying a unique cyclic development process.

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?

The description indicates when to use ('when user needs to start the Ralph Wiggum Loop'), but does not explicitly exclude alternatives or provide guidance on when not to use it. The context is clear, but lacking exclusions.

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/mybolide/mcp-probe-kit'

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