Skip to main content
Glama
obsidian-mcp

obsidian-mcp

by LWaetzig

Delete Note

obsidian_delete_note
Destructive

Permanently deletes an Obsidian note from the vault by its vault-relative path, removing the file from disk. Use it to clean up unwanted notes; the action cannot be undone and does not update backlinks.

Instructions

Permanently delete an Obsidian note from the vault.

This action removes the file from disk and cannot be undone (unless the vault uses a version-control system). Does NOT update backlinks in other notes.

Args:

  • path (string): Vault-relative path to the note

Returns: Confirmation message.

Errors:

  • "Note not found" if the file does not 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>"
    },
    "name": "obsidian_delete_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesVault-relative path to the note

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds genuinely new context: the deletion is on-disk, irreversible without version control, and does not repair backlinks in other notes. It also documents the "Note not found" error and the confirmation return, which annotations cannot convey.

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?

Front-loaded with the core action and the irreversibility warning, then structured into Args/Returns/Errors sections that are easy to scan. The Args line is redundant with the schema, a small amount of waste in an otherwise tight definition.

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 single-parameter destructive tool with no output schema, the description covers the important gaps: irreversibility, backlink side effect, return value, and the main error case. Only minor details (e.g. behavior on invalid paths or whether a trash is used) are absent.

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% and the schema already describes path as "Vault-relative path to the note"; the Args section restates that verbatim rather than adding format examples or edge cases (e.g. whether a directory or leading slash is accepted). Baseline 3 is appropriate when the schema carries the parameter documentation.

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 and resource ("Permanently delete an Obsidian note from the vault") and the second sentence clarifies the mechanism (removes the file from disk), which clearly separates it from siblings like obsidian_move_note or obsidian_update_note. It stops short of naming any sibling explicitly, so the differentiation is inferred rather than stated.

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 destructive/permanent framing implies when this tool is appropriate, but there is no explicit when-to-use or when-not-to-use guidance and no pointer to alternatives such as moving or updating a note. The backlink caveat is the only routing-adjacent hint.

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