Skip to main content
Glama

Shard Connector for Obsidian

Move folder to trash

trash_folder
Destructive

Move a folder and everything in it into the Trash/ folder at the vault root, keeping its folder path. Links to notes in it aren't rewritten. 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_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesvault-relative folder path, for example Projects/Old

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the destructiveHint annotation: it discloses that the whole subtree moves, that the folder path is preserved, that links are NOT rewritten, how to restore, and the sync-wait semantics including the ~35s timeout with uploaded false. That is exactly the behavioral context an agent needs before an irreversible operation.

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, then behavior, then restore and timing in a compact sequence. Slightly dense multi-clause sentences, but no filler and every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists, and the description still clarifies the uploaded flag and the timeout case that governs it. Combined with the destructive semantics, restore path, and link behavior, nothing material is missing for correct invocation.

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% with a single required path parameter already described as a vault-relative folder path with an example. The description adds little beyond confirming the path is preserved, so the schema does the heavy lifting and 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 and resource (move a folder) plus the scope (the folder and everything in it) and destination (Trash/ at vault root). The resource noun 'folder' alone separates it from the sibling trash_note, so an agent can route correctly without opening either schema.

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?

Usage is implied clearly by the description: this is the folder-level trash operation, and restoring means moving it back in Obsidian. However, no explicit when-not guidance or alternative (for example, trash_note for individual notes, or move_path for non-destructive moves) is named.

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