Skip to main content
Glama

server_session_start

Start a persistent interactive PTY SSH session and return its session ID for running long-lived remote commands or interactive shells.

Instructions

Start a persistent interactive PTY SSH session and return its session_id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "server_session_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoOptional initial working directory.
commandNoOptional long-running command (defaults to interactive shell).
confirmNo
wait_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose stateful behavior by calling the session 'persistent' and 'interactive PTY' and naming the returned handle. It omits lifecycle obligations entirely: whether a session must be closed with server_session_close, whether sessions expire, resource limits, or auth requirements.

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?

One tightly written sentence with the core behavior and return value front-loaded; zero filler. Its brevity is efficient rather than padded, though it borders on under-specification for a state-creating tool.

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

Completeness2/5

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

A session-creating tool with four parameters, no annotations, and no output schema needs to explain session lifecycle and the two undocumented parameters; the description does none of this. An agent could call it, but would not know how to manage or clean up the resulting session.

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

Parameters2/5

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

Schema coverage is only 50%: cwd and command are self-explanatory in the schema, but 'confirm' (an unmarked boolean defaulting to false) and 'wait_ms' are undocumented in both places. The description adds no parameter meaning at all, leaving the agent to guess what confirm gates and what wait_ms measures.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Start a persistent interactive PTY SSH session', plus the return value ('session_id'). It conveys the key trait that separates it from one-shot execution siblings like server_exec, though it never names an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance. Nothing tells the agent to prefer this over server_exec for one-off commands, or to follow it with server_session_write/server_session_read, despite those siblings existing.

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