Skip to main content
Glama

write_note

Write or append content to an Obsidian vault note, choosing to overwrite or append and create missing folders as needed.

Instructions

Write or append content to a note file

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

Input Schema

NameRequiredDescriptionDefault
contentYesThe content to write to the note
file_pathYesPath to the note file relative to vault root
append_modeNoIf true, append content to existing file. If false, overwrite file.
create_foldersNoWhether to create parent folders if they don't exist

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it does not mention that append_mode=false overwrites and destroys existing note content, that missing parent folders may be created, or what happens if the file does not exist. It adds almost no information beyond the verb itself for a mutation tool with a destructive path. This is a meaningful gap given zero annotation coverage.

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 short sentence with zero filler, and the core action is front-loaded. It is efficient, though so terse that it borders on under-specification rather than optimal conciseness.

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?

This tool performs a write or overwrite on a 4-parameter schema with no annotations and no output schema. The description says nothing about the destructive overwrite case, folder creation side effects, permissions, or the result of the call, so an agent could easily invoke it destructively without warning.

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 100%, so all four parameters, including the default values for append_mode and create_folders, are already fully documented in the schema. The description adds no extra meaning such as content format or path conventions. Baseline 3 is appropriate 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 pair and resource: 'Write or append content to a note file.' This clearly separates it from read_note and list_notes by virtue of the write action. It does not explicitly name a sibling or call out its scope relative to them, keeping it just below 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 Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as read_note or search_notes before writing. The 'write or append' phrasing hints at two modes but never says when to pick one or the other. The agent is left to infer everything from the schema.

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