Skip to main content
Glama
Zw-awa

ssh-session-mcp

by Zw-awa

ssh-session-watch

Monitor SSH PTY sessions by long-polling and rendering a terminal-style dashboard with inline actor markers for collaborative session tracking.

Instructions

Long-poll an SSH PTY session and render a terminal-style dashboard with inline actor markers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionNoSession id, session ref, or session name. Defaults to the active session
eventSeqNoWait until transcript events grow beyond this sequence number
outputOffsetNoWait until terminal output grows beyond this offset
dashboardWidthNoRendered dashboard width in columns
dashboardHeightNoRendered dashboard height in rows
waitForChangeMsNoLong-poll duration in milliseconds
includeDashboardNoInclude the rendered dashboard text in the tool response
stripAnsiFromLeftNoStrip ANSI escape sequences from rendered SSH output
dashboardLeftCharsNoHow many recent transcript chars to retain in the rendered viewer
dashboardRightEventsNoHow many recent input/control/lifecycle events to retain for actor markers
Behavior3/5

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

The description discloses the key behaviors: long-polling (waiting for changes) and rendering a dashboard. However, it does not elaborate on whether the tool is read-only, if it has side effects, or any rate limits. Given no annotations, more detail would be beneficial.

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 description is a single sentence that is front-loaded with the action and outcome. Every part of the sentence is meaningful, with no wasted words.

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

Completeness3/5

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

Given the tool has 10 configurable parameters and no output schema, the description provides a high-level understanding but lacks details on what the dashboard looks like, the response format, or the meaning of 'inline actor markers'. It is adequate but not fully comprehensive.

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

Parameters3/5

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

Schema coverage is 100%, with each parameter described in the schema. The tool description does not add additional meaning beyond the schema, so it meets the baseline of 3. No extra parameter semantics are provided.

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 clearly states the tool's action ('Long-poll an SSH PTY session') and its outcome ('render a terminal-style dashboard with inline actor markers'). It distinguishes from sibling tools like ssh-session-read (which reads output) and ssh-session-send (which sends input).

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 description implies usage for monitoring a session with a dashboard, but does not explicitly state when to use this tool over alternatives like ssh-session-read or ssh-session-history. No exclusions or prerequisites are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zw-awa/ssh-session-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server