Skip to main content
Glama

ssh_download

Downloads a remote file to your local machine over SFTP using a persistent SSH session.

Instructions

把远端文件通过 SFTP 下载到本机。

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": {
      "remote_path": "<remote_path>",
      "local_path": "<local_path>"
    },
    "name": "ssh_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionNo
local_pathYes
remote_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/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 not say whether the local file is overwritten, whether parent directories are created, whether the transfer can be recursive, what happens on partial failure, or what the return value is. Only the transport mechanism (SFTP) is disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with the action and mechanism front-loaded and no filler. It is efficient, though its brevity borders on under-specification for a three-parameter tool.

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 a tool with no annotations, no output schema, and zero parameter documentation, the description is far too thin. An agent cannot determine session requirements, overwrite semantics, or failure behavior from this definition alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so nothing documents the three parameters. The phrase 'remote file ... to local machine' loosely maps to remote_path and local_path, but the session parameter is entirely unexplained, including whether it is an ID returned by ssh_open.

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 names a specific verb (download), a specific resource (a remote file), the destination (local machine), and the transport (SFTP). It implicitly contrasts with ssh_upload but never names that sibling or any other, so it falls short of full differentiation.

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?

The direction of transfer implies when this applies versus ssh_upload, but there is no explicit when-to-use statement, no prerequisites (for example, whether an ssh_open session must already exist), and no exclusions.

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