Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GLM_MONITOR_DATA_DIRNoCustom data root directory. Default is ~/.glm-agent-monitor. Must be a canonical absolute local path whose parent already exists (e.g. use /private/tmp/... rather than the macOS /tmp symlink).
GLM_MONITOR_MIN_ROWSNoMinimum rows per resulting pane. Default 6; allowed range 3–100.
GLM_MONITOR_MIN_COLUMNSNoMinimum columns per resulting pane. Default 30; allowed range 10–200.
GLM_MONITOR_MAX_DISK_BYTESNoAdmission and inactive-cleanup byte limit. Default 1073741824 (1 GiB); allowed range 1024–Number.MAX_SAFE_INTEGER.
GLM_MONITOR_MAX_WORKSPACESNoMaximum number of workspaces per server process. Default 8; allowed range 1–64.
GLM_MONITOR_RETENTION_DAYSNoNumber of days after last modification before inactive logs expire. Default 7; allowed range 1–3650.
GLM_MONITOR_MAX_TOTAL_AGENTSNoMaximum number of agent registrations per server lifetime. Default 4096; allowed range 1–100000.
GLM_MONITOR_MAX_PANES_PER_WINDOWNoMaximum number of panes per window. Default 4; allowed range 1–32.
GLM_MONITOR_APPLESCRIPT_TIMEOUT_MSNoAppleScript operation timeout in milliseconds. Default 10000; allowed range 100–60000.
GLM_MONITOR_MAINTENANCE_INTERVAL_MSNoInterval in milliseconds between periodic cleanup runs. Default 10000; allowed range 1000–300000.
GLM_MONITOR_MAX_WINDOWS_PER_WORKSPACENoMaximum number of windows per workspace. Default 4; allowed range 1–16.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
open-workspaceA

Create a dedicated iTerm2 GLM log-monitor window. Explicitly reuse a managed workspace with reuseWorkspaceId. Does not launch agents.

open-agent-paneB

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.

close-agent-paneA

After the client observes agent completion, failure or cancellation, close only its managed viewer session. Does not terminate the agent. Last agent closes the workspace. Idempotent.

list-agent-panesA

List managed workspace, window, agent and pane metadata; reconcile manually closed sessions. Never returns log contents or environment variables.

close-workspaceB

Close only registered dedicated windows and viewers. Refuses closure if unrelated sessions were added. Leaves GLM processes and protected logs intact. Idempotent.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation4/5

Each tool maps to a distinct object+action pair (open/close pane, open/close workspace, list panes), and descriptions explicitly clarify boundaries such as 'does not terminate the agent' and 'does not launch agents'. Minor overlap remains between open-agent-pane and open-workspace since a first pane appears to implicitly establish workspace context, but the descriptions largely resolve this.

Naming Consistency5/5

All five tools follow a strict kebab-case verb_noun pattern (open-agent-pane, close-agent-pane, open-workspace, close-workspace, list-agent-panes). The open/close/list symmetry across the two resources makes the set highly predictable.

Tool Count5/5

Five tools is a tight, well-scoped surface covering create/teardown for both panes and workspaces plus enumeration. Each tool clearly earns its place with no redundancy.

Completeness3/5

The open/close lifecycle for panes and workspaces plus listing is covered, but a monitor server has no tool to read agent log contents, query agent status, or observe completion state — the client must infer these externally. This is a notable gap for the stated monitoring purpose, though the descriptions suggest the design intentionally avoids log exposure.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues