Skip to main content
Glama

ralph_shutdown

Destructive

Shuts down the Ralph MCP Server and Runner to manually stop the MCP for a restart with updated code; force mode stops active PRDs.

Instructions

Shutdown the Ralph MCP Server and Runner. Use this to manually stop the MCP when you want to restart it with new code.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ralph_shutdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNoForce shutdown even if PRDs are running (default: false)
reasonNoOptional reason for shutdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.4

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the agent knows this is a destructive, non-idempotent operation. The description confirms it tears down both the MCP server and the Runner, which is useful, but it adds nothing about in-flight work, connection termination, or restart sequencing beyond what the 'force' parameter description and annotations convey.

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 filler; the action statement comes first and the usage condition second. Minor redundancy between 'Shutdown' and 'manually stop' keeps it from being maximally tight.

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

Completeness4/5

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

For a zero-required-parameter destructive tool with full schema coverage, full annotations, and no output schema, the definition supplies the essential what and when. The main remaining gap is how this differs operationally from ralph_stop, which matters given how destructive this call is.

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 both parameters (force, reason) are already documented with defaults and meaning. The description adds no syntax or behavioral detail about them, which is acceptable given the schema does the work, so the baseline of 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?

The description uses a specific verb and resource: 'Shutdown the Ralph MCP Server and Runner'. It is clear what is being terminated, but it does not differentiate itself from the sibling ralph_stop, which an agent could plausibly confuse with this tool based on names alone.

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 an explicit use context: manually stop the MCP when you want to restart it with new code. That is a clear trigger, but there is no stated exclusion such as 'use ralph_stop instead when you only want to halt PRD processing' and no mention of when shutdown is inappropriate.

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