Skip to main content
Glama

Recursive Ops

tm_file_recursive_ops

Perform recursive copy, move, delete, list, chmod, and chown operations on remote SSH hosts to manage directories and permissions in Tunnel Manager.

Instructions

Recursive ops (tm_files). Advanced file operations on remote hosts.

Input Schema

NameRequiredDescriptionDefault
modeNoPermission mode (recursive_ops/chmod).755
groupNoGroup (recursive_ops/chown).
host1NoFirst host (diff_compare).
host2NoSecond host (diff_compare).
ownerNoOwner (recursive_ops/chown).
sourceNoSource path (recursive_ops).
patternNoSearch pattern (content_search).
durationNoMonitor duration secs (watch).
usernameNoSSH username.
file_pathNoFile path to compare (diff_compare).
operationNoOperation type: copy, move, delete, list, chmod, chown (recursive_ops).
recursiveNoRecursive search (content_search).
backup_destNoBackup destination (backup).
compressionNoEnable compression (backup).
destinationNoDestination path (recursive_ops/copy/move).
incrementalNoIncremental backup (backup).
max_resultsNoMax results (content_search).
remote_hostNoRemote host.
watch_pathsNoPaths to monitor (watch).
backup_pathsNoPaths to backup (backup).
password_refNoRuntime secret reference for the SSH password.
search_pathsNoDirectories to search (content_search).
identity_fileNoSSH identity file path.
case_sensitiveNoCase-sensitive (content_search).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.1

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false, so the safety profile is partly covered. The description adds nothing beyond that: it doesn't say the operations run over SSH, that credentials come from username/identity_file/password_ref, or that some operations (delete, move) mutate or remove remote files. Given destructive operations are reachable, silence on irreversibility is a real gap.

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

Conciseness2/5

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

The two fragments are short but not concise in the useful sense: for a 24-parameter, multi-operation surface there is no structure, no grouping by operation, and no front-loaded statement of the primary mode. It is under-specification rather than economy.

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

Completeness1/5

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

For a 24-parameter tool that multiplexes copy/move/delete/list/chmod/chown plus search, backup, diff, and watch parameters, two sentences of boilerplate leave an agent without the information needed to call it correctly. The output schema covers return values, but the selection logic across operations is entirely absent.

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 the baseline is 3; each parameter is already tagged in the schema with the sub-operation it belongs to (recursive_ops, content_search, backup, diff_compare, watch). The description adds no meaning on top of that, notably not explaining that 'operation' is the discriminator that determines which of the 24 parameters matter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Recursive ops (tm_files). Advanced file operations on remote hosts." mostly restates the tool name and title; "advanced file operations" names no specific verb or resource scope. An agent cannot tell from this whether the tool copies, deletes, chmods, or backs up, and cannot distinguish it from siblings such as tm_file_backup or tm_file_content_search, which the schema itself shows are folded in here.

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 prerequisites, and no mention of any alternative tool. With a dozen siblings covering file search, backup, diff, watch, and remote file transfer, the description offers no basis for routing a request to this tool rather than those.

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