Skip to main content
Glama
gjenkins20

webmin-mcp-server

create_directory

Create directories on remote servers with custom permissions. Safe mode restricts to /tmp or /var/tmp for security.

Instructions

Create a new directory. In safe mode, only directories in /tmp or /var/tmp can be created.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serverNoServer alias (e.g., 'pi1', 'web-server'). Uses default server if not specified.
pathYesAbsolute path to the directory to create
modeNoPermission mode (e.g., 755)
Behavior3/5

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

No annotations are provided, so the description carries the burden. It adds the safe mode behavior, which is valuable, but lacks details on failure conditions (e.g., directory already exists), permission requirements, or creation of parent directories.

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 sentences, front-loading the main purpose and then adding a constraint. No redundant words, making it efficient and easy to parse.

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

Completeness2/5

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

With no output schema, the description omits return value details (e.g., success/failure). It also lacks information about edge cases (e.g., parent directory creation, error handling), which are important for a file system mutation tool.

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%, and parameter descriptions are present. The description does not add extra meaning beyond the schema's definitions for 'path', 'mode', and 'server'. Baseline 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 tool's action ('create a new directory') and specifies a key constraint (safe mode restriction to /tmp and /var/tmp). This distinguishes it from sibling tools that perform file or user operations.

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 includes a safe mode constraint but does not explicitly guide when to use this tool versus alternatives (e.g., copy_file, write_file). There is no mention of prerequisites or typical use cases, leaving some ambiguity.

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/gjenkins20/webmin-mcp-server'

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