Terminal Session Manager
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TSM_DB_PATH | No | Caminho do banco SQLite (padrão: .tsm/tsm.db). | .tsm/tsm.db |
| TSM_MASTER_KEY | No | Chave mestra criptográfica para proteção em repouso. | |
| TSM_CONFIG_PATH | No | Caminho alternativo para o arquivo de configuração. |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_sessionA | Creates and starts a new persistent terminal session. |
| get_sessionB | Retrieves session metadata and live status by session ID. |
| list_sessionsB | Lists all registered sessions with up-to-date execution status. |
| write_sessionC | Writes input data to an active terminal session. |
| read_sessionB | Reads output text from an active terminal session. Sensitive tokens and credentials are automatically redacted before returning. |
| close_sessionC | Terminates an active session and marks it closed. |
| get_eventsB | Retrieves ordered event stream for a session using cursor pagination. |
| submit_jobB | Submits an asynchronous command to execute in background within a session. |
| get_jobC | Queries the execution status, exit code, and outputs of a background job. |
| list_jobsB | Lists all background jobs associated with a specific session. |
| wait_jobB | Blocks until a job completes, fails, or exceeds the specified timeout. |
| cancel_jobC | Cancels a running background job, terminating its process. |
| list_devicesB | Lists registered devices in inventory without secrets. |
| get_deviceB | Retrieves non-sensitive device configuration by nickname or ID. |
| resolve_deviceB | Resolves device connection details internally by nickname. NOTE: Strictly omits secrets, passwords, or keys from the output. Confirms connectivity parameters and indicates if a credential was resolved. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 15 tools
Tools are grouped by resource (sessions, jobs, events, devices) with clear action verbs, so most are easily distinguished. Minor overlap exists between get_device/resolve_device and write_session/submit_job, but descriptions clarify intent.
All 15 tools follow a consistent snake_case verb_noun pattern (e.g., create_session, list_jobs, cancel_job). Plural nouns are used consistently for list operations.
15 tools cover four coherent subdomains without obvious redundancy; each tool maps to a distinct operation. The count is at the upper end of the ideal range but remains well-scoped.
Session, job, and device lifecycles are largely covered (create/read/list/write/close for sessions; submit/get/list/wait/cancel for jobs; list/get/resolve for devices). Minor gaps include no session metadata update/rename and no device registration, but core workflows are supported.