Skip to main content
Glama

ssh_shell_start

Start an interactive SSH shell session on a remote server. Returns a session ID for sending commands and reading output.

Instructions

Start an interactive shell session. Returns a shell ID for sending commands and reading output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colsNoTerminal width in columns (default: 80)
rowsNoTerminal height in rows (default: 24)
sessionIdYesSession ID from ssh_connect
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It only states the basic action and return value. It omits crucial details like whether the shell is blocking, timeout behavior, resource cleanup, or error handling for invalid sessionId.

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?

Two concise sentences with front-loaded purpose. No unnecessary words, but could include a brief note about lifecycle or prerequisites without becoming verbose.

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 3 parameters, no output schema, and 10 siblings, the description covers starting a shell but fails to mention lifecycle (e.g., must call ssh_shell_close). It doesn't clarify that cols/rows are optional. Acceptable but not thorough.

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%, so the baseline is 3. The description adds no additional meaning beyond the schema's parameter descriptions. Each parameter (sessionId, cols, rows) is adequately documented in the schema.

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 verb 'Start', the resource 'interactive shell session', and the output 'shell ID for sending commands and reading output'. This distinguishes it from siblings like ssh_exec (non-interactive) and ssh_connect (establishes connection).

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 interactive use via 'shell ID for sending commands and reading output', but lacks explicit guidance on when to use this vs. alternatives like ssh_exec. It does not mention prerequisites (e.g., session from ssh_connect) or when not to use.

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/kpanuragh/ssh-mcp'

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