Skip to main content
Glama
SSH MCP Server

SSH MCP Server

by quiloos39

SSH List Connections

ssh_list_connections

Lists every SSH connection and shows whether each session is connected or dead, helping you identify stale remote sessions.

Instructions

List all SSH connections and their status (connected or dead).

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": "ssh_list_connections"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. "List" implies a non-mutating read and the description usefully discloses the status vocabulary (connected or dead), but it does not say whether connections are scoped to this session versus the whole host, nor what a 'dead' entry means for the agent (stale, reconnectable, cleanable).

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?

A single compact sentence with the action front-loaded and the return content appended, with no filler or redundancy.

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

Completeness4/5

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

For a zero-parameter read tool with no output schema, the description covers what the tool does and the shape of the status values, which is close to sufficient. Remaining ambiguity is the scope of 'all connections' and the return container, both minor for a tool this simple.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline applies. It correctly says nothing about arguments rather than inventing any.

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 (List) and resource (SSH connections) plus what the result conveys: each connection's status, either connected or dead. It reads clearly as the read/inspect member of the ssh_* family, though it does not name connect/disconnect/execute as alternatives.

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?

There is no explicit when-to-use statement or exclusion, but the usage is strongly implied by the verb and the sibling set — an agent can infer this is where you check existing connection state before connecting, executing, or disconnecting. Nothing tells the agent whether prior ssh_connect calls are a precondition.

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