Skip to main content
Glama
shanmukhdatta

workspace-mcp

create_directory

Create directories with missing parents in the workspace, enabling structured file organization for project management.

Instructions

Create a directory (and any missing parents) inside the workspace.

Args: path: Path relative to the workspace root, e.g. "MyApp/backend/api". exist_ok: If False, error when the directory already exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
exist_okNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It clearly indicates a mutating operation, explains recursive parent creation, and details the exist_ok flag's effect (error when dir exists if False). This goes beyond the schema's bare types and adds meaningful context.

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 concise and well-structured: a one-sentence summary followed by a brief Args block. Every sentence adds value, and the front-loaded purpose is immediately clear.

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?

For a simple directory-creation tool, the description covers the essential context: workspace scope, recursive parent creation, exist_ok behavior, and parameter semantics. It is sufficient for an agent to invoke the tool correctly without further assumptions.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate. It does so excellently by explaining path as 'Path relative to the workspace root' with an example, and exist_ok with its behavioral consequence. This adds substantial meaning beyond the schema's bare boolean and string types.

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 and resource: 'Create a directory (and any missing parents) inside the workspace.' This clearly distinguishes it from sibling tools like create_file and delete_directory, and explicitly notes the recursive parent-creation behavior.

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?

The description provides clear context by stating the tool creates directories inside the workspace and explains the exist_ok behavior. It does not explicitly name alternatives or exclusions, but the purpose is so specific that usage is well implied.

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/shanmukhdatta/workspace-mcp'

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