Skip to main content
Glama
Anki MCP Server

Anki MCP Server

by stefanwille

Create Cards

create_cards

Add basic flashcards to a specified Anki deck and automatically skip duplicates, returning a null note ID for duplicate entries.

Instructions

Add Basic note(s) to a deck. Duplicates skipped (null noteId in results).

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_name": "<deck_name>",
      "cards": "<cards>"
    },
    "name": "create_cards"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardsYes
deck_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.1.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / cards / items / additionalProperties
      Removed value: -false
  2. First observedv2.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely useful trait: duplicates are skipped and surfaced as a null noteId in the results. It leaves out other behavior an agent needs, including what happens on partial failure across a batch, whether deck_name must resolve to an existing deck, and any auth or rate-limit constraints.

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 tight sentences with the core action front-loaded and the dedup caveat immediately after. Nothing is padded, though 'null noteId in results' is terse enough to be slightly cryptic without a stated result shape.

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

Completeness2/5

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

No annotations and no output schema mean the description is the only source of behavioral and return-value information, and it covers only dedup. For a batch-write tool whose item structure is undocumented, the definition omits deck prerequisites, the front/back mapping, and partial-success behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it largely does not. It gestures at a deck and at notes but never explains that 'cards' is an array of objects requiring 'front' and 'back' strings, nor what deck_name matching semantics are.

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?

States a specific verb and resource: 'Add Basic note(s) to a deck', which is distinguishable from siblings such as create_deck, update_card and list_cards. Minor friction in that the tool is named create_cards but the description speaks of 'notes', leaving the agent to infer that a Basic note equals a card.

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

Usage Guidelines2/5

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

No when-to-use guidance and no alternatives named; the agent gets no help choosing between this and update_card or create_deck. It also never states prerequisites such as whether the target deck must already exist or whether a missing deck is created implicitly.

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