Skip to main content
Glama
mocchalera

xserver-files-mcp

by mocchalera

Discover domain roots on server

discover_roots
Read-only

Scans the server home directory for domains with public_html, identifying unconfigured domains so you can register them for management.

Instructions

Scan the server home directory for domains with public_html and show which ones are not yet configured. Use add_root to register any you want to manage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
server_idNoServer profile id. Defaults to config.defaultServer.
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false; description reinforces with 'scan' and 'show' and adds context about what is inspected (home directory, public_html presence). No contradiction and useful detail about the discovery criteria. Simple read-only tool needs little more.

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?

Two sentences, front-loaded with action and output, then a clear follow-up pointer. No filler or repetition of schema/annotations.

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

Completeness5/5

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

Given one optional parameter, readOnly annotations, and no output schema, the description fully conveys the tool's input, action, and result. It also directs the agent to a sibling tool for the next action. No significant gaps.

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?

Input schema covers the single optional server_id parameter with a description and default behavior, so schema coverage is 100%. Description does not add parameter-level details, but baseline 3 is appropriate since the schema carries the meaning.

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?

Specific verb 'scan' with explicit resource (server home directory, domains with public_html). It contrasts with list_roots by focusing on unconfigured domains, and references add_root as the next step. Clear differentiation from siblings.

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

Usage Guidelines4/5

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

Provides clear context: use to find domains on the server that have public_html but are not yet configured. Recommends add_root for managing discovered domains. Does not explicitly contrast with list_roots or other alternatives, but the context is strong enough.

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