Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

get-note-tables

Read-only

Reads native tables from one exact note as GitHub-flavored Markdown and JSON rows with stable IDs; page large results using offset and maxBytes.

Instructions

Use when: reading the native tables in one exact note as data or Markdown. Returns: one page of whole tables in body order as GitHub-flavored Markdown (first row as header) plus JSON rows with stable row/column ids, tableCellsComplete, and page info. Default limit 500 and maxBytes 4 MiB; while page.hasMore is true, call again with offset set to page.nextOffset. The byte budget includes the full serialized tool response, including repeated Markdown. Do not use when: you need the whole note (get-note-markdown / get-note-content) or native object ranges and checklist ids (get-native-objects). Safety: read-only; reads the NoteStore database and requires Full Disk Access. A cell that cannot be decoded is null in rows, listed in incompleteCells, and marked [undecoded cell] in Markdown; it is never guessed. A table larger than an empty page returns metadata only with complete: false and contentOmitted: true; increase maxBytes (max 8 MiB) or export the note to a file. Cell text only: links and styling inside cells are not rendered.

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

Input Schema

NameRequiredDescriptionDefault
idYesExact note ID returned by search-notes, list-notes, or create-note: x-coredata id, Notes UUID, or numeric key
limitNoMaximum tables to return (default and max 500)
offsetNoZero-based position of the first table (default 0); use page.nextOffset
maxBytesNoMaximum UTF-8 bytes of the serialized tool response (default 4194304, max 8388608)

Output Schema

NameRequiredDescriptionDefault
idNo
pageNo
tablesNo
markdownNo
tableCountNo
tableCellsCompleteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.16.11

TDQS

A4.6/5.0
Behavior4/5

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

Beyond readOnlyHint=true, it discloses that the tool reads the NoteStore database and requires Full Disk Access, and it explains degradation behavior: undecodable cells become null plus incompleteCells plus [undecoded cell] in Markdown, and an oversized table returns metadata only with complete:false and contentOmitted:true. It also notes cell text only, with links and styling not rendered. The one gap is that it does not restate a permission-failure error mode, but the safety context is otherwise unusually rich.

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?

It is front-loaded with use-when and do-not-use-when blocks before the return and safety detail, and every sentence carries operational content. It repeats the default limit 500 and 4 MiB that the schema already states, which is minor redundancy rather than noise.

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 read tool with four fully documented parameters and an output schema, the description still supplies the return shape, the paging contract, the byte-budget semantics, and the fallback paths for oversized or undecodable content. Nothing an agent needs to call it correctly and interpret failure modes 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, but the description adds real semantics: the byte budget counts the full serialized response including repeated Markdown, offset should be set from page.nextOffset rather than computed blindly, and maxBytes can be raised to 8 MiB. Those details clarify how the parameters interact with the response, which the schema alone does not convey.

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 names a specific verb and resource ("reading the native tables in one exact note") and explicitly delimits scope against siblings: the whole note (get-note-markdown / get-note-content) and object ranges/checklist ids (get-native-objects). An agent can select it 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 both directions: a "Use when" clause and a "Do not use when" clause naming the exact alternatives for those cases. The paging loop instruction ("while page.hasMore is true, call again with offset set to page.nextOffset") is a concrete invocation rule rather than an implied one.

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