Skip to main content
Glama
mcp-ssh-persistent

mcp-ssh-persistent

by vivusk

ssh_status

Check the status of pooled SSH sessions to see each alias, host, user, connection state, host-key fingerprint, and active streams before running commands.

Instructions

Status of pooled SSH sessions (alias, host, user, connected, host-key fingerprint, streams).

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_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full burden. It discloses the shape of what comes back — including connected state, host-key fingerprint, and stream count — which is genuinely useful behavior beyond a bare name. However, it never states that the call is read-only, whether it refreshes or opens pool entries, or how stale/disconnected sessions are reported, leaving safety and side-effect questions unanswered.

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?

A single sentence, front-loaded with the core purpose and followed by a compact field list. Nothing is wasted, though the dense parenthetical would read better as an explicit 'returns' clause since there is no output schema to lean on.

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?

With zero parameters, no annotations, and no output schema, the description is the only source of return-value information and it does supply that. What remains missing is modest: whether the result is a list per session and whether the read has any side effects. For a simple status tool this is close to sufficient.

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 no parameters, so there is nothing for the description to disambiguate; the baseline for a zero-parameter tool applies. The parenthetical field list describes outputs rather than inputs, which is appropriate here.

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?

Names a specific resource (pooled SSH sessions) and states it reports status, then enumerates the returned fields (alias, host, user, connected, fingerprint, streams). This clearly separates it from siblings like ssh_exec or ssh_upload, which act on sessions rather than inspect them. The phrasing 'Status of' is noun-like rather than verb-first, but the intent is unambiguous.

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 explicit when-to-use guidance, no mention of a typical workflow (e.g. call before ssh_exec or ssh_stream_start to confirm a live connection), and no alternatives or exclusions. An agent can infer it is an inspection tool, but nothing in the text routes it against the eleven siblings.

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