Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

list-note-links

Read-only

Extract and list hyperlinks, rich-link cards, note links, and section links from Apple Notes by note ID, folder, account, or library, with source and target details.

Instructions

Use when: you need the links in one note (by exact id) or across a folder (with its subfolders by default), an account, or the whole library, with each link's kind: inline (a hyperlink on text), card (a rich link preview), note (a native link chip to another note) or section (a native link chip to a heading or paragraph). Returns: one page of links, newest-modified note first, each with its URL, label, linkSafe, target note and paragraph UUIDs for Notes deep links, card previewPath, and its source noteId, note title, folder path (as list-folders prints it) and account; plus per-kind counts and page info (call again with offset set to page.nextOffset while page.hasMore is true). Do not use when: you want one note's full structure (get-note-structure) or its formatting (get-note-blocks). Safety: read-only; reads the NoteStore database directly and requires Full Disk Access. Inline links need every body in scope decoded, so they are included only with includeInline (default true for id, false for a folder, account or library scan). Recently Deleted is skipped unless the note is requested by id.

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": "list-note-links"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoOne exact note ID (do not combine with account/folder)
kindsNoOnly these link kinds
limitNoMaximum links to return (default 200, max 2000)
folderNoFolder name or path as list-folders prints it, such as Work/Clients (escape a literal slash as \/)
offsetNoIndex of the first link to return (default 0); use page.nextOffset
accountNoAccount name (exact or unique-prefix match)
includeInlineNoAlso decode note bodies for inline hyperlinks (slower). Default true for id, false otherwise
includeSubfoldersNoWith folder, also list notes in its subfolders (default true)

Output Schema

NameRequiredDescriptionDefault
pageNo
linksNo
scopeNo
countsNo
notesInScopeNo
inlineIncludedNo
notesWithoutBodyNo

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?

Beyond the readOnlyHint annotation, the description discloses that it reads the NoteStore database directly and requires Full Disk Access, that inline links force decoding every body in scope so they are gated by includeInline with scope-dependent defaults, and that Recently Deleted is skipped unless a note is requested by id. These are real operational constraints an agent needs before calling.

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 text is organized into labeled sections (Use when / Returns / Do not use when / Safety) and front-loads the scoping decision. The Returns sentence is long and dense, but nearly every clause carries information an agent needs, so it is not padded.

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 an 8-parameter read tool with full schema coverage and an output schema, the description covers scope selection, kind semantics, pagination, the Full Disk Access requirement, and the Recently Deleted exclusion. Nothing essential to correct invocation is 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; the description adds value by explaining why includeInline is costly ('every body in scope decoded') and by defining what each kind value means (inline hyperlink, card preview, note chip, section chip), which the bare enum does not convey. The pagination hint to reuse page.nextOffset is also reinforced.

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 ('the links in one note... or across a folder... an account, or the whole library') and enumerates the four link kinds it reports. It also explicitly distinguishes itself from get-note-structure and get-note-blocks, so an agent can route correctly 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' clause covering the four scoping modes and a 'Do not use when' clause naming the two sibling tools that handle full structure and formatting. The condition selecting the alternative is stated, not left to inference.

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