Skip to main content
Glama

herdr_job_start

Destructive

Starts a code job by optionally creating a git worktree, opening it in a new tab, launching an agent, and sending the brief.

Instructions

Start a code job: optionally create a git worktree, open it in a new tab, start an agent and send the brief.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoRepository path for the worktree (required for a worktree job).
baseNoWorktree base ref.
kindNoAgent kind (default: HERDR_MCP_DEFAULT_KIND).
nameNoAgent name (auto-generated if omitted).
waitNoWait for the prompt to settle.
focusNoMove user focus to the job.
branchNoWorktree branch name.
promptYesThe job brief sent to the agent.
worktreeNoCreate an isolated git worktree.
agent_argsNoNative agent arguments passed after --. Disabled unless the server sets HERDR_MCP_ALLOW_AGENT_ARGS=1.
timeout_msNoAgent startup timeout in milliseconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the safety profile is covered. The description adds useful behavioral context by disclosing the side-effect chain (creates a worktree, opens a tab, starts an agent), but says nothing about irreversibility, what 'wait'/'focus' actually change, or permission requirements for agent_args.

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?

A single front-loaded sentence that opens with the verb and resource, then lists the optional orchestration steps in execution order. No filler, no restatement of the tool name.

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 an 11-parameter, destructive, non-idempotent orchestration tool with no output schema, the agent still lacks key facts: what is returned (job handle/id?), how errors during the chain are surfaced, and how the 'wait' flag interacts with timeout_ms. Adequate as a one-line purpose but thin given the tool's complexity.

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% across all 11 parameters, so the schema does the heavy lifting and baseline 3 applies. The description adds only the vague 'optionally create a git worktree' mapping to the worktree/cwd/base/branch group, without clarifying defaults or the HERDR_MCP_ALLOW_AGENT_ARGS gating beyond what the schema already documents.

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 ('Start') and resource ('code job') and enumerates the orchestrated steps: worktree, tab, agent, brief. This clearly differentiates it from lower-level siblings like herdr_agent_start and herdr_worktree_create, though it never names those siblings explicitly as the alternatives it composes.

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 description implies this is the high-level composite path (it chains worktree+tab+agent+prompt), which hints at when to reach for it over its granular siblings. However, it never states when to use this versus herdr_agent_start or herdr_worktree_create, nor any prerequisites, so the guidance remains inferential.

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