ssh_connect_by_name
Establish an SSH connection using a connection name from your configuration file.
Instructions
使用配置文件中的连接名称建立SSH连接
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_name | Yes | 配置文件中的连接名称 |
Establish an SSH connection using a connection name from your configuration file.
使用配置文件中的连接名称建立SSH连接
| Name | Required | Description | Default |
|---|---|---|---|
| connection_name | Yes | 配置文件中的连接名称 |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, so the description carries the full burden. It only says 'establish SSH connection' without detailing whether it opens an interactive session, authentication requirements, or side effects. This is insufficient for a connection tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that is front-loaded and contains no redundant information. Every word is necessary.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of SSH connections and the many sibling tools, the description fails to explain post-connection behavior (e.g., session ID, interactive mode) and does not compensate for the lack of output schema. This is incomplete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single parameter is fully documented in the schema with a similar description. The tool description does not add significant meaning beyond the schema, so baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly specifies the action: establishing an SSH connection using a connection name from a configuration file. This distinguishes it from siblings like ssh_connect (which may require explicit parameters) and ssh_connect_by_config_host (which uses host from config).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when a connection name is known, but it does not explicitly state when to use this tool versus alternatives like ssh_connect or ssh_connect_by_config_host. No conditions or exclusions are provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhijun/ssh-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server