Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

delete-folder

Deletes an existing Apple Notes folder by name or nested path; requires explicit confirmation and an empty folder, so list or move notes first.

Instructions

Use when: deleting an existing folder by name or nested path. Returns: confirmation. Do not use when: deleting a note (delete-note). Safety: requires explicit user confirmation. Deletion fails if the folder still contains notes — list or move those notes first.

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": {
      "name": "<name>"
    },
    "name": "delete-folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
accountNoAccount name (defaults to Notes.app's default account; exact or unique-prefix match)

Output Schema

NameRequiredDescriptionDefault
okNo
folderNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.16.11

TDQS

A4.6/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 the user-confirmation requirement and the concrete failure mode when the folder is non-empty. It stops short of stating irreversibility/no-undo and what happens if the named folder does not exist, which are the remaining behavioral facts an agent would want for a destructive call.

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?

Labeled sections (Use when / Returns / Do not use when / Safety) front-load the routing decision and safety constraint. Every line is actionable; nothing is redundant with the name or schema.

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?

An output schema exists, so the brief "Returns: confirmation" suffices, and the description covers the destructive-call safety profile that annotations would normally supply. Completeness is only marginally short on edge-case behavior (non-existent folder, duplicate names) for a tool with no annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%; `account` is documented in the schema, while `name` is not, and the description compensates by clarifying that it accepts either a bare name or a nested path. It does not address matching ambiguity for duplicate folder names or the max-length constraint, so it adds real but partial meaning.

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 ("deleting an existing folder") plus the identifier form ("by name or nested path"), which implicitly separates it from the delete-folder-by-id sibling. An agent can identify the operation and its addressing mode without opening the schema.

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

Usage Guidelines5/5

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

Explicit "Use when" and "Do not use when: deleting a note (delete-note)" sections name the alternative and the condition that selects it. It also supplies an ordering prerequisite — list or move contained notes first — which is the main way this call goes wrong.

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

Deploy Server

Other Tools