Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

list-folders

Lists every Apple Notes folder for an account, including full nested paths and smart folders, so you can review the folder structure before organizing or accessing notes.

Instructions

Use when: listing all folders, with full nested paths, for an account. Returns: folder names/paths. Do not use when: listing notes (list-notes). Note: smart folders are listed too (AppleScript lists them like ordinary folders) and are marked smartFolder: true when Full Disk Access lets the server read the Notes database; they cannot hold notes. Warns if iCloud sync is active.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list-folders"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoAccount to list folders from

Output Schema

NameRequiredDescriptionDefault
countNo
foldersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.16.11

TDQS

A3.9/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 real work: it discloses the conditional smartFolder flag, the Full Disk Access dependency for reading the Notes database, the iCloud sync warning, and the constraint that smart folders cannot hold notes. It stops short of stating read-only/ non-mutating status explicitly or describing error behavior, which for a pure listing tool is a minor omission.

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?

Labeled sections (Use when / Returns / Do not use when / Note) front-load the key facts and every sentence carries substantive information. The final note sentence is packed and slightly run-on, but it is dense with edge-case behavior rather than filler.

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 description needn't detail return values, and it still briefly states them. It covers the non-obvious operational context (Full Disk Access, iCloud sync, smart folder marking); the only material omission is the default/omitted-account behavior for a tool with zero required parameters.

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?

One parameter with 100% schema description coverage, so the schema already explains 'account' fully. The description adds only "for an account" and does not say what happens when the optional account is omitted (all accounts? default account?) — the one piece of semantic information the schema does not supply.

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?

The description leads with a specific verb and resource ("listing all folders, with full nested paths, for an account") and explicitly carves out scope (nested paths, per-account). It distinguishes itself from list-notes via the "Do not use when" clause, but leaves ambiguous its relationship to list-smart-folders, which the note implies it overlaps with.

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

Usage Guidelines4/5

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

Uses an explicit "Use when" / "Do not use when" structure and names the alternative tool (list-notes) for note listing. It does not route the agent between this tool and list-smart-folders or list-folder-tree, despite acknowledging that smart folders appear in this output — a gap for a catalog where both exist.

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