Skip to main content
Glama
Obsidian MCP Server

Obsidian MCP Server

write_note

Create a new note or overwrite an existing note in an Obsidian vault using a vault-relative path; parent folders are created automatically when missing.

Instructions

Create a new note or overwrite an existing note in the Obsidian vault. Provide the path relative to the vault root. Parent directories will be created if they don't exist.

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>",
      "content": "<content>"
    },
    "name": "write_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the note relative to vault root
contentYesContent to write to the note

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the important destructive trait (overwriting an existing note) and the side effect of creating parent directories, which are real behavioral facts. It does not state that prior content is fully replaced and unrecoverable, nor anything about encoding, atomicity, or the response.

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?

Three short sentences, front-loaded with the operation and its create-or-overwrite duality. Minor waste in the second sentence, which repeats the path semantics already in the schema.

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

Completeness4/5

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

For a two-parameter write tool with no output schema and no annotations, the description covers the essential facts: what is written, what gets replaced, and directory side effects. A note on how the tool reports success would close the remaining gap.

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 both parameters are already documented, and the description mostly restates them ("path relative to the vault root"). The one addition beyond the schema is that missing parent directories are created, which is genuinely relevant to how the path argument is interpreted.

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?

"Create a new note or overwrite an existing note" gives a specific verb plus resource and, crucially, distinguishes the write mode from a sibling like append_note. It falls short of 5 only because it never names the alternative verb explicitly, leaving the agent to infer the contrast.

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 implied by the word "overwrite", which signals this is the whole-file write versus an additive append. There is no explicit statement of when to prefer append_note, no prerequisites, and no warning about which situations should be avoided.

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