Skip to main content
Glama

ralph_stop

Destructive

Stop PRD execution on a branch and optionally clean up its worktree or delete the execution record.

Instructions

Stop PRD execution. Optionally clean up worktree.

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": {
      "branch": "<branch>"
    },
    "name": "ralph_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
branchYesBranch name to stop
cleanupNoAlso remove the worktree (default: false)
deleteRecordNoDelete the execution record from database (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.4

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds only 'optionally clean up worktree', which merely restates the cleanup parameter. It says nothing about what happens to the running PRD (graceful vs. abrupt), whether execution can be resumed, or whether the worktree removal loses uncommitted work.

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 short, front-loaded sentences with no waste. It is efficient, though the terseness comes at the cost of the behavioral detail an agent would want before a destructive stop.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent mutation with no output schema, the description should explain the effect on the running execution and the consequences of each optional flag. It covers none of that, leaving a destructive tool under-described.

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 all three parameters are documented in the schema itself. The description's mention of worktree cleanup duplicates the cleanup parameter's own description and adds nothing for branch or deleteRecord, so baseline 3 applies.

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: 'Stop PRD execution'. An agent can tell this is the termination counterpart to ralph_start. However, it does not distinguish itself from the sibling ralph_shutdown, which could plausibly also terminate execution, so there is a residual ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus alternatives such as ralph_shutdown, ralph_reset_stagnation, or ralph_update. There are no prerequisites, no stated preconditions, and no exclusions.

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