Skip to main content
Glama
anki-connect-mcp
by SolarianGG

notes.validateMany

notes_validateMany
Read-only

Validates multiple Anki notes independently without side effects, helping you detect invalid note data before creating or updating cards.

Instructions

Validate each note independently without side effects.

Anki-Connect method notes.validateMany. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, staleSession.

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": {
      "notes": "<notes>"
    },
    "name": "notes_validateMany"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesYesNotes to check, each shaped like the `notes_create` arguments.
sessionNoOptional. Collection session ID: the `session` field returned by `collection_get`. Usually omit it — the server then uses the session current at the time of the call. Pass it to make the call fail with `staleSession` instead of acting on a different profile/collection than the one your IDs, cursors and tokens came from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered; the description goes beyond that by adding scope, completion state, absence of undo, and an enumeration of the failure modes an agent must handle (collectionUnavailable, staleSession, invalidParams, internalError). The word 'independently' usefully discloses per-note isolation of results, a behavior not visible in the annotations.

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?

The lead sentence carries the essential semantics and is front-loaded; the metadata lines are terse and scannable. A few clauses are filler — 'Completion: completed' and 'Undo: none' add little for a read-only validator — but nothing is verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Scope, effect, error surface, and session semantics are all covered, which is strong for a two-parameter tool. What is missing is what 'validate' actually checks (field/note-type conformance, duplicates, empty questions) and, since there is no output schema, any hint of the return shape — an agent cannot tell what a validation result looks like. That is a meaningful gap for a tool whose entire value is its verdict.

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 coverage is 100%, and the schema itself carries the guidance ('Notes to check, each shaped like the `notes_create` arguments') plus the full staleSession explanation for `session`. The description adds nothing about the shape of each note entry, the duplicates/scope options, or rejectEmptyQuestions, so it sits at the baseline where the schema does the work.

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 and resource ('Validate each note') plus a key qualifier ('independently without side effects'), so an agent knows this is a batch, non-mutating check. It stops short of naming the singular sibling `notes_validate` or `notes_findEmpty`, so the boundary between the single- and multi-note variants is left implicit.

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?

It states scope (collection) and effect (read), which implies this is a pre-flight check rather than a data-changing step, and 'independently' hints that one failing note does not abort the rest. However, there is no explicit when-to-use or when-to-use-something-else guidance against `notes_validate`, `notes_getMany`, or `notes_findEmpty`, leaving the choice to inference.

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