Skip to main content
Glama

agent_park

Destructive

Pauses a worker for the night by killing its pane, marking it PARKED, releasing leases, and recording its branch so it can be resumed later instead of closed as finished.

Instructions

Park a claude or codex worker for the night: kill its pane, mark the row PARKED rather than plain closed, release any leases the worker holds, record the branch, and hand back a board line plus the one call that brings it back. Use this instead of agent_close when the lane is paused, not finished - closed alone cannot tell a next-morning lead which is which. Resume it with agent_resume.

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

Input Schema

NameRequiredDescriptionDefault
nameNoThe worker's name, e.g. "impl" or "DEVX-123". Prefer passing this rather than agent_id, but pass only one: if both arrive, agent_id wins and this is ignored. A partial name works when it matches exactly one running worker, so "123" finds DEVX-123.
agent_idNoNumeric agent id. Use name instead unless you have the id to hand.
project_idNoDifferent project override. Use ONLY when the user explicitly asks for another project by name; otherwise stay in the current scope, even when results are empty.
confirm_selfNo

Output Schema

NameRequiredDescriptionDefault
cwdYes
nameYes
noteNo
parkedYes
agent_idYes
todo_idsYes
parked_atYes
board_lineYes
session_idYes
hive_noticeNo
parked_branchYes
released_leasesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.14.0
    • addedOutput schema / properties / released_leases
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changedv1.2.2
    • addedOutput schema / properties / hive_notice
      Added value: +{
      +  "type": "string"
      +}
  3. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only supply a generic destructiveHint=true; the description goes well beyond that by disclosing exactly what is destroyed (the pane), what state is written (row PARKED, branch recorded), and what side effects occur (leases held by the worker are released). It also describes the return payload (a board line plus the resume call), which annotations cannot convey.

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 sentences, both front-loaded with the operation first and the routing rule second. The dense clause list in sentence one maps one-to-one onto real side effects rather than filler, and the resume pointer closes it cleanly.

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

Completeness5/5

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

For a destructive, multi-effect lifecycle tool this covers what is destroyed, what state is recorded, how it differs from the nearest sibling, and which call reverses it. An output schema exists, so the description needn't enumerate return fields, and its brief mention of the board line is a bonus rather than a gap.

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 coverage is 75% and the name/agent_id/project_id descriptions already handle precedence (agent_id wins), partial-name matching, and project scoping. The description adds no parameter-level meaning of its own, and the undescribed confirm_self flag is left entirely to the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

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 states a specific verb (park) on a specific resource (a claude or codex worker) and enumerates the concrete effects: kill the pane, mark the row PARKED, release leases, record the branch. It immediately distinguishes itself from agent_close by explaining that PARKED vs closed is the distinguishing state, so an agent can choose without opening either schema.

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

Usage Guidelines5/5

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

It gives an explicit when-to-use rule: use this instead of agent_close when the lane is paused rather than finished, with the rationale that 'closed' alone cannot tell a next-morning lead which is which. It also names the follow-up tool (agent_resume) for the reverse operation, leaving nothing to inference.

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