Skip to main content
Glama

create_dir

Creates a new directory on a 1Panel v1.x server using the supplied path, enabling AI clients to add folders for files, apps, or backups.

Instructions

Create directory

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden and delivers nothing. It does not state whether the operation is idempotent, whether it creates parent directories recursively, what happens if the path already exists, what permissions are required, or whether it is destructive to existing content.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two words and technically terse, but this is under-specification rather than conciseness. Nothing is front-loaded because there is nothing to load.

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

Completeness1/5

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

For a filesystem mutation tool with no annotations, no output schema, and an undocumented required parameter, the definition is completely inadequate. An agent cannot safely call this without guessing at path semantics and error behavior.

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

Parameters2/5

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

Schema description coverage is 0% and the single 'path' parameter has only a type, no format or constraint info. The description adds nothing about whether the path is absolute or relative, whether it must be within an allowed root, or how nested paths are handled.

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

Purpose2/5

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

The description 'Create directory' restates the tool name verbatim and adds no distinguishing scope, target, or effect. It is a bare verb+resource that an agent could infer from the name alone, with no differentiation from sibling tools like create_file or create_website.

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 guidance on when to use this tool, no prerequisites, and no mention of alternatives such as create_file or save_file. The agent is left to infer that this is for creating a directory rather than a file.

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