Skip to main content
Glama
debnath-d

Anki Model Context Protocol (MCP) Server

by debnath-d

delete_deck

Delete an Anki deck and all its cards by providing the deck ID or name. Removes the entire deck and its contents in a single operation.

Instructions

Delete a deck and all cards contained within it by deck ID or deck name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deck_idNo
deck_nameNo
output_fileNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It explicitly states that the deck and all cards are deleted, which is a destructive cascade – a critical piece of information. However, it does not mention whether the deletion is permanent or if there is any kind of confirmation or restore mechanism, but the core destructive behavior is transparent.

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

Conciseness5/5

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

The description is a single, efficient sentence with no filler. It front-loads the action and resource, then immediately states the identifier options. Every word earns its place.

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?

Although an output schema exists (so return values are covered), the description is incomplete for a destructive tool with three optional parameters. It fails to explain output_file, the cardinality requirement (one of deck_id/deck_name), and any potential error conditions or restrictions. An agent lacks sufficient information to call this tool safely and correctly.

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 explain the parameters. It mentions 'by deck ID or deck name' but does not clarify that exactly one should be provided, nor does it address the output_file parameter at all. The purpose of output_file is completely unexplained, leaving significant ambiguity for an agent deciding how to invoke the tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the specific action 'Delete' on the resource 'deck' and explicitly notes the cascade to 'all cards contained within it.' This clearly distinguishes it from siblings like rename_deck or export_deck by indicating removal rather than modification or export.

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 tool versus alternatives such as delete_notes or suspend_cards. It does not mention any conditions, such as whether the deck must be empty or if deletion is appropriate versus temporary suspension. No preconditions or exclusions are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/debnath-d/anki-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server