Skip to main content
Glama

init_obsidian_vault

Initialize or sync an Obsidian vault's .obsidian configuration with preset color profiles for decision, lesson, handoff, and context tags, and optionally generate a dynamic graph index note.

Instructions

Initializes or syncs Obsidian PKM vault configuration (.obsidian/graph.json, app.json) with preset color profiles for #decision, #lesson, #handoff, #context.

Args: workspace_dir: Workspace root directory. scope: Target scope ('local' or 'global'). override_existing: Whether to overwrite existing .obsidian config files. export_index: Also generate dynamic _GRAPH_INDEX.md note.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "init_obsidian_vault"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNolocal
export_indexNo
workspace_dirNo
override_existingNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.2

TDQS

A3.6/5.0
Behavior3/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 for a write operation. It does well to disclose that override_existing overwrites existing .obsidian config files and that export_index also generates a _GRAPH_INDEX.md note, but it omits idempotency, whether the .obsidian directory is created if absent, and whether existing color profiles are merged or replaced.

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?

The core purpose is front-loaded in a single dense sentence, followed by a clean Args block. It is efficient overall, though the file list and tag enumeration in the opening sentence are slightly dense and the parameter block could be tightened.

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?

An output schema exists, so return values need not be explained. Still, for a mutation tool with zero annotations and zero schema coverage, an agent would benefit from knowing the preconditions (existing vault, permissions) and the merge-vs-replace semantics of the config write, neither of which is present.

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 0%, so the Args block is doing real work: it documents all four parameters and supplies the 'local'/'global' enum values that the schema itself lacks. However, several entries merely restate the parameter name ('workspace_dir: Workspace root directory'), and the description never explains what local vs global scope actually changes.

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?

Names a specific verb pair (initializes or syncs) and a concrete resource (Obsidian PKM vault configuration), and even identifies the exact files touched (.obsidian/graph.json, app.json) plus the preset tag color profiles. No sibling in the catalog operates on vault configuration, so there is nothing to confuse it with.

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 by 'initializes or syncs' — a reader infers this is a one-time setup or re-sync operation, but the description never states prerequisites (must a vault already exist?), when not to call it, or how it relates to any other tool. No alternatives are named or excluded.

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