Skip to main content
Glama
Obsidian CDP MCP Server

Obsidian CDP MCP Server

obsidian_delete_file

Deletes a file or folder from an Obsidian vault, moving it to the system trash by default; enable permanent deletion when needed.

Instructions

Delete a file or folder (moves to system trash by default).

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_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the file/folder to delete
permanentNoPermanently delete instead of moving to trash (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.9.2

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose the important default that deletion goes to system trash and that 'permanent' overrides this. However, it never states that permanent deletion is irreversible, whether confirmation or elevated permissions are required, or what is returned on success or failure, which are significant gaps for a destructive operation.

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 front-loaded sentence with the resource, the action, and the key default behavior; there is 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?

For a two-parameter tool with full schema coverage and no output schema, the description is roughly adequate, but as a destructive tool with zero annotations it should warn about irreversibility and any confirmation or permission requirements.

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 both parameters are already documented with their defaults and the description merely echoes the trash-by-default behavior. It does add that 'path' may point at a folder as well as a file, which is a small amount of meaning beyond the schema.

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 file or folder') and clarifies that both files and folders are in scope, which an agent can act on directly. It does not explicitly distinguish itself from siblings like obsidian_move_file or obsidian_write_file, but the destructive intent is unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives such as moving or overwriting a file, and no prerequisites or cautions about when not to call it. The parenthetical about trash is the only contextual hint offered.

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