Skip to main content
Glama

Edit note tags

edit-note-tags
DestructiveIdempotent

Add or remove selected tags on existing Anki notes while preserving all other tags, so you can update specific labels without replacing complete tag lists.

Instructions

Adds and removes selected tags on existing notes without replacing their complete tag lists.

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": {
      "noteIds": "<noteIds>"
    },
    "name": "edit-note-tags"
  }
}

Input Schema

NameRequiredDescriptionDefault
addNoTags to add while preserving every other existing tag
removeNoTags to remove while preserving every other existing tag
noteIdsYesOne to 100 Anki note IDs

Output Schema

NameRequiredDescriptionDefault
appliedYes
changesYes
missingNoteIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the operation is incremental and additive/removal-only, leaving all other tags intact, which tells the agent it need not read back the current tag list nor fear clobbering unrelated tags.

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?

A single sentence that front-loads the verb pair and ends with the key constraint. No filler, no restatement of the title.

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?

With an output schema present and full parameter documentation, the description need not explain return values, and it correctly covers the non-destructive-scope semantics. Slightly incomplete for a destructive mutation in that it does not say what happens when an added tag already exists, when a removed tag is absent, or whether the tag registry is affected.

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 100% and the add/remove/noteIds fields already carry explanatory text ('Tags to add while preserving every other existing tag', 'One to 100 Anki note IDs'), including limits and patterns. The description adds no syntax, batching or conflict-resolution detail beyond that, so baseline 3 applies.

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?

States a specific verb pair (adds and removes) on a specific resource (tags on existing notes) and adds the differentiating clause 'without replacing their complete tag lists', which separates it from the tag-replacement sibling. An agent can pick this out without opening the schema.

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

Usage Guidelines3/5

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

The phrase 'without replacing their complete tag lists' implies the alternative exists but never names it (e.g. replace-note-tag), so the agent must infer which tool to choose for full-list replacement. No explicit when-to-use or when-not-to-use statement, and no mention of how removed-but-now-unused tags are later handled (delete-unused-tags).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.