Skip to main content
Glama

start_ralph

Read-onlyIdempotent

Manage complex long-running tasks with incremental verification and bounded plans. Each round produces evidence and optional assistance, ensuring controlled convergence without auto-loops.

Instructions

用于需要多轮小步实现、每轮真实验证和正式收敛的长任务。返回有界 Delegated Plan、每轮 Heartbeat 证据契约和可选前台辅助脚本;不自动运行循环、不创建后台进程。安全停止不等于成功

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv4.0.0
    • addedInput schema / properties / max_rounds
      Added value: +{
      +  "description": "max_iterations 的兼容别名;建议新调用统一使用 max_iterations",
      +  "type": "number"
      +}
    • addedInput schema / properties / project_root
      Added value: +{
      +  "description": "目标项目根目录绝对路径。省略时从当前已确认工作区解析",
      +  "type": "string"
      +}
  2. Addedv3.0.16

TDQS

A3.5/5.0
Behavior2/5

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

The annotations include readOnlyHint: true and idempotentHint: true, which together suggest the tool is safe and non-destructive. However, the description describes initiating a multi-round cycle that likely makes changes (e.g., '每轮真实验证' implies code modifications and test runs). This contradicts the readOnlyHint, which should indicate a read-only operation. The description does not disclose behavioral traits beyond what annotations provide; it adds that the tool does not create background processes and that safe stop does not equal success, but these are minor. The contradiction between description and annotation is significant, warranting a score of 2.

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 at roughly two sentences. It front-loads the purpose and key behavioral traits. However, the structure could be improved by separating the 'returns' section from the 'not' statements for clarity. There is no redundancy, and each clause serves a purpose, earning a 4.

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?

The tool has 14 parameters with 100% schema coverage, no output schema, and no nested objects. The description provides a high-level overview of what the tool does and its return values (Delegated Plan, Heartbeat evidence, optional front-end scripts). However, given the complexity of the tool (a multi-round development orchestrator), more context about the return format, how to use the evidence, and how failures are reported would be valuable. The presence of annotation contradictions further reduces completeness, making a 3 appropriate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, meaning every parameter already has a description in the schema. The tool description does not add any parameter-specific semantics beyond what the schema provides. However, there are 14 parameters, many with default behaviors tied to mode, and the description does not summarize key relationships (e.g., how mode affects max_rounds, confirm_every, etc.). The baseline for 100% coverage is 3, but given the complexity and the fact that the description could have provided a high-level overview of parameter interactions, a 4 is given because the schema descriptions are detailed and the tool description's lack of additional parameter guidance is not severely detrimental.

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 clearly states that the tool is for long tasks requiring multi-turn small-step implementation with real verification and formal convergence. It uses specific verbs like 'start_ralph' implying initiation of a process, and contrasts with siblings by mentioning '多轮小步实现、每轮真实验证和正式收敛' which distinguishes it from simpler tools like start_feature or start_bugfix. However, the description is in Chinese, which might reduce clarity for non-Chinese speakers, and the title 'Ralph 循环开发编排' provides additional context.

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 explicitly states the tool is for '长任务' (long tasks) and mentions what it does not do: '不自动运行循环、不创建后台进程' and '安全停止不等于成功'. This gives implicit guidance on when to use it (complex, iterative tasks) and when not (if you need automatic loops or background processes). However, it does not explicitly name alternatives or provide exclusion criteria relative to the listed sibling tools like 'plan_heartbeat' or 'resume_plan', so a 4 is appropriate.

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

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