Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

batch-move-notes

Move multiple notes by ID into a single existing folder, with per-ID success or failure counts returned after destination verification.

Instructions

Use when: moving multiple notes by id into one destination folder. Returns: per-id success/failure counts after destination-folder verification. Do not use when: moving a single note (move-note). Safety: optional folder preconditions apply independently to every note, checked live immediately before its move in the same AppleScript; a scope mismatch leaves that note unchanged and other items continue. Each moved note's actual container ID is compared with the destination folder ID before success is reported. The destination folder must already exist (create-folder); a smart folder is refused for the whole call (code unsupported) before any note moves.

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": {
      "ids": "<ids>",
      "folder": "<folder>"
    },
    "name": "batch-move-notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesArray of note IDs to move (max 500 per request)
folderYesDestination folder name or nested path (e.g. "Work/Clients"). Must already exist — create-folder first.
accountNoAccount containing the destination folder (defaults to Notes.app's default account; exact or unique-prefix match)
ifFolderIdNoPrecondition: the note must currently be in exactly this folder (id from list-folders). Re-checked immediately before the write.
ifAncestorFolderIdNoPrecondition: the note must be inside this folder or any of its subfolders. Re-checked immediately before the write.
forbiddenAncestorFolderIdsNoPrecondition: the note must not be inside any of these folders or their subfolders (for move-note and batch-move-notes, neither may the destination). Re-checked immediately before the write.

Output Schema

NameRequiredDescriptionDefault
okNo
failedNo
folderNo
resultsNo
succeededNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.16.11

TDQS

A4.9/5.0
Behavior5/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 so: it discloses per-id success/failure reporting, that preconditions are re-checked live per note, that a scope mismatch leaves that note unchanged while other items continue (partial-failure semantics), that container ID is verified before success is reported, and that a smart folder aborts the entire call before any move. These are exactly the operational traits an agent cannot infer from schema alone.

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?

Four labeled segments (Use when / Returns / Do not use when / Safety) put the decision-relevant information first, with safety detail last. The Safety paragraph is dense but every clause conveys distinct behavior rather than filler.

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?

For a six-parameter batch mutation, the description covers selection criteria, prerequisites, atomicity per item, whole-call abort conditions, and return shape; an output schema also exists so detailed return structure need not be spelled out. Nothing an agent needs before invoking it is missing.

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 100%, so the baseline is 3; the description goes slightly beyond by explaining that the optional preconditions apply independently to each note and are evaluated immediately before that note's write. It does not restate the id/folder formats the schema already documents, which is appropriate.

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?

The opening line states a specific verb and resource with scope: moving multiple notes by id into one destination folder. It immediately separates itself from the sibling move-note by scoping to multiple notes, so an agent can pick between them 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 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: moving a single note (move-note)' clauses give both the positive selection condition and the exclusion with a named alternative. It also states the prerequisite that the destination folder must already exist and points to create-folder.

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