Skip to main content
Glama

Start Coding Agent in Pane

agent_start

Start an interactive coding agent like codex or claude inside an existing idle shell pane and give it a unique name. Assign supported agent CLIs to a pane and begin orchestrating them.

Instructions

Start a supported interactive coding agent (such as codex, claude, agy, gemini, opencode) in an existing idle shell pane and assign it a unique agent name.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "kind": "<kind>",
      "pane_id": "<pane_id>"
    },
    "name": "agent_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesSupported coding agent CLI kind (for example 'codex', 'claude', 'agy').
nameYesUnique agent name matching [a-z][a-z0-9_-]{0,31} (for example 'reviewer').
pane_idYesID of an existing pane at an interactive shell prompt (for example 'w1:p2').
agent_argsNoOptional extra CLI arguments passed after '--' to the agent executable.
timeout_msNoStartup readiness timeout in milliseconds (default 30000, max 300000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A4/5.0
Behavior3/5

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

The annotations already establish that this is a mutating, non-idempotent, non-destructive operation, so the main behavioral burden is partly covered. The description adds useful context by requiring an existing idle shell pane and a unique agent name, but it does not disclose startup failure behavior, what happens if readiness times out, or what side effects launching the process has on the pane.

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?

The definition is a single well-structured sentence with the action, supported examples, location requirement, and naming outcome front-loaded. There is no redundant wording or unnecessary preamble.

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?

With five parameters, full schema coverage, and annotations covering the mutation profile, the description is nearly complete for invocation. The main remaining gap is that it does not say what the tool returns, such as the assigned agent identifier or status, and it does not mention behavior on startup failure or timeout.

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 description coverage is 100%, so the schema already explains kind, name, pane_id, agent_args, and timeout_ms in detail. The description reinforces that kind must be a supported interactive coding agent and that name must be unique, but it does not add syntax or format details beyond the schema. A baseline-plus score is appropriate because the description is consistent with the schema and adds minimal but relevant semantic reinforcement.

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, “Start,” a precise resource, “interactive coding agent,” and the required location, “an existing idle shell pane.” It also names the supported agent families and the naming outcome, so an agent can distinguish this from general pane execution tools without opening the schema.

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 phrase “in an existing idle shell pane” gives an important usage prerequisite, implying the pane must already exist and be at an interactive shell prompt. However, it does not explicitly compare this tool with alternatives such as pane_run or herdr_delegate_agent, nor does it state when this tool should not be used.

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