Skip to main content
Glama
SSH MCP Server

SSH MCP Server

by YawLabs

ssh_key_load

Load an SSH private key into the running agent. Ensures the agent is running first. Use this after listing local keys shows one that is not loaded.

Instructions

Load an SSH private key into the running agent. Ensures the agent is running first. Use this after listing local keys shows one that is not loaded.

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": {
      "keyPath": "<keyPath>"
    },
    "name": "ssh_key_load"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyPathYesPath to the SSH private key to load (e.g. ~/.ssh/id_ed25519)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.1

TDQS

A3.8/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, and it does disclose one meaningful side effect: it ensures the agent is running first, implying the agent may be started. It says nothing about idempotency for already-loaded keys, passphrase-protected keys, file permission requirements, or whether the key survives agent restart, which are the behaviors an agent would most need to anticipate.

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?

Three short sentences, operation stated first, then the precondition, then the usage trigger. No filler and nothing that repeats the schema or the tool name.

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 one-parameter, non-destructive convenience tool with no output schema, the description covers what it does, the precondition, and the sequencing with the listing tool. The main remaining gap is outcome reporting (what the agent should expect on success or failure), which is modest given the tool's simplicity.

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 the single keyPath parameter is documented in the schema with a concrete example path, so parameter meaning is already fully supplied there. The description adds no additional semantics such as whether relative paths, symlinks, or public-key paths are acceptable.

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?

"Load an SSH private key into the running agent" gives a specific verb and resource, and the follow-up sentence distinguishes this from the listing tool by tying it to the case where a key is present locally but not loaded. It stops short of naming sibling tools explicitly, but the operation 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 Guidelines4/5

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

The description supplies a concrete trigger: use it after listing local keys surfaces one that is not loaded, which effectively routes the agent to ssh_key_list first. It also notes the agent-running precondition. It does not state when to avoid the tool (e.g., key already loaded), so it falls short of explicit exclusions.

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