Skip to main content
Glama

ssh_download

Download a remote file from a named server to a local path using SFTP. The operation is read-only on the remote side and overwrites any existing local file.

Instructions

Downloads one remote file from the named server to a local destination path over SFTP, overwriting any existing local file at that path. Affects only the local filesystem and is read-only on the remote side, so it stays allowed even on servers in readonly or restricted security mode. Reads the remote file using the configured SSH user, which must have permission to read it. Handles single files only; use ssh_sync for directories.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serverYesServer name
localPathYesLocal destination path
remotePathYesRemote file path
Behavior5/5

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

No annotations provided, so description carries full burden. It discloses overwriting existing local files, read-only remote behavior, local filesystem-only impact, and permission requirements. This fully informs the agent of all behavioral traits.

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?

Four sentences, each with distinct purpose: main action, safety mode, permission requirement, alternative tool. Front-loaded with key action. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple file download tool, the description covers all necessary context: single file, SSH user permissions, overwrite behavior, readonly compatibility. No output schema exists but return value is implied. No gaps for typical usage.

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

Parameters4/5

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

Schema covers 100% of parameters with basic descriptions. Description adds value beyond schema by explaining the overwrite behavior and permission context for 'localPath' and 'remotePath', but schema already conveys the primary meaning.

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 it downloads a single remote file via SFTP to a local path, and distinguishes from ssh_sync for directories. The verb 'downloads' combined with resource 'one remote file' and destination 'local destination path' is specific and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly states when to use (single file) and when not (use ssh_sync for directories). Also mentions it is allowed on readonly/restricted servers and requires read permission, providing clear guidance on preconditions.

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/bysonte/ssh-manager-mcp-server'

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