Skip to main content
Glama
AnkiWeb MCP Server
by jklnr

ankiweb_add_notes_batch

Add multiple flashcard notes to an AnkiWeb deck in one batch, including fields, tags, and optional per-note notetypes, so you can create many cards in a single call.

Instructions

Add multiple flashcard notes to AnkiWeb in a single batch.

Each item in notes should contain {"fields": {"Front": "...", "Back": "..."}, "tags": [...]} (and optionally "notetype" to override the batch default for a specific note).

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

Input Schema

NameRequiredDescriptionDefault
deckYes
notesYes
notetypeNoBasic
create_deck_if_missingNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the agent knows this writes and is not safe to retry blindly. The description adds useful payload structure and the per-note notetype override, but says nothing about partial failures in a batch, duplicate creation, or auth requirements — meaningful gaps for a non-idempotent write.

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?

Two sentences, front-loaded with the action, followed by a compact inline JSON example of the item payload. Every sentence earns its place; only the trailing parenthetical is slightly awkwardly placed.

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?

An output schema exists, so return values need no explanation, and the item payload shape is covered. For a non-idempotent batch-write tool, though, the description omits what happens on partial failure and whether a deck must exist, which leaves the definition short of complete.

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% across 4 parameters, so the description carries the burden and does explain the most complex one: the shape of each `notes` item (fields, tags, optional notetype override). However, `deck`, the batch-level `notetype` default, and `create_deck_if_missing` remain undocumented in both the schema and the description.

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 states a specific verb and resource ("Add multiple flashcard notes to AnkiWeb") and the scope word "batch" implicitly separates it from the singular ankiweb_add_note sibling. It stops short of naming the single-note alternative, so an agent must infer that distinction from the word "batch" alone.

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 context is only implied: "in a single batch" suggests using this over the singular add tool when several notes are involved, but there is no explicit when-to-use or when-not-to-use statement. No prerequisites such as authentication state are mentioned despite ankiweb_login/auth_status siblings existing.

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