Skip to main content
Glama

update_note

Replace a Markdown note in an Obsidian vault; include an expected SHA-256 hash to only overwrite if unchanged, preventing lost edits.

Instructions

Replace a Markdown note, optionally requiring an expected SHA-256 hash for concurrency safety.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
vaultYes
contentYes
expectedHashNo
Behavior3/5

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

The description discloses that the tool 'Replace[s]' the note, which implies destructive overwriting, and mentions the concurrency safety mechanism. However, it does not explain what happens if the expected hash does not match, whether the note must exist, or any failure modes. With only openWorldHint=false as an annotation, the description carries the burden but provides only partial transparency.

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?

The description is a single, tightly written sentence that immediately states the core action and a key optional feature. Every word earns its place, with no filler or redundancy.

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?

Given the tool's moderate complexity, no output schema, and sparse annotations, the description is a bit too brief. It covers the main function and a distinct feature, but it omits information about error conditions, prerequisites (e.g., existing file), and behavior on hash mismatch. In the context of sibling tools, it does enough to separate itself but leaves gaps for an agent to safely invoke it.

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 description must compensate. It adds meaning to expectedHash by linking it to concurrency safety, and 'Replace' implies content is the full replacement. However, it does not elaborate on vault (the container) or path (the location), although these are self-evident from their names. The description provides some added value but not comprehensive parameter semantics.

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 uses the specific verb 'Replace' with a clear resource 'Markdown note', which distinguishes it from sibling tools like create_note, append_note, and move_note. The mention of an optional SHA-256 hash for concurrency safety further specifies the tool's unique scope.

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 replacing a note when concurrency safety is desired, but it does not explicitly state when to use this tool versus alternatives like create_note or append_note. No exclusions or alternative tools are named, leaving the usage context somewhat implied rather than explicit.

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/luannn010/obsidianconnector'

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