Skip to main content
Glama
mocchalera

xserver-files-mcp

by mocchalera

Push local workspace file

push_file_from_workspace
Destructive

Copies a local workspace file to its matching remote path on XServer via SFTP, backing up existing files by default.

Instructions

Read one local workspace file and write it to the matching remote path. Existing remote files are backed up by default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesFile path relative to the configured domain root.
backupNoBack up existing remote file before writing.
domainYesConfigured domain root to operate under.
dry_runNoReturn what would happen without writing.
server_idNoServer profile id. Defaults to config.defaultServer.
backup_labelNoBackup label used in the generated filename.
workspace_rootNoLocal workspace root. Defaults to config.localWorkspaceRoot or ~/Dev/xserver-sites.
allow_sensitiveNoAllow default-excluded paths such as wp-config.php, uploads, logs, backups, and dumps.
Behavior4/5

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

Annotations already mark the tool as destructive and not read-only. The description adds a valuable safety behavior: existing remote files are backed up by default. It does not mention sensitive-path exclusions or dry-run, but those are covered in the parameter schema, so the description adds appropriate context beyond annotations.

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 concise sentences that front-load the core action and include a key behavioral detail. Every word earns its place, with no redundancy.

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?

Given the tool's complexity (8 parameters, no output schema), the description only covers the basic operation and backup default. While the schema explains parameters, the description lacks broader deployment context (e.g., typical use cases, behavior when duplicate paths exist, or interaction with domain roots) that would help an agent understand when to invoke it.

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 already has a clear description. The description clarifies the overall flow (local to remote) but does not add meaning beyond the schema, fitting the baseline for high schema coverage.

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 states the specific action: reading a local workspace file and writing it to the matching remote path. This clearly distinguishes it from reverse operations like pull_file_to_workspace and direct write tools like write_file.

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?

No guidance is provided on when to use this tool vs alternatives. It does not mention deployment workflows, nor does it indicate when to avoid it (e.g., for creating new files or inline edits). The sibling tools suggest related operations, but no comparative context is given.

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/mocchalera/xserver-files-mcp'

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