Skip to main content
Glama
obsidian-mcp

obsidian-mcp

by LWaetzig

Create Folder

obsidian_create_folder
Idempotent

Create a new folder in an Obsidian vault, including any missing parent folders, and skip creation if the folder already exists.

Instructions

Create a new folder in the vault. Parent folders are created as needed.

Creating a folder that already exists is a no-op (idempotent).

Args:

  • path (string): Vault-relative path for the new folder, e.g. "projects/2025"

Returns: Confirmation message.

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": "obsidian_create_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesVault-relative path for the new folder

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, but the description adds genuinely new behavior: parent folders are auto-created recursively, and re-creating an existing folder is a silent no-op rather than an error. It also states the response is a confirmation message, which matters since there is no output schema. It stops short of mentioning permissions or failure modes, so not a 5.

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?

Front-loaded with purpose, then the non-obvious recursive and idempotent behaviors, then args and return. The 'Args' line largely duplicates the 100%-covered schema, which is minor waste, but nothing else needs trimming.

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

Completeness5/5

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

For a single-parameter creation tool with full annotation coverage, the description covers purpose, recursive parent creation, idempotency semantics, and the return shape. There is nothing further an agent needs in order to invoke it correctly.

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 coverage is 100%, so the schema already documents the single path parameter. The description restates it and adds a concrete example ('projects/2025'), which is a marginal but real clarification of the vault-relative format. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource: 'Create a new folder in the vault.' An agent can immediately tell this produces a folder rather than listing or deleting one. It does not explicitly name or distinguish itself from a sibling like obsidian_list_folders, so a 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: creating a folder versus creating a note (obsidian_create_note) is inferable from the resource name, but the description never says when to prefer this tool or what preconditions exist. No exclusions or alternatives are offered.

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