Skip to main content
Glama

Orca List Worktrees

orca_list_worktrees
Read-only

Returns a JSON list of Orca-managed worktrees, optionally filtered by repository selector and capped by a limit, without making changes.

Instructions

Orca 管理のワークツリー一覧を JSON で返す。内部で orca worktree list --json を実行するだけで、何も変更しない。repo セレクタと limit を指定できる。

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

Input Schema

NameRequiredDescriptionDefault
repoNo対象リポジトリのセレクタ(id:<id> / name:<name> / path:<path>)
limitNo取得するワークツリー数の上限(省略時は CLI 既定)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description does add real value by disclosing the underlying implementation ('orca worktree list --json') and confirming no state change, but it says nothing about pagination, ordering, or what the JSON envelope looks like.

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?

Three short sentences, front-loaded with the purpose, followed by the safety/implementation note and the parameter hint. No filler, though the parameter sentence is close to redundant with the schema.

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 trivial two-parameter read-only list tool with no output schema, the description covers purpose, safety, and implementation source. The remaining gap — shape of the returned JSON and default behavior when limit is omitted — is minor but real.

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 are already documented with their selector syntax and limit bounds. The description merely restates that a repo selector and limit exist and adds no format or precedence detail, which is the expected baseline when the schema does the work.

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 a specific verb and resource ('ワークツリー一覧を返す') and states the return format (JSON), so an agent can tell it apart from the singular orca_get_worktree. It stops short of explicitly contrasting itself with that sibling, which keeps it at 4 rather than 5.

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?

Usage is only implied: stating that it 'does not change anything' signals a safe read path, but there is no explicit 'use this when you need an enumeration, use orca_get_worktree when you have a single id' guidance. The agent must infer when this is preferable to its siblings.

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