Skip to main content
Glama

sftp_download

Downloads a specified remote file over SFTP to a local path so AI agents can retrieve and use it locally.

Instructions

Download a file from the remote server to local.

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": "sftp_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeoutNoAbort this SFTP operation if it makes no progress for this many milliseconds
local_pathYesLocal destination path
session_idNoSession ID (optional if using pre-configured server)
remote_pathYesRemote file path to download

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing beyond the bare action. It does not say whether an existing local file is overwritten, whether parent directories are created, what permissions are needed, how failures surface, or what the tool returns.

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

Conciseness3/5

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

The single sentence is front-loaded and free of waste, which is good, but it is short because it is under-specified rather than because the content was distilled. Conciseness here costs information rather than saving it.

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 four-parameter tool that writes to the local filesystem with no annotations and no output schema, the definition says far too little. Nothing covers overwrite behavior, path handling, session requirements, or result reporting, all of which an agent needs to invoke this safely.

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% and each parameter is documented in the schema, including the timeout's no-progress semantics and the optional session_id. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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?

States a specific verb (download) and resource (a file from the remote server to local), which is clear on its face. It does not distinguish itself from siblings that could plausibly do related work, notably sftp_read and sftp_upload, so an agent must infer the boundary from names alone.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of prerequisites (an active session or pre-configured server implied by session_id), and no stated alternative such as sftp_read for reading remote content in place. The agent is left to infer everything about selection context.

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