Skip to main content
Glama
jiahuidegit

SSH MCP Server

by jiahuidegit

sftp_download

Download files from a remote server to a local path using SFTP. Specify remote and local paths; optionally set server alias, host, port, username, and overwrite flag.

Instructions

从远程服务器下载文件到本地。使用 alias(推荐)或 host 指定目标服务器,单连接时可省略。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
remotePathYes远程文件路径(必需)
localPathYes本地目标路径(必需)
aliasNo服务器别名(推荐)
hostNo服务器地址(多个活跃连接时必须指定,单连接时可省略)
portNoSSH 端口(可选)
usernameNo用户名(可选,配合 host 使用)
overwriteNo是否覆盖已存在的文件(默认 false)
targetConfirmationTokenNo服务器切换确认 token
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It mentions the basic behavior (download) and the overwrite parameter, but does not disclose error handling, authentication requirements, or idempotency. This is adequate but not comprehensive.

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 extremely concise with only two sentences. It front-loads the purpose and provides essential parameter guidance without any fluff. Every sentence earns its place.

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?

Given 8 parameters, no annotations, and no output schema, the description is insufficient. It does not explain what the function returns (e.g., success message, file path), error scenarios, or prerequisites like needing an active connection. The user is left to infer important details from the schema alone.

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 input schema covers 100% of parameters, so baseline is 3. The description adds value by explaining the usage of 'alias' vs 'host' and the optionality when single connection, but does not provide additional semantics beyond what is in the schema for other parameters like 'remotePath' and 'localPath'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's action ('下载文件从远程服务器到本地' - download files from remote server to local) and distinguishes it from sibling tools like sftp_upload (upload) and sftp_ls (list). The verb 'download' is specific and the resource 'file' is explicit.

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 provides clear guidance on when to use 'alias' vs 'host' and notes that parameters can be omitted when there is a single connection. However, it does not explicitly state when to avoid this tool in favor of alternatives like sftp_ls or sftp_mkdir.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jiahuidegit/ssh-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server