Skip to main content
Glama
yunzaixi-dev

obsidian-agi-workspace-mcp

by yunzaixi-dev

patch_note

Apply targeted edits to existing Obsidian notes: append, prepend, replace sections by heading, use regex substitutions, or update frontmatter keys.

Instructions

Perform fine-grained updates on an existing Obsidian note (append, prepend, replace under heading, regex patch, update frontmatter).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesRelative note path or title
appendNoText to append to the end of the note body
prependNoText to prepend to the beginning of the note body
patchRegexNoRegex-based targeted substitution
replaceSectionNoReplace or add an entire markdown heading section
updateFrontmatterNoFrontmatter keys to merge or update
Behavior2/5

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

With no annotations, the description carries the full burden, yet it only lists operation types and says 'existing note'. It does not disclose how multiple operations interact, whether they are applied atomically or in order, failure behavior when the note/heading is missing, frontmatter merge semantics, or any side effects. Some schema descriptions hint at behavior (e.g., replaceSection 'Replace or add'), but the tool description itself remains shallow.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence with the core action front-loaded, followed by a complete parenthetical list of supported operations. No filler or redundant information; every word earns its place.

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?

For a tool with 6 parameters, nested objects, and no output schema, the description plus schema covers parameter meaning well but leaves out critical behavioral context: whether operations can be combined, execution order, edge-case handling for missing headings or notes, and what the tool returns. It is adequate for a simple single-operation call but incomplete for complex patch scenarios.

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 the baseline is 3. The description adds a lightweight semantic grouping by naming the operations, which helps map natural language to parameters, but it does not explain parameter syntax or nuances beyond what the schema already provides.

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?

The description clearly states the verb ('Perform'), resource ('existing Obsidian note'), and distinguishes this as 'fine-grained updates' rather than full writes. The parenthetical enumerates specific operation types (append, prepend, replace under heading, regex patch, update frontmatter), which makes the tool's purpose unmistakable and differentiates it from sibling tools like write_note.

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 description implies usage for partial modifications to an existing note through 'fine-grained updates' and the operation list, but it never explicitly states when to prefer this over write_note or read_note, nor does it mention any exclusions. The context is inferable but not explicitly guided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yunzaixi-dev/obsidian-agi-workspace-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server