Skip to main content
Glama

sync_files

Transfer files between a local machine and an HPC cluster using rsync, choosing upload or download direction and optional deletion of extraneous files.

Instructions

Sync files between local and HPC via rsync

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

Input Schema

NameRequiredDescriptionDefault
deleteNo
directionYes
local_pathYesLocal absolute path
remote_pathYesRemote path on HPC (use ~ for home)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

C2.7/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 disclosure burden. It reveals only the mechanism (rsync) and says nothing about overwrite behavior, whether destination directories are created, authentication requirements, or the destructive nature of the delete flag that exists in the schema.

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?

It is a single efficient sentence with no filler and the core purpose is front-loaded. However, the extreme brevity comes at the cost of any warning or structural cue about the destructive delete option, so it is concise but under-built for a tool of this risk profile.

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?

For a four-parameter transfer tool with no annotations and no output schema, the description covers the basic identity but omits behavior an agent needs before calling it: direction semantics, overwrite policy, and the effect of delete. Nothing about return values is required since no output schema exists.

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 coverage is 50%: local_path and remote_path are documented inline, while direction and delete have no descriptions. The most consequential parameter, delete (default false, rsync --delete semantics that remove extraneous remote files), is left entirely unexplained by both schema and description, which is a meaningful safety gap.

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?

Names a specific verb (sync), resource (files), endpoints (local and HPC), and the underlying mechanism (rsync), so an agent knows exactly what operation this performs. It does not differentiate itself from transfer-adjacent siblings like ssh_read_file or ssh_write_file, leaving the agent to infer that this is the bulk/mirroring option.

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 guidance on when to choose this over ssh_read_file, ssh_write_file, or terminal-based copying, and no stated prerequisites such as SSH connectivity or valid cluster context. The description is purely declarative; usage must be inferred from the name alone.

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