Skip to main content
Glama

Create directory

create_directory
Destructive

Create directories recursively at a given path, including parent folders, to set up filesystem locations for files, projects, or scripts.

Instructions

Create a directory recursively.

Input Schema

NameRequiredDescriptionDefault
pathYes
deviceIdNo
deviceNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare `readOnlyHint=false`, `destructiveHint=true`, and `openWorldHint=false`, so the agent knows this is a mutating, potentially destructive operation. The description adds one behavioral detail—that creation is recursive—but does not explain what gets destroyed, whether existing directories are overwritten, or what permissions are required, leaving meaningful gaps.

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, tightly worded sentence with the verb front-loaded and zero filler. It contains no redundant or vague phrasing.

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?

For a mutating tool with three parameters (one required, two optional), no output schema, and no schema descriptions, the description is far too sparse. It omits parameter semantics, error behavior, and any elaboration on the `destructiveHint` annotation, leaving the agent under-informed about how to call it correctly.

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% for three parameters (`path`, `deviceId`, `deviceName`), and the description adds no meaning to any of them. It does not clarify the expected path format, whether `path` is absolute or relative, or what the optional device parameters are for.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Create') and resource ('directory'), making the tool's basic purpose immediately clear. It does not, however, distinguish itself from sibling tools or clarify scope beyond the word 'recursively'.

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?

There is no explicit guidance on when to use this tool versus alternatives like `list_directory`, `write_file`, or other filesystem operations. The adverb 'recursively' hints at a condition (creating parent directories) but does not constitute usage guidance or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools