Skip to main content
Glama

dbfs_mkdirs

Create directories and parent paths in DBFS. Ensures the required directory structure exists for file operations.

Instructions

Create the given directory (including parents).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute DBFS path to create

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already indicate readOnlyHint=false, so the write nature is known. The description adds the valuable detail of creating parent directories, which is a key behavioral trait. However, it omits other behaviors like idempotency (whether it fails if directory exists), required permissions, or error responses.

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, concise sentence that is front-loaded with the action verb. Every word adds value; there is no redundancy or unnecessary detail.

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

Completeness3/5

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

While the tool is simple with one parameter, the description lacks completeness in terms of usage context, such as distinguishing from workspace_mkdirs or specifying allowed path formats. It does not mention whether the operation is mutable (already implied by annotations) or any return value (output schema is present but not described). For a minimal tool, it is adequate but could be better.

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% for the single 'path' parameter, which already describes it as 'Absolute DBFS path to create'. The description adds 'including parents' which clarifies the effect but does not enhance parameter semantics beyond what the schema provides. Baseline 3 is appropriate.

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 verb 'Create' and the resource 'directory' with the specific behavior 'including parents'. It effectively distinguishes this from sibling tools like workspace_mkdirs (for workspace directories) and dbfs_delete or dbfs_get (which are not creation tools).

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?

The description provides no guidance on when to use this tool versus alternatives such as workspace_mkdirs or other DBFS operations. It does not mention prerequisites, error conditions, or when not to use it. The sibling list includes many similar creation tools, but no comparative context is given.

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/inav/databricks-mcp'

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