Skip to main content
Glama
SSH MCP Server

SSH MCP Server

by icdmkg2

ssh_save_profile

Save a named SSH host profile to disk so you can reuse its connection details with ssh_connect.

Instructions

Save a named SSH host profile to disk for reuse with ssh_connect.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "host": "<host>",
      "username": "<username>",
      "auth": "<auth>"
    },
    "name": "ssh_save_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
authYesAuthentication method
hostYesRemote hostname or IP
nameYesUnique profile name
portNoSSH port (default 22)
tagsNoOptional tags for organization
usernameYesSSH username
passphraseNoKey passphrase (stored in plaintext — use key auth for security)
privateKeyPathNoPath to private key file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and falls short. It does not disclose that credentials are written to disk (the schema itself warns the passphrase is stored in plaintext), whether an existing profile of the same name is overwritten, or where the file lives — all critical for a persistence operation involving secrets.

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 front-loaded sentence with zero waste: verb, resource, persistence destination, and purpose all in one clause. Nothing is padded or restated from the title.

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?

For an 8-parameter write operation that persists authentication material with no annotations and no output schema, a one-liner is not enough. Key agent-relevant questions — overwrite behavior, on-disk location, credential handling — are left unanswered by both description and annotations.

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 description coverage is 100% and every parameter, including the auth enum, is documented inline, so the baseline is 3. The description adds no meaning beyond the schema — nothing about how name uniqueness is enforced or how port/tags interact with saved profiles.

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 ("Save") and resource ("named SSH host profile"), plus the persistence target ("to disk") and the downstream consumer ("ssh_connect"). This distinguishes it from ssh_list_profiles and ssh_delete_profile by action alone, though it never explicitly contrasts itself with those siblings.

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?

"for reuse with ssh_connect" implies the workflow context — persist now so a later connect can reference it — but there is no statement of when not to use it, whether an existing profile with the same name is replaced, or whether ssh_connect can be called without a saved profile.

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