Skip to main content
Glama

file_mkdir

Creates a new directory at the specified adapter://path, enabling agents to organize files across local, cloud, or network storage.

Instructions

Create a directory at the given adapter://path.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "file_mkdir"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesadapter://path

Output Schema

NameRequiredDescriptionDefault
entryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and it discloses almost nothing. It does not say whether intermediate parents are created (recursive mkdir), what happens when the directory already exists (error vs. success vs. overwrite), what permission or auth context is used, or what side effects occur. For a filesystem mutation this is a significant gap.

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

Conciseness4/5

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

A single short sentence with the verb front-loaded and no wasted words. Brevity here is under-specification rather than padding, but structurally it is clean.

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?

An output schema exists, so return values need not be explained, and the single parameter is fully documented. However, for a mutating filesystem tool with zero annotations, the definition omits the existence/idempotency and recursive-creation semantics an agent needs to invoke it safely.

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?

There is only one parameter and the schema already documents it at 100% coverage with the identical 'adapter://path' wording. The description merely repeats the schema, adding no format examples, adapter naming rules, or constraints, so the baseline 3 for fully-covered schemas applies.

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 names a specific verb ('Create') and resource ('a directory') plus the path format, so the intent is unambiguous. It does not differentiate itself from any sibling, but no sibling appears to be a competing directory-creation tool, so the lack of differentiation costs little.

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 call this versus alternatives, nor any stated preconditions. An agent gets no help deciding whether the target parent must already exist or whether this is the right tool for any near-miss case.

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