Skip to main content
Glama

Find empty notes

find-empty-notes
Read-onlyIdempotent

Scan Anki notes with no cards, empty fields, or empty questions; returns paged candidates for review and never deletes data.

Instructions

Read-only AnkiConnect v1 scan for Notes with no Cards, empty fields, or empty questions. Returns one page of candidates for review. This tool never deletes anything.

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": {
      "criterion": "<criterion>"
    },
    "name": "find-empty-notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum candidates per page. This does not limit the initial scan.
queryNoOptional native Anki search to restrict the scan, e.g. tag:inbox. An empty query scans all Notes.
cursorNoReuse nextCursor with the same criterion, query, and limit.
criterionYesallFieldsEmpty checks all fields using Anki's HTML-aware emptiness; noCards finds Notes with no Cards; allQuestionsEmpty finds Notes whose possible Card questions all render empty in Anki.

Output Schema

NameRequiredDescriptionDefault
notesYes
queryYes
hasMoreYes
returnedYes
criterionYes
nextCursorYes
missingNoteIdsYesMatching Note IDs that could not be found when loading this page's details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint=false, and idempotentHint, so 'read-only' and 'never deletes anything' largely restate structured data. The one genuinely additive behavioral detail is that results are paged ('Returns one page of candidates'), though an output schema exists that could carry that. No mention of scan cost or latency for what is described as a full-collection operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the operation and scope, with no filler. The one redundancy is the double safety assurance ('Read-only' followed by 'never deletes anything'), which duplicates both itself and the annotations.

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 fully documented parameters, a complete annotation set, and an output schema, the description only needs to establish purpose and safety posture, which it does. The remaining gap is guidance on choosing this over sibling search tools and any note that the initial scan is not bounded by limit.

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 every parameter, including the criterion enum, is documented in the schema itself. The description mentions the criteria conceptually but adds no new meaning, syntax, or interaction detail (e.g. how query and criterion combine) beyond the schema. Baseline 3 applies.

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?

The description gives a specific verb (scan/find) and a precise resource: Notes with no Cards, empty fields, or empty questions. It even enumerates the three criteria, which maps directly onto the enum. It stops short of naming how it differs from siblings like search-notes or find-media-references, so it is clear but not fully differentiated.

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?

Usage is only implied: the phrase 'candidates for review' suggests this feeds a manual cleanup workflow, and 'one page' implies iterative paging. There is no explicit statement of when to reach for this tool instead of search-notes or find-media-references, and no stated preconditions or cost warnings about the full scan.

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