Skip to main content
Glama

Shard Connector for Obsidian

Create folder

create_folder
Idempotent

Create a folder in the Obsidian vault, including every missing parent folder. An existing folder is not an error. Fails if part of the path is a file. Returns once Obsidian Sync has the new folders, which takes at least 10s, or after about 35s with uploaded false.

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

Input Schema

NameRequiredDescriptionDefault
pathYesvault-relative folder path, for example Projects/2026/Q1; a leading / means the vault root

Output Schema

NameRequiredDescriptionDefault
pathYesvault-relative path of the folder
createdYesvault-relative paths of the folders this call created, parents first; empty if the folder already existed
uploadedYeswhether ob confirmed the upload to Obsidian Sync; if false the change is saved and still queued for upload. True when nothing was created, since there is nothing to upload

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: recursive parent creation, idempotent success on an existing folder, failure when a path segment is a file, and a blocking sync wait of at least 10s (about 35s timeout surfacing 'uploaded false'). The latency and failure-mode disclosure is exactly the kind of operational detail the annotations cannot carry.

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?

Four short sentences, front-loaded with the verb and resource, then edge cases, then latency. Every sentence carries information; the final clause about 'uploaded false' is dense but ties to the output schema rather than being filler.

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 one-parameter creation tool with full annotations and an output schema, the description covers creation scope, idempotency, error conditions, and the sync-blocking latency. An agent has everything needed to call it correctly and to plan for the wait.

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% with a single required parameter, and the schema already defines the vault-relative path format and leading-slash convention. The description adds no path syntax or validation meaning beyond that, so the baseline 3 applies.

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?

States a specific verb and resource ('Create a folder in the Obsidian vault') and immediately scopes the behavior with 'including every missing parent folder'. No sibling (create_note, move_path, trash_folder) is a folder-creation tool, so an agent can distinguish this cleanly.

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?

Gives clear context for when the tool applies and what happens in edge cases: an existing folder is not an error, and a file at part of the path is a hard failure. It does not name an alternative (e.g., move_path or trash_folder) to redirect an agent, so it stops short of explicit when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources