Skip to main content
Glama
mocchalera

xserver-files-mcp

by mocchalera

Initialize local site workspace

init_site_workspace

Initialize a local workspace directory for a configured domain outside the repository, adding a protective .gitignore.

Instructions

Create the local workspace directory for a configured domain outside this repository and add a protective .gitignore.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesConfigured domain root to operate under.
dry_runNoReturn paths without creating directories.
server_idNoServer profile id. Defaults to config.defaultServer.
workspace_rootNoLocal workspace root. Defaults to config.localWorkspaceRoot or ~/Dev/xserver-sites.
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description adds that it creates a directory and adds a .gitignore outside the repo. This clarifies the non-destructive write nature without contradicting 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, front-loaded sentence that conveys the verb, resource, scope, and side effect with zero waste.

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?

The tool is a straightforward initializer; the schema covers all parameters, and the description covers purpose and main side effects. Lacks edge-case behavior (e.g., existing directory) but is adequate given the simplicity and no output schema.

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 coverage is 100% with detailed parameter descriptions, so the description doesn't need to explain parameters. It adds no additional semantic value beyond the schema, earning the baseline 3.

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 uses a specific verb 'Create' with a clear resource: 'local workspace directory' and '.gitignore', scoped to a configured domain outside this repository. This clearly distinguishes it from sibling tools like add_root or file operations.

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: the tool operates on a configured domain and outside this repository, implying a setup step before file tools. It does not explicitly name alternatives or exclusions, so it misses a top score.

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