Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

create-table

Append a native Apple Notes table from a rectangular string array, or insert an empty table when rows are omitted, with readback verification instead of text substitution.

Instructions

Use when: appending one native Notes table from a rectangular array of strings, or an empty table when rows is omitted. Returns: the native table identity and decoded cells after readback. Do not use when: a text table is acceptable or the rows are not rectangular. Safety: never substitutes text; preserves existing rich content and reports failure unless the native table is verified.

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>",
      "expectedContentHash": "<expectedContentHash>",
      "scopeText": "<scopeText>"
    },
    "name": "create-table"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
rowsNoCell text, row by row. Omit for an empty 2 x 2 table, the size Notes itself inserts.
scopeTextYesDistinctive existing phrase from below the title line, used by Notes search. Prefer plain words without punctuation, hashtags, or paths.
expectedContentHashYes

Output Schema

NameRequiredDescriptionDefault
okNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.16.11

TDQS

A4/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=false; the description goes well beyond them by disclosing that it never substitutes text, preserves existing rich content, and reports failure unless the native table is verified on readback. That failure/verification contract is genuinely useful for a mutation tool. The 'Returns' line is partly redundant with the existing output schema.

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, front-loaded with the trigger condition and no filler. Each line carries distinct information: trigger, return, exclusion, safety.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers usage, return shape, and safety well, and an output schema exists so return values need no elaboration. The remaining hole is the unexplained expectedContentHash requirement, which an agent could easily supply incorrectly without further context.

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?

With 50% schema coverage, the description adds two real constraints: rows must be rectangular, and omitting rows yields a 2 x 2 table. But it says nothing about expectedContentHash (a required sha256 optimistic-concurrency token) or what the id format identifies, both of which are pattern-only in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('appending one native Notes table from a rectangular array of strings') plus the omitted-rows edge case, which is more than the name alone conveys. It contrasts with a text table, but never names the sibling tool that produces one, so the agent must infer the alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'Use when' / 'Do not use when' framing gives explicit inclusion and exclusion conditions, including the 'rows not rectangular' rejection case. The only gap is that the alternative for text tables is described by capability rather than by tool name.

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