Skip to main content
Glama
Anki MCP Server

Anki MCP Server

by stefanwille

Rename Deck

rename_deck

Renames an Anki deck from its old name to a new name, keeping flashcard decks accurately labeled.

Instructions

Rename a deck in Anki

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": {
      "old_name": "<old_name>",
      "new_name": "<new_name>"
    },
    "name": "rename_deck"
  }
}

Input Schema

NameRequiredDescriptionDefault
new_nameYes
old_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.1.2
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv2.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not lift it. It says nothing about whether the old deck must exist, what happens if new_name collides with an existing deck (merge, overwrite, or error), whether cards are moved along with the rename, or whether the change is reversible.

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

Conciseness3/5

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

The single sentence is perfectly front-loaded with zero filler, but for a mutation tool with two undocumented parameters it is under-specified rather than concise. Brevity here costs information rather than saving it.

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?

A destructive-ish mutation with no annotations, no output schema, and 0% parameter coverage requires the description to do real work, and it supplies only the verb and resource. An agent has no information on error conditions, collision semantics, or return value.

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 does not — neither old_name nor new_name is mentioned. The parameter names are largely self-explanatory, which keeps this from a 1, but details such as whether names are path-like ("Parent::Child") and how case or whitespace are handled are absent.

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?

"Rename a deck" states a specific verb plus resource, which is enough to distinguish it from the sibling mutation tools create_deck and delete_deck at a glance. It stops short of a 5 because it never explicitly names those siblings or the scope (whole deck only, Anki-specific).

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?

There is no guidance on when to use this versus create_deck (new deck) or update_card, and no stated prerequisites such as the deck having to exist first. The agent is left to infer everything from the tool name alone.

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