Skip to main content
Glama
ssh-mcp-server

ssh-mcp-server

by B143KC47

ssh_get_config

Retrieve the full SSH configuration for a host alias by merging project-level and user-level settings.

Instructions

Get the full SSH configuration for a specific host (merged from project + user level)

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": {
      "host": "<host>"
    },
    "name": "ssh_get_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesSSH host alias to look up

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It usefully discloses that the configuration is merged from project and user levels, but it does not describe read-only safety, permission requirements, error behavior for unknown hosts, or the return format.

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?

The description is a single front-loaded sentence with no unnecessary wording. It states the action, resource, scope, and merge behavior compactly.

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 simple one-parameter read tool with no output schema and no annotations, the description is mostly complete: it says what is returned and how it is composed. It could say more about output format or error behavior, but the core information is present.

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?

The schema has 100% description coverage and already documents the single 'host' parameter as an SSH host alias. The description adds little beyond saying the host is 'specific', so it does not materially improve parameter understanding.

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 states a specific verb and resource: 'Get the full SSH configuration' for 'a specific host'. It also clarifies that the result is merged from project and user levels, but it does not explicitly distinguish itself from siblings such as ssh_list_hosts or ssh_init_config.

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 gives no explicit guidance on when to use this tool versus alternatives. It implies the tool is for looking up a host's config, but does not state prerequisites, exclusions, or when another sibling should be used instead.

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