Skip to main content
Glama

create_directory

Creates a directory inside a WSL distribution, including parent directories. Optionally specify a particular distro.

Instructions

Create a directory in WSL (recursive).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
distroNo
Behavior2/5

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

No annotations are provided, so the description must carry full behavioral disclosure. It only mentions 'recursive' but omits important behaviors such as whether the operation is idempotent (if directory already exists), whether intermediate parent directories are created, how distro selection works, permissions required, or return values. This is a mutation tool, so more transparency is expected.

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 imperative sentence that is front-loaded with the action. There is zero wasted wording, and it conveys the core purpose efficiently.

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?

Although the tool is simple, the description omits critical operational context such as return values, error behavior (e.g., existing directory, invalid path), and distro parameter semantics. No output schema is provided, so the description should compensate, but it does not.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not mention 'path' or 'distro' at all. It does not clarify that 'path' is the target directory path or that 'distro' specifies the WSL distribution, nor whether distro has a default. The description adds no meaning beyond the raw schema fields.

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 ('Create'), resource ('a directory'), context ('in WSL'), and behavior ('recursive'). This distinguishes it from sibling file/content manipulation tools like write_file or edit_file, which create/modify files rather than directories.

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?

No guidance is provided on when to use this tool versus alternatives. For example, run_command could also create a directory via shell commands, but the description does not mention this alternative or any exclusions. The usage context is only implied by the tool name and description.

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/Darling209/wsl-bridge-mcp'

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