Skip to main content
Glama
obsidian-pkm

obsidian-pkm

by AdrianV101

vault_move

Move or rename a note in an Obsidian vault and automatically update wikilinks in every file that references it. Use for reorganizing notes while keeping links intact.

Instructions

Move or rename a markdown note (or a folder) within the vault. Moving a note automatically updates wikilinks in all files that reference it; moving a folder does not rewrite links that pointed at the notes inside it. Both paths must be exact. Paths in this tool's output are formatted as markdown links [vault-relative-path.md](obsidian://...) so users can Cmd/Ctrl-click to open in Obsidian. Preserve the link form when relaying paths to the user; pass only the bracket text (e.g. 01-Projects/Foo/note.md) to other vault tools' path arguments, never the full markdown link.

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": {
      "old_path": "<old_path>",
      "new_path": "<new_path>"
    },
    "name": "vault_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
new_pathYesDestination path (exact, must not already exist)
old_pathYesCurrent file path (exact path required)
update_linksNoUpdate wikilinks in other files pointing to this note (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.10.1

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does well: it discloses that moving a note rewrites wikilinks in all referencing files while moving a folder does not rewrite internal links — a non-obvious side effect. It omits error/conflict behavior and whether a move is reversible, leaving some behavioral gaps.

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?

Purpose is front-loaded in the first sentence, followed by the important caveat and then the output-format guidance. Every sentence carries information, though the markdown-link explanation runs slightly long relative to the core operation.

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 mutation tool with no annotations and no output schema, the description covers the essential facts an agent needs: what moves, the link-rewrite asymmetry, path exactness, and output formatting. It could be stronger by stating failure modes (e.g., destination already existing) and permission assumptions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds meaning: it stresses that both paths must be exact and explains the wikilink consequence tied to `update_links`. It still doesn't clarify how `update_links=false` interacts with the folder case, so it stops short of full semantic coverage.

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 opening sentence gives an explicit verb ('Move or rename') and resource ('a markdown note (or a folder)') scoped to the vault. It also draws the note-vs-folder distinction that an agent must understand to predict side effects, making it clearly distinguishable from content-editing siblings like vault_edit or vault_write.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives concrete operational guidance for interacting with other vault tools: relay markdown-link form to the user, but pass only the bracket text to other tools' `path` arguments. It does not explicitly say when to prefer vault_move over alternatives such as vault_write/vault_trash, so the routing guidance is strong but incomplete.

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