Skip to main content
Glama

orca_worker_stop

Stops a running worker by dispatch ID or closes an agent terminal by handle, leaving the worktree intact. Use it to end agent sessions without deleting their worktree.

Instructions

Stop a worker (by dispatch id) or close an agent terminal (by handle). Never deletes the worktree.

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": "orca_worker_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
dispatchNo
terminalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does contribute one meaningful behavioral fact: 'Never deletes the worktree,' which bounds the blast radius of a stop/close operation. It still omits whether stopping is graceful or forced, what happens to in-flight task state, whether closing a terminal loses scrollback, and whether the action is reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with zero filler, front-loading the two supported operations and ending with the safety constraint. Every clause carries information an agent needs.

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 two-parameter, no-annotation, no-output-schema lifecycle tool, the description covers the core operation and the non-destructive boundary. It is thin on operational semantics — no return value hint, no statement about mutually exclusive parameters, no failure modes — which leaves real gaps for a tool that terminates running work.

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 coverage is 0% and both parameters are optional and undocumented in the schema, so the description must compensate — and it does, mapping 'dispatch' to a dispatch id and 'terminal' to an agent handle, which reveals the two mutually exclusive targeting modes. It does not state what happens if both or neither are supplied, leaving the cardinality rule implicit.

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 two concrete resources: 'Stop a worker (by dispatch id)' and 'close an agent terminal (by handle)'. The closing clause 'Never deletes the worktree' implicitly separates it from the sibling orca_worktree_rm, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

The two operating modes are clear from the description (dispatch id → worker, handle → agent terminal), which effectively tells an agent which input selects which behavior. However, it gives no guidance on when to prefer this over orca_worker_start, orca_worktree_rm, or other lifecycle siblings, and no preconditions or exclusions.

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