Skip to main content
Glama
mocchalera

xserver-files-mcp

by mocchalera

Pull remote file to local workspace

pull_file_to_workspace

Copies a remote file from an XServer domain into the local workspace, backing up any existing local file before overwriting.

Instructions

Read one remote UTF-8 file and write it under the matching local site workspace path. Existing local files are backed up by default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesFile path relative to the configured domain root.
domainYesConfigured domain root to operate under.
dry_runNoReturn what would happen without reading or writing.
server_idNoServer profile id. Defaults to config.defaultServer.
local_backupNoBack up an existing local file before overwriting it.
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 indicate this is not read-only and not destructive. The description adds valuable context by noting that 'Existing local files are backed up by default,' which clarifies the non-destructive behavior and the default backup mechanism. It also specifies the UTF-8 encoding, providing additional behavioral detail beyond the 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 a single, concise sentence that front-loads the core functionality and includes the key backup behavior. There is no redundant or extraneous information.

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?

With 7 parameters and no output schema, the description covers the primary purpose and a key behavior (backups), but it does not mention return values, error handling, or prerequisites like server connectivity. It is adequate for a straightforward file operation but lacks detail for a complex tool with many configuration options.

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 parameters are already well-documented in the schema. The description mentions 'backed up by default,' which aligns with the local_backup parameter, but does not add new parameter meaning beyond what the schema provides. Baseline of 3 is appropriate.

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 clearly states the action: 'Read one remote UTF-8 file and write it under the matching local site workspace path.' This specifies the verb, resource, and destination, and distinguishes it from siblings like push_file_from_workspace (which does the reverse) and read_file (which only reads without writing).

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

Usage Guidelines3/5

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

The description implies this tool is used for copying a remote file into the local workspace, but it does not explicitly state when to choose this over alternatives or when not to use it. Sibling tools like read_file or backup_file could overlap, but the description gives no direct comparison or exclusion guidance.

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