Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

export-notes-json

Export notes as structured JSON for backup, migration, or bulk processing, including metadata, HTML, plaintext, and paging.

Instructions

Use when: exporting notes as structured JSON for backup, migration, or bulk processing. Returns: one page of notes (default 50) with metadata, HTML content, and plaintext, grouped by account and folder, plus page info; while page.hasMore is true, call again with offset set to page.nextOffset. Do not use when: you need one note (get-note-content) or only titles and ids (list-notes). Note: a page stops early to stay under the response size limit (APPLE_NOTES_MCP_EXPORT_MAX_BYTES, default 8 MB), and a note too large on its own comes back with strippedImages or contentOmitted set. Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export-notes-json"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum notes in this page (default 50). A page holds fewer when it reaches the response size limit; lower it if your client caps tool output.
offsetNo0-based position to start from, counting notes in account, folder, note order (default 0). Pass the previous page's page.nextOffset.
modifiedSinceNoISO 8601 date string; export only notes modified on or after this date (e.g., '2025-01-01'). Keep the same value while paging.

Output Schema

NameRequiredDescriptionDefault
pageNo
summaryNo
versionNo
accountsNo
exportDateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.16.11

TDQS

A4.8/5.0
Behavior5/5

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

No annotations are provided, so the description must carry the full burden, and it does: it declares the tool is read-only, says a page may stop early to stay under a configurable byte limit, and says individual oversized notes return with strippedImages or contentOmitted set. It also describes the pagination contract, namely that page.hasMore and page.nextOffset drive the next call.

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?

The labels 'Use when', 'Do not use when', 'Returns', and 'Note' make the description easy to scan, with the purpose information placed first. The returns paragraph is dense but each sentence carries concrete facts, such as paging state, size limits, and truncation flags, so there is little wasted wording.

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?

The description is complete for a tool with three paginated parameters, size-limit truncation, and paging state, even though an output schema exists and would have covered the return shape. It also discloses environment configuration (APPLE_NOTES_MCP_EXPORT_MAX_BYTES) and client-side limits, which an agent needs in order to call it safely.

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 already 100%, so a baseline of 3 would be defensible; the description adds real meaning on top of it by stating that limit defaults to 50, that a page may return fewer notes, and that modifiedSince must stay constant while paging. It adds useful operational context rather than restating parameter types.

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 tool's purpose is stated precisely: exporting notes as structured JSON, with the scope limited to one page of notes. It explicitly names the sibling tools it should not be used instead of (get-note-content, list-notes), so an agent can select it correctly without inspecting the 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 provides an explicit 'Use when' section that covers backup, migration, and bulk processing, and a 'Do not use when' section that names concrete alternatives for each case. It leaves nothing to inference about when this tool should be chosen over get-note-content or list-notes.

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