Skip to main content
Glama

Delete note

delete_note

Deletes an Obsidian note by moving it to the trash after confirmation; permanent deletion is available only when the server allows unrecoverable removal.

Instructions

Delete a note through Obsidian. Goes to the trash by default and requires confirm: true. Permanent deletion additionally requires the server to run with OBSIDIAN_MCP_ALLOW_DANGEROUS=1.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "delete_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoNote name, resolved like a wikilink. No folder path, no extension.
pathNoExact path from the vault root, e.g. "Projects/Roadmap.md".
confirmNoMust be true. Guards against accidental calls.
permanentNoBypass the trash. Unrecoverable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that deletion is recoverable by default, that permanent mode is irreversible, that confirm:true is mandatory, and that permanent mode depends on a server-level environment flag. It stops short of describing error behavior (missing note, ambiguous wikilink resolution, rejected confirm).

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?

Three short sentences with zero filler; the destructive default and the confirm guard are front-loaded before the conditional permanent-deletion requirement. Every sentence carries independent, decision-relevant information.

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 destructive tool with no annotations and no output schema, the description covers the essential safety surface: recoverability, the confirm guard, and the environment-level gate on permanent deletion. Only failure/error semantics and the file-vs-path precedence are left unaddressed.

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%, so the schema already documents file, path, confirm, and permanent, and the baseline is 3. The description adds one genuinely new fact beyond the schema — that permanent requires the server to be started with a specific environment variable — but adds nothing about file/path disambiguation.

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 ('Delete a note') plus the platform ('through Obsidian'), which is enough for an agent to distinguish it from siblings like move_note or rename_note. No explicit sibling comparison is made, but deletion has no close analogue in the catalog.

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 gives a clear default mode (trash) and a viable alternative mode (permanent) with its hard prerequisite (OBSIDIAN_MCP_ALLOW_DANGEROUS=1), which is real operational guidance. However, it never states when an agent should choose permanent versus the safe default, nor names any alternative approach for removing content.

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