Skip to main content
Glama

Shard Connector for Obsidian

Move note to trash

trash_note
Destructive

Move a note into the Trash/ folder at the vault root, keeping its folder path. Restore it in Obsidian by moving it back. Returns once Obsidian Sync has the move, or after about 35s with uploaded false.

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": "trash_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesvault-relative note path, as returned by list_files or search_notes, or an obsidian:// URL for a file in this vault

Output Schema

NameRequiredDescriptionDefault
pathYesvault-relative path of the note before the move
uploadedYeswhether ob confirmed the upload to Obsidian Sync; if false the change is saved and still queued for upload
trashed_toYesvault-relative path the note was moved to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructive=true and idempotent=false, so the safety bar is partly covered; the description goes further by disclosing where the note lands ('Trash/ at the vault root'), that the folder path is retained for restoration, and the sync-wait behavior including the ~35s timeout with uploaded=false. The only gap is not stating failure cases, such as a nonexistent or already-trashed path.

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, front-loaded with the core action, then recovery guidance, then the return/timing contract. No redundant wording or restatement of the title.

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?

A mutation tool with annotations and an output schema needs less prose, and the description covers destination, recoverability, and the sync/timing contract. It stops short of explaining edge cases like missing paths or repeated trashing, which would matter for a non-idempotent operation.

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?

With one parameter at 100% schema description coverage, the schema fully documents the accepted path formats (list_files/search_notes output or obsidian:// URL). The description adds no parameter-level detail beyond that, so the baseline 3 applies.

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?

States a specific verb ('Move') and resource ('a note') plus the exact destination semantics (Trash/ at vault root, folder path preserved). The word 'note' implicitly separates it from trash_folder, so an agent can pick between them from the description alone.

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 line 'Restore it in Obsidian by moving it back' implies this is the delete/recycle operation and that recovery is manual, which is useful context. However, there is no explicit when-to-use vs. an alternative like move_path, and no when-not guidance (e.g., for folders, use trash_folder).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources