Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

export-paper-image

Save a rendered Paper drawing from an Apple Note to a new PNG or JPEG file, selecting the drawing by attachment ID when needed.

Instructions

Use when: saving Notes' rendered image of a Paper drawing or classic drawing to a file. Returns: savedPath, format (png or jpeg), width, height, bytes, source (fallback: Notes' full rendering; preview: its largest thumbnail, used only when no full rendering exists), and the drawing's attachmentId and handwritingSummary. Do not use when: the attachment is a photo or file (save-attachment or export-attachments). Safety: writes one new file; savePath must be absolute, under the home directory, a temp dir, or /Volumes, outside the Notes data folder, must not exist yet, and must end in the image's extension (.png, or .jpg/.jpeg). The image header is validated before and after copying. Pass attachmentId (from list-paper-attachments) when the note has more than one drawing. Requires Full Disk Access; Notes.app is not opened.

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": {
      "noteId": "<noteId>",
      "savePath": "<savePath>"
    },
    "name": "export-paper-image"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteIdYesExact note ID returned by search-notes, list-notes, or create-note: x-coredata id, Notes UUID, or numeric key
savePathYesAbsolute path for the new image file (.png, or .jpg/.jpeg for a JPEG rendering)
attachmentIdNoDrawing to export (attachmentId or identifier from list-paper-attachments); required when the note has more than one

Output Schema

NameRequiredDescriptionDefault
kindNo
bytesNo
staleNo
widthNo
formatNo
heightNo
sourceNo
savedPathNo
identifierNo
attachmentIdNo
handwritingSummaryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.16.11

TDQS

A4.7/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden and does so well: it discloses the single new file written, all savePath constraints, pre/post image header validation, Full Disk Access requirement, and that Notes.app is not opened. It does not discuss overwrite/rollback on partial failure beyond 'must not exist yet', but coverage of side effects is far above typical.

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?

Labeled sections (Use when / Returns / Do not use when / Safety) front-load the routing decision, and each sentence carries constraints or routing information rather than filler. Length is justified by the number of hard preconditions on savePath.

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 file-writing export tool with three parameters, the definition covers preconditions, format coupling, permission requirements, and fallback behavior of the source field. The Returns line is somewhat redundant with the output schema but reinforces the fallback semantics.

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 baseline is 3; the description adds real meaning beyond it by tying attachmentId to its source tool and the multi-drawing condition, and by linking savePath's extension to the produced format. It does not add syntax detail for noteId, which the schema 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?

States a specific verb and resource: saving Notes' rendered image of a Paper drawing or classic drawing to a file. It immediately distinguishes the target object (drawing renderings) from sibling concerns like plain attachments.

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' clauses, with named alternatives (save-attachment, export-attachments) for photo/file attachments. Also tells the agent when attachmentId is needed and where to get it (list-paper-attachments).

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