Skip to main content
Glama

orca_worktrees

List worktrees with their live coding agents, including status, agent type, branch, and owner; filter by repository path or show only worktrees started by this client.

Instructions

Worktrees with their live agents (status, agent type and state, branch, owner). Optional repo path filter; mine=true lists only worktrees this client started.

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_worktrees"
  }
}

Input Schema

NameRequiredDescriptionDefault
mineNo
repoNoAbsolute path
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It does reveal that results include live agents and their state/owner, which implies a read operation, and it clarifies the scoping behavior of mine=true. It omits whether the call is strictly read-only, how the limit parameter behaves (pagination vs truncation), and any auth or permission requirements.

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 tight sentences: the return contents come first, then the optional filters. No redundant restatement of the tool name and no filler.

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 parameterless-list read tool with no output schema, describing the returned fields is the key compensation and it is done here. The remaining gap is limit semantics and result ordering/pagination, which an agent would need to page results correctly.

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 only 33% — only repo has a schema description ('Absolute path'). The description compensates by turning repo into a path *filter* and, critically, explaining mine=true as 'worktrees this client started', a semantic the boolean schema cannot convey on its own. Only limit remains unexplained in both places.

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 names the resource (worktrees) and enumerates the payload fields returned (status, agent type and state, branch, owner), making it clear this is a listing/read tool. The verb is implicit rather than stated ('Worktrees with their live agents'), and it does not explicitly distinguish itself from siblings like orca_repos or orca_agent_status.

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 explains the two optional filters' effect ('Optional repo path filter; mine=true lists only worktrees this client started'), which implies when a caller would use them. It gives no guidance on when to choose this over sibling tools that also surface agent or repo state, and no exclusions.

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