Skip to main content
Glama

create_directory

Establish or verify directory structures in your Vertex AI workspace. Easily create nested directories with a single operation, ensuring project setup is efficient and error-free.

Instructions

Create a new directory or ensure a directory exists in the workspace filesystem. Can create multiple nested directories in one operation (like mkdir -p). If the directory already exists, this operation will succeed silently. Perfect for setting up directory structures for projects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesThe path of the directory to create (relative to the workspace directory). Can include nested paths.
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: the mkdir -p capability for nested directories, idempotent behavior (succeeds silently if directory exists), and workspace-relative path context. It doesn't mention permissions, error conditions, or rate limits, but covers the essential operation characteristics.

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?

Three sentences with zero waste - first states core functionality, second explains mkdir -p behavior and idempotency, third provides usage context. Every sentence earns its place and the description is appropriately sized for a single-parameter tool.

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

Completeness4/5

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

For a single-parameter mutation tool with no annotations and no output schema, the description does well by explaining the mkdir -p behavior, idempotency, and project setup context. It could mention error conditions or return values, but covers the essential operation adequately given the tool's complexity.

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 description coverage is 100%, so the schema already documents the 'path' parameter thoroughly. The description adds some context about nested paths and workspace-relative positioning, but doesn't provide additional syntax or format details beyond what the schema provides. Baseline 3 is appropriate when schema does the heavy lifting.

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 specific action ('create a new directory or ensure a directory exists') and resource ('workspace filesystem'), distinguishing it from sibling tools like 'get_directory_tree' or 'list_directory_contents' which are read-only. It also specifies the mkdir -p behavior for nested directories.

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 about when to use this tool ('perfect for setting up directory structures for projects') and mentions the idempotent behavior when directories already exist. However, it doesn't explicitly contrast with alternatives like 'move_file_or_directory' or specify when NOT to use it.

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

Related 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/shariqriazz/vertex-ai-mcp-server'

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