Skip to main content
Glama

instance_transfer

Transfer files over SFTP between local storage and an AMD Radeon Cloud instance, with recursive directory support for uploading training data/scripts or downloading checkpoints/results.

Instructions

SFTP 文件传输(支持目录递归)。direction=upload:本地→实例(训练脚本/数据); download:实例→本地( checkpoint/结果)。托管模式下 local_path 是容器内路径, 远程用户建议改用 instance_exec 内 curl/wget 下载 URL。持久数据放 /workspace。

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

Input Schema

NameRequiredDescriptionDefault
directionYes
local_pathYes
remote_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose genuinely useful behavior: recursive directory support, that local_path is a container-internal path in managed mode, and that only /workspace persists. It omits overwrite semantics, whether missing directories are created, authentication/prerequisite requirements, and expected failure behavior for a mutating transfer tool.

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?

Front-loaded with the core operation, then direction semantics, then caveats, so an agent can stop reading once it has what it needs. Each clause carries information; the parenthetical asides are short and not padding.

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

Completeness3/5

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

No annotations, no output schema, and three required parameters at 0% schema coverage mean the description is the only source of truth. It covers direction and local path semantics well, but leaves remote path format, persistence guarantees beyond /workspace, and transfer-failure behavior unspecified for a tool that moves files between environments.

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 0%, so the description must compensate. It meaningfully defines direction by pairing each value with source→destination semantics and adds the managed-mode meaning of local_path, which is real added value. remote_path receives no format guidance (user@host:path vs absolute path) and no constraints are given for any parameter.

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 and resource ('SFTP 文件传输(支持目录递归)') and immediately enumerates the two directions with their endpoints, so an agent knows exactly what the tool does. It also signals where a sibling (instance_exec with curl/wget) is the better fit for URL downloads, though that differentiation is narrow rather than systematic.

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?

Gives concrete when-to-use guidance per direction: upload for training scripts/data, download for checkpoints/results. It also adds a when-not-to-use case, steering remote users toward instance_exec plus curl/wget for URL-based downloads, but does not cover other selection questions such as size limits or when to prefer other transfer routes.

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