Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
terminal_spawnA

Start a CLI process in a virtual terminal (tmux session). Returns a session_id for subsequent interactions. The process runs in a real PTY with proper ANSI rendering.

terminal_typeA

Type text into the terminal. Characters are sent literally (no key name interpretation). Use terminal_send_key for special keys like Enter or Ctrl-C.

terminal_send_keyB

Send a special key to the terminal. Supported keys: enter, escape, tab, space, backspace, delete, up, down, left, right, home, end, pageup, pagedown, ctrl-c, ctrl-d, ctrl-z, ctrl-l, ctrl-a, ctrl-e, ctrl-k, ctrl-u, ctrl-w, ctrl-r, ctrl-p, ctrl-n.

terminal_screenshotA

Capture what the user currently sees in the terminal — the rendered text grid with ANSI escape sequences stripped. This is the equivalent of looking at the screen.

terminal_wait_forA

Poll the terminal screen until a regex pattern appears or timeout is reached. Useful for waiting for prompts, output, or UI elements to render.

terminal_assertA

Assert that the terminal screen contains expected text or matches a regex pattern. Returns pass/fail with the current screen content and a human-readable message.

terminal_closeA

Close a terminal session and kill the underlying process. Idempotent — safe to call on already-closed sessions.

terminal_exportA

Export the session recording as an asciicast v2 (.cast) file, playable in asciinema-player or asciinema.org. Recording happens automatically — every type, send_key, and screenshot is captured with timing.

terminal_traceA

Retrieve the recorded trace of all terminal operations since the server started. Each event has a t_ms timestamp, event type, session ID, and operation-specific fields. Useful for debugging timing issues, sharing with AI agents for analysis, or saving as a test artifact.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 9 tools

Disambiguation4/5

Each tool maps to a distinct terminal operation: spawn, type, send_key, read screen, poll, assert, close, export, trace. The main soft overlap is between terminal_screenshot, terminal_wait_for, and terminal_assert, which all inspect screen content, though their return semantics (snapshot vs. blocking poll vs. pass/fail assertion) are described clearly enough to distinguish.

Naming Consistency5/5

Every tool uses the same terminal_ prefix followed by a snake_case verb or noun (terminal_spawn, terminal_send_key, terminal_wait_for). The pattern is fully predictable and readable.

Tool Count5/5

Nine tools is well-scoped for a PTY automation server: input, observation, synchronization, assertion, lifecycle, and recording each get dedicated coverage without redundancy.

Completeness4/5

The lifecycle is essentially covered: spawn, drive, observe, wait, assert, close, plus recording export and trace for artifacts. Minor gaps remain—no list_sessions/exit-code or process-status retrieval and no terminal resize, which agents may need for multi-session or long-running workflows.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues