Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

batch-delete-notes

Delete multiple reviewed notes at once by exact ID and content hash. Each note changed since review is kept and reported as a conflict, so bulk cleanup never removes unintended edits.

Instructions

Use when: moving several reviewed notes to Recently Deleted. Returns: per-note success or conflict. Do not use when: deleting a single note. Safety: every entry requires an exact id and the content hash from get-note-content. Any note changed since review is preserved and reported as a conflict. A note already in Recently Deleted is refused, since deleting it there would be permanent.

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

Input Schema

NameRequiredDescriptionDefault
notesYesReviewed note IDs and revision tokens to delete (max 500)

Output Schema

NameRequiredDescriptionDefault
okNo
failedNo
resultsNo
succeededNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.16.11

TDQS

A4.6/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 behavioral burden and does so well: it discloses the optimistic-concurrency contract (exact id plus content hash from get-note-content), that changed notes are preserved and reported as conflicts, that already-deleted notes are refused to avoid permanent deletion, and that results are per-note rather than atomic.

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?

The definition is organized into labeled clauses (Use when, Returns, Do not use when, Safety), front-loads the routing decision, and contains no filler; each sentence adds either routing or safety information.

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 return-value detail need not be explained. The description covers the preconditions, conflict behavior, and refusal case thoroughly; it only omits minor details such as whether the batch is atomic and whether Recently Deleted is recoverable/undoable.

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%, and the schema already documents both the id formats and the expectedContentHash revision token, including the 'mutation stops if the note changed' semantics. The description restates these points rather than adding meaning beyond the schema, so the baseline of 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?

The description states a specific verb and resource — moving several reviewed notes to Recently Deleted — and explicitly carves out the single-note case, so an agent can distinguish it from delete-note 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?

It gives an explicit 'Use when' condition (multiple reviewed notes) and an explicit 'Do not use when' exclusion (deleting a single note), leaving no ambiguity about which tool to pick.

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