Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

remove-native-tags

Removes specified native tags from one exact note while preserving unrelated tags, then returns the verified remaining tags and new revision.

Instructions

Use when: removing specified native tags from one exact note. Returns: verified remaining tags and new revision. Do not use when: deleting a global tag definition or changing Smart Folder rules. Safety: preserves unrelated tags and native objects and never retries an uncertain mutation.

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": "remove-native-tags"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
tagsYes
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.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, so the description carries the real burden and does so: it discloses that unrelated tags and native objects are preserved and that the mutation is never retried when the outcome is uncertain. It also notes the verified remaining tags plus new revision returned. What it does not explain is the concurrency contract behind expectedContentHash (i.e., what happens on hash mismatch), which is the main behavioral unknown for a mutation.

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 clauses (Use when / Returns / Do not use when / Safety) in roughly four sentences, each earning its place. The positive condition is front-loaded and the exclusions follow immediately.

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-ish mutation with an output schema available, the definition covers selection criteria, safety guarantees, and mutation semantics well enough to call it correctly once the note is in hand. The gap is the missing explanation of how to obtain and use expectedContentHash, which is required for every call.

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 only 25% — only scopeText is documented — so the description needs to compensate and mostly does not. 'One exact note' hints at the id parameter and 'tags' is named, but the required expectedContentHash (a sha256 pattern) and the accepted id formats are never explained, leaving an agent to infer the pre-read requirement.

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 ('removing specified native tags from one exact note') with an explicit scope limit ('one exact note'), which separates it from a global tag-definition operation. The 'Do not use when' line further sharpens the boundary against delete-folder/global-tag style siblings.

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' condition and an explicit 'Do not use when' with two named alternatives (deleting a global tag definition, changing Smart Folder rules). An agent can decide between this and adjacent mutation tools without opening another schema.

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