Skip to main content
Glama
mocchalera

xserver-files-mcp

by mocchalera

Read remote file

read_file
Read-only

Reads UTF-8 text files from a configured domain root via SFTP, enabling secure retrieval of file contents for Xserver-hosted sites.

Instructions

Read a UTF-8 text file under a configured domain root over SFTP.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesFile path relative to the configured domain root.
domainYesConfigured domain root to operate under.
server_idNoServer profile id. Defaults to config.defaultServer.
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, covering the safety profile. The description adds minor context (UTF-8 encoding, SFTP protocol, configured domain root) but does not disclose behavior like error handling, size limits, or authentication requirements. This meets the baseline with annotations but adds limited extra value.

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, front-loaded sentence that conveys the essential purpose without any wasted words. It is concise and well-structured.

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

Completeness4/5

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

Given the tool's simplicity, the schema fully documents parameters, and annotations cover safety, the description is largely complete. It could optionally mention the return value format, but this is not essential for a simple read operation. Sibling differentiation is missing, which prevents a 5.

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%, with all parameters described (domain, path, server_id). The description does not add additional meaning beyond the schema, so a baseline score of 3 is appropriate.

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?

The description clearly states the verb 'Read' and the resource ('a UTF-8 text file under a configured domain root over SFTP'). However, it does not explicitly differentiate from the sibling tool pull_file_to_workspace, which also involves reading remote files, so it falls short of a 5.

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?

The description gives no explicit guidance on when to use this tool versus alternatives (e.g., pull_file_to_workspace or list_files). It implies usage for reading file content, but there is no stated context, exclusions, or alternative recommendations.

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