Skip to main content
Glama

ssh_transfer

Transfer files between your local machine and remote SSH hosts. Upload or download files to or from multiple hosts in a single operation.

Instructions

Transfer files between local machine and remote SSH hosts. Supports upload to multiple hosts or download from multiple hosts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portNoSSH port for direct connection (default: 22)
hostsYesList of host names or IP addresses to transfer files to/from
passwordNoSSH password for direct connection (use with caution)
usernameNoSSH username for direct connection (overrides config)
directionYesTransfer direction: upload or download
localPathYesLocal file path. For multi-host downloads, use {host} placeholder (e.g., ./logs/{host}.log) or files will be auto-suffixed with hostname
remotePathYesRemote file path on the SSH host
privateKeyPathNoPath to SSH private key file for direct connection
Behavior2/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It only mentions multi-host support and does not disclose file overwrite behavior, authentication requirements, error handling for unreachable hosts, or result format. This is insufficient for a mutation-heavy operation.

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 two sentences, front-loaded with the primary action, and contains no filler. Every word 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?

For a multi-host file transfer tool with no output schema and no annotations, the description should clarify success/failure return behavior, per-host handling, and side effects. It only states basic functionality, leaving significant gaps for an agent.

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?

Schema description coverage is 100%, so all 8 parameters are already documented. The description adds no meaningful parameter detail beyond restating upload/download capability, leaving the baseline of 3 appropriate.

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 function: 'Transfer files between local machine and remote SSH hosts.' This uses a specific verb and resource, and the mention of multi-host upload/download distinguishes it from sibling tools like ssh_list_hosts and ssh_execute.

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 description implies usage for file transfers but does not explicitly provide when-to-use guidance or exclusions relative to ssh_list_hosts and ssh_execute. The multi-host support hints at use cases but does not say 'use this instead of X.'

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/laomeifun/ezssh-mcp'

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