Skip to main content
Glama
ssh-sftp-mcp

ssh-sftp-mcp

by endjoker

List SSH connections

ssh_connection_list
Read-onlyIdempotent

Lists metadata for SSH connections currently held by the server process, excluding private keys, passwords, and full command history.

Instructions

Lists metadata for SSH connections held by this server process (no private keys, passwords, or full command history).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
countYes
connectionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the results are process-scoped and deliberately exclude private keys, passwords, and full command history, which tells an agent both the data bounds and the sensitivity posture. It does not describe pagination or ordering, a minor gap.

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 sentence that front-loads the verb and resource, then uses a compact parenthetical for the exclusion constraint. Every clause carries information; nothing is redundant.

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-only listing tool with an output schema and full annotation coverage, the description covers scope and data boundaries sufficiently to call it correctly. The missing piece is routing guidance relative to sibling listing and connect tools, which keeps it below a 5.

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 baseline is 4; there is nothing for the description to disambiguate. The schema's empty object matches the description's implication of an unfiltered full listing.

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?

The description gives a specific verb plus resource ("Lists metadata for SSH connections") and scopes it to connections held by this process, which clearly separates it from execution or transfer siblings. It stops short of naming an alternative tool or connection ID semantics explicitly, so it is clear but not fully differentiating on its own.

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?

The description does not say when to call this tool instead of ssh_connect, ssh_exec, or the sftp siblings, nor does it mention any prerequisites (for example, having an active connection). The only cue is the word "metadata", which implies discovery usage, but that is inferred rather than stated.

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