Skip to main content
Glama
joplin-mcp-server

joplin-mcp-server

delete_folder

Deletes a Joplin folder or notebook after confirmation, with an optional force flag to remove it even when it contains notes.

Instructions

Delete a folder/notebook from Joplin (requires confirmation)

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": {
      "folder_id": "<folder_id>"
    },
    "name": "delete_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNoForce delete even if folder has contents
confirmNoConfirmation flag
folder_idYesID of the folder to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.4.0
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only notes that confirmation is required. It never discloses whether the delete is permanent or goes to a trash, what happens to the folder's contents, what error occurs if the folder is non-empty, or whether the operation is reversible — all critical for a destructive tool.

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?

A single front-loaded sentence with a clear verb-resource pair followed by the key precondition, and no filler. It is efficient, though the parenthetical is doing a lot of unexplained work.

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

Completeness2/5

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

For a destructive, non-annotated, three-parameter mutation with no output schema, the definition is far too thin about consequences: it omits what is destroyed, whether contained notes are lost, and whether the action is permanent. The schema covers parameter names but not outcome risk.

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 all three parameters are already documented, including force ('even if folder has contents') and confirm. The description adds essentially nothing beyond this baseline; 'requires confirmation' loosely maps to the confirm flag but supplies no extra semantics.

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 folder/notebook from Joplin') and resolves the folder-vs-notebook naming ambiguity, which is genuinely useful given siblings like list_notebooks and read_notebook. It does not explicitly contrast itself with delete_note or explain scope, so it stops short of full sibling differentiation.

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?

The only usage signal is the parenthetical '(requires confirmation)', which hints at a prerequisite but does not say when to use this versus delete_note, or when to pass force. There is no when-not guidance, and nothing warns that deleting a folder may affect contained notes.

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