Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

get-note-blocks

Read-only

Retrieve a note's structured blocks by exact ID—paragraph styles, inline formatting, alignment, checklists, and attachment positions—paged in body order for detailed inspection.

Instructions

Use when: you need a note's structure, not just its text: paragraph styles (title, heading, subheading, body, monospaced, bulleted/dashed/numbered list, checklist with done state), indent, alignment, block quote, inline formatting (bold, italic, underline, strikethrough, superscript, subscript, color, highlight, links) and attachment positions, by exact id. Returns: one page of blocks in body order (default 500, stopped early under APPLE_NOTES_MCP_BLOCKS_MAX_BYTES, default 4 MB), whole-note summary counts, undecodedFields, and page info; while page.hasMore is true, call again with offset set to page.nextOffset. Offsets and lengths count UTF-16 code units. Do not use when: you want the editable HTML body (get-note-content) or Markdown (get-note-markdown). Safety: read-only; decodes the NoteStore database directly and requires Full Disk Access. Password-protected notes are refused. Link URLs are returned as stored; linkSafe is false for schemes other than http(s), notes, applenotes and mailto.

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": {
      "id": "<id>"
    },
    "name": "get-note-blocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesExact note ID returned by search-notes, list-notes, or create-note: x-coredata id, Notes UUID, or numeric key
limitNoMaximum blocks to return (default 500, max 5000)
offsetNoIndex of the first block to return (default 0); use page.nextOffset

Output Schema

NameRequiredDescriptionDefault
idNo
pageNo
blocksNo
summaryNo
textLengthNo
undecodedFieldsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.16.11

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond readOnlyHint=true: it discloses that the NoteStore database is decoded directly, that Full Disk Access is required, that password-protected notes are refused, and that linkSafe is false for non-http(s)/notes/applenotes/mailto schemes. Minor deduction because the pagination/byte-cap behavior is described as a property of returns rather than framed as a caller constraint, and no permission failure mode beyond Full Disk Access is mentioned.

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?

Front-loaded with the 'Use when' clause followed by 'Returns', 'Do not use when', and 'Safety', which is the right order for an agent deciding whether to call. The long parenthetical enumerations of formatting types are dense but each item is a genuine capability claim; the only slack is the inline list length.

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?

For a 3-param read with an output schema, this covers the selection decision, pagination protocol, and environment prerequisites. The return description partially duplicates the output schema, but that redundancy is harmless; nothing an agent needs to invoke it correctly appears to be 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, but the description adds real meaning the schema lacks: offsets and lengths count UTF-16 code units, and the caller should re-call with offset set to page.nextOffset while page.hasMore is true. It stops short of restating the id format alternatives, which the schema pattern already covers.

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?

Opens with a specific verb ('need a note's structure, not just its text') and enumerates exactly what structure means: paragraph styles, indent, alignment, block quote, inline formatting, attachment positions, keyed by exact id. It also names the sibling tools it is not (get-note-content, get-note-markdown), so an agent can distinguish it without opening any 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' sections, with the excluded cases bound to named alternatives: HTML body goes to get-note-content, Markdown goes to get-note-markdown. The addressee is clearly told which tool to pick for which need.

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