Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

append-native

Append formatted HTML, Markdown, or plaintext to an existing native Apple Note while preserving its ID and body. Use a scope phrase plus current revision to target the note safely without replacement.

Instructions

Use when: appending formatted content to a native-object note without replacing its body. Returns: exact-ID preservation and appended-content readback. Do not use when: the existing note can be safely handled by append-to-note or the scope phrase is ambiguous. Safety: requires a fresh revision and unique existing scope phrase of plain words; avoid punctuation, hashtags, and paths because Notes search may not resolve them literally. Supports bounded plaintext, semantic HTML, and Markdown without external fetching or automatic retries. HTML subset: Native append accepts , with href on and a font-size style on as the only attributes; a native table is refused here — use create-table; everything else needs update-note.

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>",
      "content": "<content>"
    },
    "name": "append-native"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
formatNoplaintext
contentYes
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.7/5.0
Behavior5/5

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

Annotations supply only readOnlyHint=false, so the description carries the real burden and does: it discloses a concurrency requirement ('requires a fresh revision'), a searchability constraint on scopeText, exact-ID preservation, no external fetching, and no automatic retries. It also enumerates the accepted HTML element/attribute whitelist and states that native tables are refused with a redirect to create-table, which prevents a predictable failure mode.

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 / HTML subset) front-load the decision-relevant information, and every sentence is operational. The long element whitelist is dense but it is a hard input constraint, not filler.

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 four-required-parameter mutation with an output schema, the description covers the decision boundary, the preconditions (fresh revision, unique resolvable scope phrase), the content-format contract, and where to go when the request falls outside the subset. Return values are already covered by the output schema, so nothing material 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 description coverage is only 20% (just scopeText), so the description must compensate and largely does: it explains that expectedContentHash is a freshness/revision guard, restates scopeText's plain-word constraint and why punctuation/hashtags/paths break Notes search, and defines the content formats (plaintext, HTML, Markdown) with the permitted HTML subset and the 'bounded plaintext' size expectation. It adds nothing about the id parameter's accepted forms, which is the remaining gap.

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 opening line gives a specific verb plus resource plus the defining constraint: 'appending formatted content to a native-object note without replacing its body.' That 'without replacing its body' clause is exactly what separates it from update-note, and the 'Do not use when' line names append-to-note and scope ambiguity explicitly, so an agent can route correctly without consulting a sibling schema.

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?

Explicit when-to-use ('appending formatted content... without replacing its body') and when-not ('the existing note can be safely handled by append-to-note or the scope phrase is ambiguous'), plus in-body routing for two other cases: tables go to create-table, anything outside the HTML subset goes to update-note. The only softness is 'can be safely handled by append-to-note,' which does not state the concrete criterion (native-object vs. other note types) an agent would need to decide.

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