Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

add-native-tags

Add real clickable Apple Notes tags to a freshly read note after verifying its ID and content hash, ensuring safe native tag updates without relying on textual hashtags.

Instructions

Use when: adding real clickable Apple Notes tags to one exact, freshly read note. Returns: verified native tags, additions, and the post-write content hash. Do not use when: textual #hashtags are sufficient or the note cannot be selected uniquely by its existing title and scope text. Safety: requires exact ID, fresh revision, and a distinctive existing scope phrase; verifies original text, links, and native objects after the Shortcut runs and never retries automatically.

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>",
      "tags": "<tags>"
    },
    "name": "add-native-tags"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
tagsYes
scopeTextYes
expectedContentHashYes

Output Schema

NameRequiredDescriptionDefault
okNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.16.11

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses preconditions (exact ID, fresh revision, distinctive scope phrase), post-write verification of original text, links, and native objects, and an explicit 'never retries automatically' policy. These are exactly the mutation-safety traits an agent cannot infer from the 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?

The labelled structure (Use when / Returns / Do not use when / Safety) front-loads the decision-relevant information, and every sentence carries a distinct constraint or behavior. There is no restatement of the name and no filler.

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?

For a destructive native mutation with four required parameters, the definition covers preconditions, verification, and retry policy, and an output schema exists so return values need little prose. It stops short of describing failure modes (partial writes, what happens if verification fails) or the automation/Shortcut permission requirements.

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?

Schema description coverage is 0%, so the description must compensate, and it partially does by mapping its preconditions onto the parameters (exact ID, fresh revision, distinctive scope phrase). However, it never explains the accepted ID formats, the sha256 hash format, the 12-character minimum for scopeText, or the tag list constraints, so the agent still has to read the raw schema to call it correctly.

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 ('adding real clickable Apple Notes tags') and immediately separates it from the weaker alternative ('textual #hashtags'), so an agent can distinguish this from sibling tools like remove-native-tags or replace-native-tag without opening a 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 explicit 'Use when' and 'Do not use when' clauses with concrete disqualifying conditions (hashtags are sufficient, or the note cannot be uniquely selected by title plus scope text). Both the positive and negative routing conditions are stated rather than implied.

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