Skip to main content
Glama

open-agent-pane

Creates a private agent log and isolated iTerm2 viewer pane so independently launched GLM agents can be monitored without routing log content through MCP.

Instructions

Create a private generated agent log and isolated iTerm2 viewer pane. Client launches the agent independently exactly once; no commands or paths accepted. First pane reports splitDirection none.

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": {
      "workspaceId": "<workspaceId>",
      "agentId": "<agentId>",
      "agentName": "<agentName>"
    },
    "name": "open-agent-pane"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentIdYes
agentNameYes
workspaceIdYes
parentAgentIdNo
splitDirectionNoauto
taskDescriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations declare non-read-only, non-idempotent, non-destructive, closed-world, but the description adds real context beyond that: the log is private, the pane is isolated, the client launches the agent exactly once, and no commands or paths are accepted. The 'exactly once' phrasing usefully reinforces the non-idempotent hint. What is missing is any statement about permissions, failure modes, or what happens if a pane already exists for that agent.

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 with the core action front-loaded and no filler. The final sentence about splitDirection is the weakest link: it is terse to the point of being cryptic and sits oddly apart from the rest of the description.

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

Completeness2/5

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

For a six-parameter creation tool with no output schema and zero schema description coverage, the description should at minimum explain the required identifiers and the optional parent/split/task fields. Instead it omits all parameter meaning and does not describe what the returned pane or log reference looks like, leaving meaningful gaps for an agent trying to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across six parameters, including three required ones (workspaceId, agentId, agentName), so the description carries the burden of explaining them — and it explains none. The only parameter-adjacent remark, 'First pane reports splitDirection none', is ambiguous and even references a value ('none') that is not in the schema's enum of auto/horizontal/vertical, which could mislead. parentAgentId and taskDescription are entirely unaddressed.

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 uses a specific verb ('Create') and two concrete resources ('private generated agent log', 'isolated iTerm2 viewer pane'), so the agent knows exactly what is produced. It does not explicitly name or contrast with siblings like open-workspace or close-agent-pane, but the resource is distinct enough to disambiguate in practice.

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?

'Client launches the agent independently exactly once; no commands or paths accepted' clarifies the division of responsibility and rules out an expectation of passing commands, which is genuinely useful. However, there is no explicit guidance on when to choose this tool versus open-workspace or when close-agent-pane should follow, so the when-to-use condition is only implied.

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