Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

get-note-drawings

Read classic PencilKit drawing strokes from an Apple Notes note by ID, returning per-drawing JSON or standalone SVG with colors, widths, and points for analysis or export.

Instructions

Use when: reading the strokes of a note's classic PencilKit drawings (com.apple.drawing / com.apple.drawing.2 attachments), by note id, as JSON or SVG. Returns: per drawing its attachment id, status (ok/error with a code), stroke count, bounds, and strokes (ink type, sRGB color, width, points) and/or a standalone SVG document; overall status ok/partial/error/none. Do not use when: the drawing is a modern Paper sketch (com.apple.paper is not decoded here) or you want the attachment file itself (save-attachment). Note: read-only. Needs Full Disk Access and the public native helper built once with apple-notes-mcp setup --public-helper (compiled locally with PencilKit; no Notes writes).

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-drawings"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesExact note ID returned by search-notes, list-notes, or create-note: x-coredata id, Notes UUID, or numeric key
formatNo"json" (default) returns strokes, "svg" returns SVG documents, "both" returns both
includePointsNoInclude per-point x/y/width/opacity/force in JSON strokes (default true). SVG output always uses the points.

Output Schema

NameRequiredDescriptionDefault
idNo
statusNo
drawingsNo
svgOmittedNo
drawingCountNo
pointsOmittedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.16.11

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it declares read-only status, requires Full Disk Access, and flags a one-time setup prerequisite (`apple-notes-mcp setup --public-helper`) that would otherwise cause confusing failures. It also discloses partial-failure semantics (per-drawing ok/error with a code, overall ok/partial/error/none), which is behavior no structured field communicates.

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 lines — Use when, Returns, Do not use when, Note — with the disambiguating scope in the very first clause. No filler sentences; the technical density (attachment UTI, helper command) is load-bearing rather than decorative.

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?

An output schema exists so return values did not need spelling out, yet the description still gives enough of the shape to set expectations about partial results. Combined with prerequisites, exclusions, and the read-only guarantee, nothing an agent needs to call this correctly is absent.

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%, so the schema already documents `id`, `format`, and `includePoints` including defaults and the enum. The description restates the 'as JSON or SVG' choice and the id-based keying but adds no format syntax or edge-case behavior beyond the schema, so the baseline 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 first sentence gives a specific verb ('reading the strokes') and a precisely scoped resource ('classic PencilKit drawings / com.apple.drawing attachments'), keyed by note id, with output formats named. It explicitly carves out the modern Paper sketch case and points to save-attachment, so an agent can distinguish it from get-note-content or get-native-objects without opening a 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?

The description is structured as explicit 'Use when' / 'Do not use when' blocks. It names two concrete exclusion conditions (com.apple.paper sketches, wanting the attachment file itself) and routes the second to the sibling save-attachment, which is exactly the guidance an agent needs before selecting a tool.

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