Skip to main content
Glama
Obsidian MCP Server
by Kynlos

export_vault_json

Export an entire Obsidian vault as a structured JSON database, with optional note content and output path, to back up or process vault data in other tools.

Instructions

Export entire vault as structured JSON database

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

Input Schema

NameRequiredDescriptionDefault
output_pathNoOptional output path for JSON file
include_contentNoInclude full note content (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full behavioral burden and does not meet it. It never says whether the export is returned inline or written to disk, what happens when output_path is omitted, whether an existing file is overwritten, or how large vaults are handled. With no output schema either, the shape of the resulting JSON is entirely undisclosed.

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 front-loaded sentence with zero filler; the verb and scope lead. It is efficient but borders on under-specification rather than being genuinely tight prose.

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?

For a whole-vault export with no annotations and no output schema, the description leaves critical operational questions unanswered: where the output lands when output_path is absent, whether the operation is side-effecting on disk, and the rough scale/performance envelope. Two well-documented params do not compensate for that missing context.

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% — both output_path and include_content already have inline descriptions covering optionality and the default. The description adds nothing beyond the schema (e.g. no note on file permissions, path resolution, or what 'content' excludes), so the baseline 3 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?

States a specific verb (export), a specific scope (entire vault), and an output format (structured JSON database). The format naming implicitly separates it from export_vault_csv, export_vault_pdf, and export_vault_markdown_bundle, though it never says so explicitly.

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?

The phrase 'entire vault' implies this is the bulk/whole-vault option rather than the note-level exporters (export_note_markdown, export_note_html), which is useful context. However, there is no explicit when-to-use or when-not-to-use statement and no named alternative, so the agent must infer routing from the format name.

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

Deploy Server

Other Tools